View Single Post
Old 09-02-2011, 09:25 PM   #100
rashkae
Wizard
rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.
 
rashkae's Avatar
 
Posts: 1,274
Karma: 5935030
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
Quote:
Originally Posted by JSWolf View Post
Can you bug someone at Kobo to fix the embedded font bug? The bug is that if you put the font-family in the body of the CSS, the embedded font does not display. This is a bug and many ePub that embeds a font family puts the font-family in the body to activate it. This is a serious bug that needs fix.
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.)
rashkae is offline   Reply With Quote