Set a font in CSS so that it doesn't change from the Aa menu?
I have an epub that includes captions defined with sans-serif font. When I load it into the Kobo (transformed into kepub by Calibre), if I choose "Publisher default", the text looks in serif style (I've read that the default font is Georgia), and the captions look sans-serif, as defined.
However when I select any other font (I prefer serif) in the "Aa" menu of the Kobo, it is applied to all the text and also to the captions, even though they are defined as sans-serif.
I have tried embedding a sans-serif font (Aileron) and defining the captions with it, but the same thing still happens.
Is there any way to set a font (embedded or not) in an epub so that the ereader will use that one and not another one even though I select another font in the "Aa" menu?
I have found that I do not have this problem with the epub format, i.e. I can change the font in the "Aa" menu and the texts defined as sans-serif are still displayed in sans-serif. But I would prefer to have a solution for kepub.
Last edited by repilo; 03-25-2024 at 08:35 AM.
|