Thread: Touch Kobo Touch Firmware 2.0
View Single Post
Old 08-09-2012, 12:08 PM   #817
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: 47,160
Karma: 169815798
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Mrs_Often View Post
Back to Bugs of 2.0.x (2.0.2 in my case): earlier in this thread someone mentioned strange paragraph layouts... I too see a lot of "avoiding" of orphaned lines at the bottom of the page. If a new paragraph starts a few lines above the end of the page, the whole paragraph gets moved to the next page. No thanks! I prefer a full page, it's less messy and it doesn't confuse me thinking the chapter is already over...
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;
}
DNSB is offline   Reply With Quote