Firefox renders zh-Hant-HK with a Japanese font instead of a Chinese font.
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
People
(Reporter: rampaa.01, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0
Steps to reproduce:
Visit the following link: https://en.wikipedia.org/wiki/Han_unification#Examples_of_language-dependent_glyphs
Alternatively you can use the Test.html I've provided.
Actual results:
The text in zh-Hant-HK has been rendered with a Japanese font.
Expected results:
The text in zh-Hant-HK should have been rendered with a (traditional) Chinese font.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Assignee | ||
Comment 2•5 years ago
|
||
Looks like this happens because the MingLiU font that is configured as default for zh-HK:
pref("font.name-list.serif.zh-HK", "Times New Roman, MingLiu_HKSCS, Ming(for ISO10646), MingLiU, MingLiU_HKSCS-ExtB");
pref("font.name-list.sans-serif.zh-HK", "Arial, MingLiU_HKSCS, Ming(for ISO10646), MingLiU, MingLiU_HKSCS-ExtB");
pref("font.name-list.monospace.zh-HK", "MingLiU_HKSCS, Ming(for ISO10646), MingLiU, MingLiU_HKSCS-ExtB");
is not actually present on a standard English installation of Win10, and so we end up hitting fallback. (The -ExtB fonts are present, but not the base font, in either its _HKSCS or default form.)
Going in to Windows Settings / Language and adding "Chinese (Traditional, Hong Kong SAR)" results in the plain MingLiU being installed, and then the zh-Hant-HK content appears in this font as expected.
Is there a different font that is present by default on all Win10 systems and would be a better (or additional) font to list in the preferences? I guess at least Microsoft JhengHei (which we use for zh-TW) would be an improvement, although being Taiwan-oriented it may not be ideal.
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder |
Comment 6•5 years ago
|
||
Verified the issues with Firefox 75.0b2 on Windows 10 x64 and it is no longer reproducible
The issue is reproducible with 73.0 and 74.0 (20200309095159) as well.
Updating flag status 74.0 as affected.
Updated•5 years ago
|
Description
•