View Single Post
Old 10-12-2024, 10:30 AM   #7
Acopdegarrotix
Junior Member
Acopdegarrotix began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2013
Device: Kobo Glo HD, Kobo Sage
Quote:
Originally Posted by Aleron Ives View Post
I'm not sure this can be called a problem. If there isn't enough room to fit the image on the page, the image will get bumped to the next page. In the screenshot, there are six lines of text below the image, and the previous page has seven lines of text, so it would seem that WebKit wants no more than six lines of text at that font size in order to decide that the image will fit.

How many blank lines do you consider to be too many? You've set the image width to 100%, so you would probably need to allow the image to shrink if you want it to still appear on pages with more than six lines of text, i.e. you can't have both 100% width and also more than six lines of text on the page.
You're absolutely correct, of course. For epub2, both Calibre and Kobo push the image to the next page when they can't find room enough for it and leave a nice blank space behind.

For epub3, though, Calibre still pushes the image, but pulls up text from after the image to fill up the blank, whereas Kobo does not. Of course, with shrunken images the issue is minimized because it occurs less frequently, but it's not completely eliminated.
Attached Thumbnails
Click image for larger version

Name:	epub3 image at 100%.png
Views:	127
Size:	359.1 KB
ID:	211370   Click image for larger version

Name:	epub2 image at 100%.png
Views:	130
Size:	292.2 KB
ID:	211371   Click image for larger version

Name:	epub3 image at 50%.png
Views:	140
Size:	305.0 KB
ID:	211372   Click image for larger version

Name:	epub2 image at 50%.png
Views:	130
Size:	318.9 KB
ID:	211373   Click image for larger version

Name:	Screen from Kobo - kepub epub3 image at 50%.png
Views:	127
Size:	765.0 KB
ID:	211374  
Acopdegarrotix is offline   Reply With Quote