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

[Editor] Try loading system Noto CJK font. #96850

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Sep 11, 2024

Fixes #96838

We do not include Noto CJK font since it's large, and do not want to select a random system font to keep UI style consistent. But there's no reason not to load the system version of Noto CJK if it's available,

@bruvzg bruvzg added this to the 4.4 milestone Sep 11, 2024
@bruvzg bruvzg requested review from a team as code owners September 11, 2024 10:28
@timothyqiu
Copy link
Member

Works great!

One problem I found is that font weight is not correctly selected when using the Variable OTC version (NotoSansCJK-VF.otf.ttc). It always uses the thinnest variant.

@akien-mga akien-mga merged commit b7ed7f7 into godotengine:master Oct 4, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

Kanji/Hanzi characters use the same font in editor, disregarding localization
3 participants