Update CJKT default fonts to Noto Sans CJK
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox141 | --- | fixed |
People
(Reporter: masayuki, Assigned: jfkthame)
References
(Depends on 1 open bug)
Details
Attachments
(4 files, 1 obsolete file)
Chrome started using Noto Sans CJK for the default font on Windows if it's installed and Windows 10/11 has or will have the font by default. So at least in the future, we need to follow them for web-compat, but I'm not sure when it's the best because I saw some complains about the rendering result with new fonts.
See also https://zenn.dev/15/articles/d6516675dac2dc (written in Japanese), so, at least after shipping text-box-trim?
Comment 1•9 months ago
|
||
See also https://zenn.dev/15/articles/d6516675dac2dc (written in Japanese)
(off-topic) the article says the fonts are not variable fonts, but they are.
Comment 2•9 months ago
|
||
https://docs.google.com/document/d/1q-rK_0C1_6mK39Vfa3pFXMQUvg05sUO-DYOygZek6vg is a design doc for decision of CJK fonts.
Windows 10/11 added Noto fonts (Sans and Serif) for CJK users in 2025-03 D patch, and Microsoft Edge/Google Chrome browser now defaults to them. Time to change in Firefox.
Comment 5•8 months ago
|
||
FWIW,
on Windows11, Microsoft installed Noto Sans JP and Noto Serif JP.
However, on Windows10, Microsoft installed Noto Sans JP, but not Noto Serif JP.
(In reply to Asagi Mutsuki from comment #3)
Windows 10/11 added Noto fonts (Sans and Serif) for CJK users in 2025-03 D patch, and Microsoft Edge/Google Chrome browser now defaults to them. Time to change in Firefox.
Chromium updated CJK default fonts in 06/2024 https://source.chromium.org/chromium/chromium/src/+/3ae0858daf3a68dfb7926691b8f403563b002b32
Updated•8 months ago
|
Comment 7•8 months ago
|
||
(In reply to Asagi Mutsuki)
I had a look at the patch as a user.
Would you consider making BIZ UDGothic the first choice for font.name-list.monospace.ja, to better align with Chrome’s default?
Make CJKT fonts the same as Chromium.
(In reply to Ōtsu Shumpei from comment #7)
(In reply to Asagi Mutsuki)
I had a look at the patch as a user.
Would you consider making BIZ UDGothic the first choice forfont.name-list.monospace.ja, to better align with Chrome’s default?
fix it
Comment 10•8 months ago
|
||
Comment on attachment 9488568 [details]
all.js 19/05/24 patch
Changed the content type because this is not a patch.
Comment 11•7 months ago
|
||
Attached the patch version of all.js changes from 19/05/24, replacing the full source upload.
| Assignee | ||
Comment 12•7 months ago
|
||
I've pushed a try run at https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=137652 with a patch to update these prefs (based on comment 11, with some adjustments); let's see how much it disrupts existing reftests. (I suspect there'll be some impact, though it may well be harmless -- just fragile tests.)
| Assignee | ||
Comment 13•7 months ago
|
||
Updated•7 months ago
|
Comment 14•7 months ago
|
||
Comment 15•7 months ago
|
||
| bugherder | ||
Comment 16•7 months ago
|
||
Noto Sans is bad at traditional 96DPI displays, we should track whether this causes significant visual regression for users with older machines.
Description
•