View Single Post
Old 06-18-2020, 06:45 PM   #67
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,257
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by mirage View Post
On a different rendering engine note, I noticed that on my just arrived Libra H2O, an epub of a particular book ignores my line spacing wishes on the device. But if I convert it to a kepub.epub, the line spacing I'm looking for is honored. I checked and see that the css for this book has line-height set in all the p classes. So the epub rendering engine appears not to overrule the css in that case, where the kepub engine does. Can anyone confirm this?
Yes. Both the epub (Adobe) and kepub (Access) rendering engines use override CSS statements built into the firmware for when you use the [Aa] sliders, but they're not the same.

The kepub one is more aggressive in general than the epub one.
Specifically for line-height:
epub: body {line-height: %1 !important;}
kepub: body, p { line-height: %1 !important; }
There are also epub/kepub differences for overriding font-family and text-align (more info available if you want it).

If these differences are going to cause you a problem (and you want to go down this track) there are various kobopatches available to tweak the overrides to your preferences.

Last edited by jackie_w; 06-18-2020 at 06:48 PM.
jackie_w is offline   Reply With Quote