View Single Post
Old 01-30-2022, 03:02 AM   #5
Antioch
Connoisseur
Antioch began at the beginning.
 
Posts: 79
Karma: 10
Join Date: Jun 2011
Device: Nook STR, Kobo Aura H2O, Kobo Libra 2
Quote:
Originally Posted by Sirtel View Post
1. They're not mutually exclusive. I use both of them. ...
Quote:
Originally Posted by jackie_w View Post
... However, the version for 4.31.19086 works quite happily as-is in 4.30.xxxxx because nothing relevant changed between 4.30 and 4.31 for this particular patch. ...
Thank you both very much for that information.

@Jackie_w, is it possible to only enable kerning and not ligatures?

Quote:
Originally Posted by jackie_w View Post
I can't say I've ever experienced asymmetric left/right page margins.
Are you sure it's not related to a specific book which specifies unequal L/R margins in its body{...} CSS?
I don't think it's a problem with the CSS. Granted, I'm not very well versed with CSS, but from what I can see it looks like the left and right margins are always set to the same value in every tag I could find. Moreover, the l/r margins appear to be symmetric in the Calibre reader.

Maybe my eyes/brain are playing tricks on me! However, with 0 margin on the device it really does look like the rightmost 1 or 2 pixels are cut off. Perhaps the screen isn't centered. Is there a way to add 1 or 2 pixel margin-right to all kepubs?

Quote:
Originally Posted by jackie_w View Post
If you're using KoboTouchExtended to send your epubs to the Kobo as kepubs then you need to be aware that kepubs ignore all @page, widows, orphans CSS. You'll only see the effect of your kobo_extra.css (as posted above) for epubs which you used calibre to transfer as standard epubs, i.e. books sent using KoboTouchExtended with the box Enable Extended Kobo Features un-checked.
Also, thank you for the information regarding kobo_extra.css. I had been exclusively using epubs on my Aura H2O but with my new Libra 2 I'm trying to use kepubs and was unaware that the kepub reader didn't use those settings. However, the KTE driver seems to inject this CSS into the kepub it creates if the "modify css setting" is enabled - is this not true?

https://github.com/jgoguen/calibre-k...bitrary-styles
Quote:
... If you have created the kobo_extra.css file on your Kobo device already and you want to make use of this feature, you must copy kobo_extra.css to the calibre plugin directory.
Is there some other way (patch or otherwise) to replicate my kobo_extra.css settings in the kepub reader?
Code:
@page {margin: 8pt 0 0 0}
div, p {widows:1; orphans:1;}
Antioch is offline   Reply With Quote