Quote:
Originally Posted by repilo
Thanks for the answers. I would have liked, using kepub, to be able to change the general font when I get tired of one and want to try another, but always keeping the captions with a sans serif font.
Another example would be a book about ancient Rome, with chapter titles and drop caps set with some ancient font (which I don't want to change) and the general text with a serif that I would be able to change when I feel like it.
That would be nice, Kobo, if you're listening.
|
Kobo probably won't change their default override CSS for kepubs because it would upset as many users as it would please.
As soon as you choose anything other than 'Publisher Default' from the [Aa] menu then this sledgehammer override CSS is applied to your kepub:
Code:
* { font-family: %1 !important;}
where your selection from the font menu replaces the %1 placeholder. It's not possible to be more heavy-handed than this.
If you want a lighter touch with the override CSS you have 2 choices:
- Use the patch named Un-Force user font-family in KePubs in the kobopatch utility where you can patch your Kobo's firmware to use one of the following less severe options rather than the one above:
Code:
div,p{font-family:%1!important; }
body,p{font-family:%1!important;}
body{font-family:%1 !important; }
- Use epub instead of kepub, where the override will be at the body, p levels, i.e. like the middle kobopatch option above
@Sirtel, I don't know why the patch isn't working for you, it works fine for me. If you want to pursue it, feel free to PM me with a link to a book it doesn't work for.