View Single Post
Old 07-21-2015, 05:35 AM   #8
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by GeoffR View Post
2. A slow but clean fix is to edit the stylesheet by hand and remove the line-height styles only from the classes used for paragraphs in the the main body of text. If the book was created/converted with Calibre you might also need to remove the line height from the .calibre class usually used for <body>. This fix is usually quite easy if you are editing the original epub, but it will be a lot more work if the book has had its stylesheet 'flattened' by Calibre.
This is the best way. I tried quite a few books and found one of mine where the line spacing adjustment did nothing. And it's exactly as already stated by others, the line-height style in my case was set to 150% in the stylesheet.css. I opened the book in Sigil and once I removed those few lines from the stylesheet, the line spacing worked perfectly and was adjustable from the reader as it should work.

The fix really isn't that difficult, there's usually just 2 or 3 styles that pertain to the main body of text, and those are the only ones you need to remove the line-height styles from.
Ripplinger is offline   Reply With Quote