View Single Post
Old 04-12-2015, 05:49 PM   #42
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@Bald Eagle,

Just to fool you, neither of the above Try something like these instead:
Code:
@font-face {font-family: "Charis"; font-weight: normal; font-style: normal; src: url("res:///fonts/normal/Charis SIL Compact")}
@font-face {font-family: "Charis"; font-weight: bold; font-style: normal; src: url("res:///fonts/bold/Charis SIL Compact")}
@font-face {font-family: "Charis"; font-weight: normal; font-style: italic; src: url("res:///fonts/italic/Charis SIL Compact")}
@font-face {font-family: "Charis"; font-weight: bold; font-style: italic; src: url("res:///fonts/bolditalic/Charis SIL Compact")}
where the blue label matches whatever you've put in your css class and the red name matches exactly the internal filename of the font family.

When you add new fonts to user memory /fonts (i.e. /mnt/onboard/fonts) and then reboot, the Kobo "does stuff" with the contents of the fonts directory and holds the data somewhere else internally.
jackie_w is offline   Reply With Quote