sumatrapdf icon indicating copy to clipboard operation
sumatrapdf copied to clipboard

'eating' space, image and data between pages in EPUB

Open Aliaksandr3by opened this issue 4 years ago • 6 comments

'eating' space, image and data between pages

image image

Aliaksandr3by avatar Nov 04 '21 03:11 Aliaksandr3by

A sample file is always required for investigation as to why one file has specific behaviour even if observed in several files as it may not be one common cause (other than MuPDF or SumatraPDF)

GitHubRulesOK avatar Nov 04 '21 12:11 GitHubRulesOK

[Core Java, Volume I 12 Ed.zip]

Aliaksandr3by avatar Nov 04 '21 16:11 Aliaksandr3by

I test the problem on Calibri (2nd pic) and Sumantra (1st pic)

Aliaksandr3by avatar Nov 04 '21 16:11 Aliaksandr3by

I appears to be a MuPDF issue as in 1.18 it is not handled well the pages are indicated as A5 but the shape is taller thus number of pages seems wrong in its interpretation. here are legacy and current SumatraPDF (Now using MuPDF) image

@kjk looks like some collateral damage affects bookmarks as a result ?

GitHubRulesOK avatar Nov 04 '21 16:11 GitHubRulesOK

One issue in mupdf epub renderer is that if an image is grater that the (arbitrary) page size, instead of being scaled down to fit, it gets clipped.

This file probably shows other issues related to epub renderer not fitting things into a fixed page size.

kjk avatar Nov 06 '21 05:11 kjk

@kjk Since image placement was recently improved this OP issue seems resolved here using a different web copy image is moved to next page (above link was removed) image

GitHubRulesOK avatar Jun 19 '22 22:06 GitHubRulesOK