Missing Fonts
Opened this issue · 0 comments
fralonra commented
wgshadertoy
uses egui
as UI framework, which by default can only use a limited number of fonts. This leads to the need to load additional fonts in order to properly display text in certain languages (such as Chinese, Arabic, etc.) in a multilingual environment.
To solve this problem, the current solution adopted by wgshadertoy
is to pre-collect common fonts corresponding to the writing systems of various languages and load them at runtime. Since the font list cannot cover all fonts, it may cause characters to not display properly on some devices. If this happens, please provide feedback here, listing the language you use and the fonts available on your system. And a PR is always welcome.