View Single Post
Old 12-18-2012, 04:38 AM   #17
GoingDown
Zealot
GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.GoingDown is no ebook tyro.
 
Posts: 114
Karma: 1274
Join Date: Dec 2010
Location: Finland
Device: Kobo Touch
I found out interesting thing when installing "Averia GWF" font.

If the filenames were (as default) "AveriaGWF-Italic.ttf" etc. the italics did not work.

Then, I opened the font in fontforge, and checked the font family name, which is "Averia GWF" (with the space). Then, I modified all font file names in Kobo to be:

Averia GWF.ttf
Averia GWF-Italic.ttf
Averia GWF-Bold.ttf
Averia GWF-BoldItalic.ttf

And the italics started to work. So, it seems that the kobo uses font family name plus the -Italic or -Bold to select the different versions of the font.

Maybe the same thing could fix the internal fonts too, I need to test more.
GoingDown is offline   Reply With Quote