View Single Post
Old 05-20-2013, 07:31 PM   #15
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 44,959
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Ripplinger View Post
If this is the same bug I keep seeing constantly, it's not just long paragraphs. I've seen separate short paragraphs kicked to the next page for just 3 lines, then continue on to another page (and there's nothing in the css to cause this, no different style from the rest of the text such as a forced page break or a space after the last line).

I also see a lot of ending paragraphs in a chapter for only 3 lines that gets kicked to the next page, when the previous page has 3-4 lines left to fit it in easily. And again, there's nothing special in the code such as a forced blank line after the last line or anything different.

This happens frequently in every book, it's not a rare occurrence. And yes, it's very annoying and needs to be fixed.
You have to not only look at the css in the ebook itself but to understand that there are many css elements that have default values. In your case, it looks like you are running into widows: 3;, orphans: 3. This means that a paragraph that would leave 2 or fewer lines on at the top or bottom of a page will be forced to the next page leaving a blank space at the bottom of the previous page. Using Sigil or Calibre to add a widows: 0; and orphans: 0; to the stylesheet seems to cure most of those partial sentences.

The first issue you mention where there is an unexpected page break also seems to be font sensitive. Change the font you are using the read the ebook and (if you're lucky), the page display will look fine. I've never been certain but I think this is related to some of the other font handling oddities in the Kobo software leading to such issues as the very strict font naming convention both for sideloaded fonts and embedded fonts.

Regards,
David
DNSB is offline   Reply With Quote