Quote:
Originally Posted by speakingtohe
Could you tell me how I would go about modifying line height in a typical calibre converted epub?
I put line-height: 1.0; in the kobo_extra.css file and it is there but no effect on the epub. The line-height is appended, but not removed elsewhere.
|
The plugin doesn't remove all existing occurrences of line-height. It only does that for widows & orphans and @page.
If you know that your epubs have all been calibre-converted at some point then you
may be able to use kobo_extra.css to override the Kobo's own line-height setting on the font adjustment screen, but it will depend on how much each epub is riddled with other line-height settings.
Try adding something like
Code:
body.calibre, body.calibre1, body.calibre2, body.calibre3, body.calibre4, body.book, body.epub {
line-height: 1.0
}
to your kobo_extra.css file. If that isn't successful enough you could try adding
div, p to the selector list, i.e.
Code:
body.calibre, body.calibre1, body.calibre2, body.calibre3, body.calibre4, body.book, body.epub, div, p {
line-height: 1.0
}
and see if that 'catches' more of your epubs. But it may also change line-height settings you wish it hadn't.
Just be aware that if this
does work for any given epub, it is likely that the Kobo's own line spacing adjustment bar will no longer work for that epub -- but you may not care about that.