View Single Post
Old 11-12-2019, 09:53 AM   #31
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by deback
The way to fix the line-height is to open the book in the Editor, double-click on the stylesheet.css file (at the left below the *.html files), and then change the lines that start with line-height to 1.2 (1.2em will work, too, but you only need 1.2).
Quote:
This is just wrong. To fix the line-height is to remove it. There should be no line-height unless it;s an ePub anf you need a line-height of 0 for those pesky large first letters of a chapter/section break. Kindles don't respect line heights less then 1.2em and on Kobo Readers, you can set the line height so you don't want any so you can set what the reader wants for a line height.
It's not wrong; it's just one possible quick solution. Maybe I didn't word my comment (in the quote above) good enough.

Actually, what I do is have rules in the Transform section to change any line-heights greater than 1.2 or less than 1.2 to 1.2. Most ePub files have several line-height lines in the *.css file, and many have the line-heights set to more than 1.2, which is very annoying when reading. I could remove them all, sure, but I just change them all to 1.2. Having those lines in the *.css file will work, whether they should be there or not, but only the body class really needs to have the "line height: 1.2" line.
deback is offline   Reply With Quote