Thread: Touch Kobo Touch Firmware 2.0
View Single Post
Old 08-10-2012, 04:48 PM   #826
DrNefario
Wizard
DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.DrNefario ought to be getting tired of karma fortunes by now.
 
DrNefario's Avatar
 
Posts: 2,218
Karma: 12029046
Join Date: Jan 2012
Location: UK
Device: Kindle, Kobo Touch, Nook SimpleTouch
Quote:
Originally Posted by DNSB View Post
The default value for the widows and orphans is 2 so if a paragraph would leave 1 or 2 lines at the bottom of a page (orphans) or 1 or two lines at the top of the next page (widows), the entire paragraph will be moved to the next page. I've set this to 1/1 in my default stylesheet used when I edit epubs which reduces the number of times this happens. I've never tried using 0 for both which should in theory disable widow and orphan checking. The sample settings I use for chapters ( <body class="chapter"> ) is included below. Disregard the .webkit lines at they used when reading epubs on an Apple idevice. Also this only works for epub files, Kobo's kepub is a rather different kettle of fish.


.chapter {
display: block;
font-size: 1em;
margin-bottom: 5pt;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 5pt;
padding-left: 0;
padding-right: 0;
text-align: left;
word-wrap: normal;
widows: 1;
orphans: 1;
-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;
-webkit-hyphens: none;
}
When I was having problems with widows and orphans earlier in the thread, it seemed to be completely malfunctioning with the Rockwell font. I was getting huge empty spaces at the bottom of the page. A third of a page, or more, in some cases. It's been fine(ish - I would prefer to have a full page always) since I stopped using Rockwell.
DrNefario is offline   Reply With Quote