Quantcast
Channel: MobileRead Forums - Kobo Reader
Viewing all articles
Browse latest Browse all 11150

Glo Fonts "update" on boot

$
0
0
Hi all,

Apologies in advance if this has been raised before, I couldn't find anything on google.

I'm currently running 3.2.0 with this patch. My intention is to modify the font face used in the dictionary so it can display Vietnamese correctly. I'm partially successful but the solution is not as "clean" as I would like.

I was able to change the dictionary font to a Vietnamese-compatible Unicode font (Kobo Nickel for example). The problem is upon reboot, if I go straight to the dictionary (Extras > Dictionary) or look-up a word from a book, the font used in the dictionary appears to be Georgia still.

The only way for the dictionary to display Kobo Nickel correctly is to open a book, go to font-properties menu/popup [Aa] first. After that, Kobo Nickel would be used in the dictionary. This opening of the font-properties menu appears to "load" the font cache to make the fonts available to nickel. From my tests, this is true to both built-in fonts as well as external ones.

I'm investigating ways to automate this loading/refreshing of the font cache upon boot but don't know where to start. Any input is much appreciated.

:thanks:

Viewing all articles
Browse latest Browse all 11150

Trending Articles