Quote:
Originally Posted by mirage
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.