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.
|