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

Add CJK subsets fonts support. #149

Open
devhaozi opened this issue Aug 6, 2024 · 2 comments
Open

Add CJK subsets fonts support. #149

devhaozi opened this issue Aug 6, 2024 · 2 comments
Labels
i18n Translations, RTL issues

Comments

@devhaozi
Copy link

devhaozi commented Aug 6, 2024

Describe
Hello, I'm the LM of Simplified Chinese (China). I found that the default fonts (EB Garamond and Latin) used in the new theme do not support CJK subsets, so I opened this issue (This isn't a big problem because browsers will automatically handle fallbacks).

For simplified Chinese, I suggest use Source Han Sans (Noto Sans CJK), which is already used by Japanese websites and also supports Traditional Chinese and Korean.

Simplified Chinese (Singapore), Traditional Chinese (Hong Kong, Taiwan) and Korean rosetta site also need to be modified, but I am not sure about their LM's decision.

@ryelle
Copy link
Contributor

ryelle commented Aug 6, 2024

We've already added a CJK serif font for Japanese, Noto Serif — for use in place of EB Garamond (headings). Would that work for your site too?

Noto Sans CJK could be added in place of Inter (body font), or you could continue to use the system sans-serif fallback — that seems to be what the Japanese site did, perhaps to save bandwidth from loading two CJK font files.

@ryelle ryelle added the i18n Translations, RTL issues label Aug 6, 2024
@ryelle ryelle transferred this issue from WordPress/wporg-main-2022 Aug 6, 2024
@devhaozi
Copy link
Author

devhaozi commented Aug 8, 2024

We've already added a CJK serif font for Japanese, Noto Serif — for use in place of EB Garamond (headings). Would that work for your site too?

Yes, I recommend using Noto Serif instead of EB Garamond for headings (Chinese website also encountered the same problem as the Japanese website before).

Noto Sans CJK could be added in place of Inter (body font), or you could continue to use the system sans-serif fallback — that seems to be what the Japanese site did, perhaps to save bandwidth from loading two CJK font files.

Use the system sans-serif fallback in body looks ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n Translations, RTL issues
Projects
Status: 🛑 Pending discussion
Development

No branches or pull requests

2 participants