View Single Post
Old 06-23-2013, 03:07 AM   #483
dmapr
Evangelist
dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.
 
Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
Quote:
Originally Posted by DNSB View Post
The number of blank lines at the bottom of the page can be reduced by adding

Code:
widows:  0;
orphans: 0;
to the stylesheet for the ebook. Either Sigil or Calibre can do this. Without this setting, the Adobe ARM renderer will use a default of 2 (unless you get a version that been set for 3) for both those values. Without these settings, a paragraph that would leave 1 or 2 lines at the bottom of a page (orphans) would be moved to the next page leaving blank lines and a paragraph that would leave 1 or 2 lines at the start of the next page (widows) will have enough lines moved to the next page to leave 3 or more at the top of the page, again leaving blank lines at the bottom of the previous page.

See the following links for a bit more information:

MobileRead: https://www.mobileread.com/forums/sho...d.php?t=133042

Orphans: http://xhtml.com/en/css/reference/orphans/

Widows: http://xhtml.com/en/css/reference/widows/

Regards,
David
I don't know if the following is a problem with widows/orphans or some other rendering issue, but clearly there's a problem. The second shot is with a slightly smaller font than the first, showing that there's a decent chunk of the next paragraph that could've been rendered on the mostly blank page.
Attached Thumbnails
Click image for larger version

Name:	kobo 1.jpg
Views:	434
Size:	1.20 MB
ID:	107240   Click image for larger version

Name:	kobo 2.jpg
Views:	412
Size:	1.39 MB
ID:	107241  
dmapr is offline   Reply With Quote