View Single Post
Old 08-05-2013, 01:59 PM   #20
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,402
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ibu View Post
What does that mean exactly please?
Where does the scala begins and where does it end? (1 to 4?)
Is it equal to the CSS value of line-height?
The scale starts at 1.3 which is the minimum (recommended seems to be 1.2 or 1.3) and ends at 3. This is looking at the Kobo eReader.conf file with the line spacing slider fully left and fully right.

Quote:
Originally Posted by ibu View Post
Hhmm. That different here as my few experiments showed me.

May be we can prove that together with a reference valid epub document without any embedded css?
Does anyone know a source of such an epub?
I found that interesting as well. I've attached two screenshots, one with the line spacing slider full right, the other with it full left. Just noticed that the Aa control panel does not show in the screen shot as I took two others to show the slider position. So now I have 4 identical screen shots.

The kepub-book.css file I used for this test had the following contents:

Code:
body {
   -webkit-hyphens: auto !important;
   line-height: 1.0 !important;
   widows:  0 !important;
   orphans:  0 !important;
   margin: 0 !important;
   padding: 0 !important;
   }
div {
   font-size: 1em !important;
   line-height: 1.0; !important;
   margin-bottom: 0.2em !important;
   padding: 0 !important;
   }
p {
   font-size: 1em !important;
   line-height: 1.0; !important;
   margin-bottom: 0.2em !important;
   padding: 0 !important;
   }
Regards,
David
Attached Thumbnails
Click image for larger version

Name:	full_left.png
Views:	248
Size:	239.4 KB
ID:	108955   Click image for larger version

Name:	full_right.png
Views:	220
Size:	239.4 KB
ID:	108956  
DNSB is offline   Reply With Quote