View Single Post
Old 11-25-2023, 05:30 PM   #1002
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,286
Karma: 16800000
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by zuyang View Post
I wonder if it's possible to change font display name when selecting font based on current system language or even content language.

For example, when I set the language to Chinese, the built-in fonts have their names in Chinese, while custom fonts are shown in English.
I doubt whether a patch can do this but you will need to wait for a reply from @geek1011 to be sure.

As far as I can tell, for custom fonts, the font display name in the drop-down menu is read from the font-family name stored inside the actual .ttf/.otf font file. I base this comment on observation rather than a deep knowledge of the code in the firmware.

You could try opening one of your fonts in a font editor (e.g. FontForge) to edit the name to something you like better. However, a font file can contain multiple occurrences of font-family name so it's anyone's guess which of those Kobo actually uses. You would need to experiment.
jackie_w is offline   Reply With Quote