View Single Post
Old 01-09-2015, 03:53 AM   #1144
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by davidfor View Post
Or leave it completely alone. Once the divs are in the book, then the patch should work. Or use the "Modify CSS" and the kobo_extra.css file to add them during the send should work.
That makes sense.

Quote:
If it is hard-coded, it should be identical to what Kobo is using. Adding the other two rules forces them on people who might not want them. And is that padding correct for all devices? Or just the H2O and HD?
Kobo doesn't use any padding. The firmware patch adds 0.2em by default, so it is proportional to the font size set by the slider, and should be independant of screen resolution.

0.2em is just what seems to work from the testing that has been done so far, it seems to be enough to prevent any cutoff of an italic f at font size 1em or a normal f at font size 2em, which should be good enough for most books, but there will probably be some situations where the cutoff still happens, such as a 2em italic f which might occur in a right-justified heading.
GeoffR is offline   Reply With Quote