URL: https://en.wikipedia.org/wiki/Kangxi_radical
Browser / Version: Firefox 68.0
Operating System: Mac OS X 10.13
Tested Another Browser: Yes
Problem type: Something else
Description: lang=zh-Hani uses Japanese fonts
Steps to Reproduce:
The page uses attributes lang="zh-Hani"
, which cause Japanese fonts selected such as Hiragino (on macOS) or Yu Gothic (on Windows) but not Chinese fonts.
Although the latter part Hani
is a kind of multilingual script code (defined as Han (Hanzi, Kanji, Hanja) in ISO 15924), the first part zh
indicates Chinese.
If the attribute has "zh" only, Chinese fonts such as Microsoft YaHei, PingFang SC is used.
Edge 44 uses Microsoft YaHei for lang=zh, zh-Hans, and zh-Hani. I think this is preferable behavior, i.e. to use one of the Chinese fonts for zh-Hani.
Same as Firefox, Chrome seems to use Japanese fonts for lang="zh-Hani".
Browser Configuration
From webcompat.com with ❤️
URL: https://en.wikipedia.org/wiki/Kangxi_radical
Browser / Version: Firefox 68.0
Operating System: Mac OS X 10.13
Tested Another Browser: Yes
Problem type: Something else
Description: lang=zh-Hani uses Japanese fonts
Steps to Reproduce:
The page uses attributes
lang="zh-Hani"
, which cause Japanese fonts selected such as Hiragino (on macOS) or Yu Gothic (on Windows) but not Chinese fonts.Although the latter part
Hani
is a kind of multilingual script code (defined as Han (Hanzi, Kanji, Hanja) in ISO 15924), the first partzh
indicates Chinese.If the attribute has "zh" only, Chinese fonts such as Microsoft YaHei, PingFang SC is used.
Edge 44 uses Microsoft YaHei for lang=zh, zh-Hans, and zh-Hani. I think this is preferable behavior, i.e. to use one of the Chinese fonts for zh-Hani.
Same as Firefox, Chrome seems to use Japanese fonts for lang="zh-Hani".
Browser Configuration
From webcompat.com with ❤️