View Single Post
Old 09-28-2020, 04:16 PM   #30
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Mrs_Often View Post
Additionally, strangely, some pages seem to render 26 lines while others render 27. It doesn't seem to be a widow/orphan thing, because the page with 26 lines ends with a single line from a new paragraph... ?! Any ideas?
I meant to reply to this earlier. It's not just widows/orphans which can cause a variable number of lines per page. In addition I think widows/orphans are ignored in kepubs.

It will also happen if the book's CSS styling for its standard paragraph has a non-zero top margin (however small). Compare the vertical gap between
- lines 1 and 2 of the same paragraph
- the last line of one paragraph and the first line of the next paragraph

If they're different then the number of visible lines-per-page will be more on a page containing just one very long paragraph versus a page full of conversational dialogue with a lot of short paragraphs.

The first line of every page always starts in exactly the same place but the last line on each page is going to vary in the scenario I outlined above.

To compensate you might want to reduce the height even further in the Reduce new header/footer height patch. What values are you currently using and for which device?
jackie_w is offline   Reply With Quote