-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Improve default fonts and support displaying all unicode characters (using go-text) #568
Comments
Roboto and Roboto Mono are now used as the default fonts, but we still need to support Noto fonts, likely through a separate fonts repository from which people can underscore import specific fonts. For dynamic translation, we will need to figure out a better approach, but that is beyond the scope of v2 (see #9). |
We also need to implement support for RTL and vertical text. |
I think it is possible to return fonts in the font repository by setting the body language, for example, when we set language="Chinese" after body instantiation, loading Chinese fonts is the default |
Roboto, Roboto Mono, and the Noto Sans fonts should be embedded into apps by default. Roboto and Roboto Mono look better than Go and Go Mono and are the default on Android, ChromeOS, and other Google products. Noto Sans supports many more characters than default fonts and will help resolve issues like goki/gi#484 and goki/girl#2. The one thing that needs to be figured out is a way to optimize and only embed the Noto fonts that are needed, as all of them for every script would take a lot of space.
The text was updated successfully, but these errors were encountered: