View Single Post
Old 04-14-2020, 05:08 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,986
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Widows are at the end (bottom of page), orphans are at the beginning (top of page).



Widows and orphans set the minimum number of lines that will appear at the top or bottom of a page. 1 says 1 line, 2 is a minimum of two lines, etc. And 0 is indeed undefined since widows and orphans are specified as positive integers though most renderers treat it as 1.

For those reading epubs, there is a patch for librmsdk.so.1.0.0 in the kobopatcher collection ( Disable orphans/widows avoidance: yes ) that disables widows/orphans (effectively forces to 1).
Widows and orphans set to 0 does work with RMSDK. I've used it before switching to 1.

I've seen widows and orphans set to 2 in the CSS. When I edit an ePub, I alsoways set windows and orphans to 1 in <body>

Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
In a printed book, you can fudge things so the page does not have such a gap at the bottom. But with a Reader, you can't do that and it doesn't look good. It does look much better without widows and orphans when most pages end in the same place.
JSWolf is offline   Reply With Quote