View Single Post
Old 07-14-2014, 02:35 AM   #83
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303826
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Rev. Bob View Post
Is <br/> broken now? If not, it's very easy to control the number of lines per paragraph.
Guess what I thought of about 30 seconds after my last post? I've been constructing a test case with multiples of the following in it:

Code:
<p>Paragraph 1 - Line 1<br/>
Line 2<br/>
Line 3<br/>
Line 4</p>
With different numbers of lines per paragraph in different chapters. That way, I should be able to hit page breaks at each spot as I fiddle with the font size and page through the book.

Edit:

Attached* is the test case I created. From playing with it, the device looks to be using two for the widows and orphans. But, there is something wrong with it. It never got the orphans wrong. At no time did it leave a single line at the bottom of the screen. But, it it did put a single line on the next screen in few times.

I don't think it really proves anything. Other than the renderer isn't perfect. I'd also like to see a test without the use of br's. Not because they shouldn't be handled, but to really see how the renderer handles straight text.

Edit, again: * Well it is now.
Attached Files
File Type: epub Widow and Orphan test - davidfor.epub (5.8 KB, 163 views)

Last edited by davidfor; 07-14-2014 at 03:54 AM.
davidfor is offline   Reply With Quote