Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Fonts #7

Open
fralonra opened this issue Dec 3, 2023 · 0 comments
Open

Missing Fonts #7

fralonra opened this issue Dec 3, 2023 · 0 comments

Comments

@fralonra
Copy link
Owner

fralonra commented Dec 3, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant