mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-31 13:37:37 -06:00
With Show Font Names in English off (the default), the Character and Properties font menus draw each family's own-language name in the interface font. On Windows, Microsoft YaHei's Simplified Chinese family name is 微软雅黑, and the Han face of an English interface can lack 软. The app drew a missing-glyph box in its place, and the font search tests in the effectcraft-ui-egui it binary panicked with "No glyph for "软"". A row now draws its own-language name when the interface fonts have a glyph for each character, and its English family name otherwise. The row's hover text follows the same rule. Search still matches both names.