Quote:
Originally Posted by rashkae
This is not a bug, but a feature.
Overwriting the default body attributes is the trick that allows Kobo to use User selectable fonts. (You'll note that you can't do that on the Sony devices.) You can work around it very easily by putting the font-family attribute in the class you assign for the body, rather than right in the body attribute.
(By the way, Calibre does this for you if you do a a conversion of the sample you provided.)
|
No, it's a bug. People do not program ePub to fit the Kobo. So what happens is that the embedded font(s) either do not display or only partially display. Publishers who do embed fonts (most of the time) put the font-family in the body and this means what's embedded doesn't display. I know you can get embedded fonts to work. But that's a kludge and not correct to have to do instead of using the body CSS entry. If Kobo cannot come up with a better way of doing things, then they should not do them when it breaks things that never should be broken in the first place.
Calibre takes the @font in the CSS and botches it by putting it in every XML. That's not good at all. Using Calibre to go ePub > ePub can cause it's own set of issues. Not recommended at all.