View Single Post
Old 04-13-2015, 02:55 AM   #47
Bald Eagle
Connoisseur
Bald Eagle ought to be getting tired of karma fortunes by now.Bald Eagle ought to be getting tired of karma fortunes by now.Bald Eagle ought to be getting tired of karma fortunes by now.Bald Eagle ought to be getting tired of karma fortunes by now.Bald Eagle ought to be getting tired of karma fortunes by now.Bald Eagle ought to be getting tired of karma fortunes by now.Bald Eagle ought to be getting tired of karma fortunes by now.Bald Eagle ought to be getting tired of karma fortunes by now.Bald Eagle ought to be getting tired of karma fortunes by now.Bald Eagle ought to be getting tired of karma fortunes by now.Bald Eagle ought to be getting tired of karma fortunes by now.
 
Bald Eagle's Avatar
 
Posts: 93
Karma: 1228255
Join Date: May 2009
Device: Aura H2O, Aura One, Libra Colour
Quote:
Originally Posted by jackie_w View Post
@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.
Aha! As soon as I started doing it right it worked right away! Thank you for pointing it out for me. I wondered why people would sort their fonts by weight, but apparently never enough to 'get it'.
Bald Eagle is offline   Reply With Quote