Thread: Embedded fonts?
View Single Post
Old 12-28-2010, 03:17 PM   #58
elmago79
Member
elmago79 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2010
Device: PRS-300
Here's my guess. For the Kobo to be able to switch from serif to non-serif, it uses a css sheet that is located on /.kobo/adobe/pxf/userStyle.css, which says:

body {
font: serif;

}

Since this usersheet overrides the css in the book, if the font is declared the body, it is ignored. That being said, the existence of this Style sheet could be used for all kinds of neat stuff, including changing the fonts in all of the books if you place your fonts somewhere in the Kobo memory. I haven't tried any of these, but someone else might look into it.

My guess, however, is that anytime you change to serif or non-serif from the menu, this css sheet is rewritten. Or maybe it get's rewirtten at startup.
elmago79 is offline   Reply With Quote