arrow-down arrow at-sign bug check checkbox-checked checkbox-unchecked svg-checkmark chevron-right chevrons-right circle-down circle-left circle-right circle-up cloud2 svg-cross2 download download external-link filter github hash home leaf leaf left link-2 log-in log-out mail menu message-square minus plus radio-checked radio-checked2 radio-unchecked search settings spinner8 target twitter up upload-2 user users warning x zap
  • Home
  • Report a bug
  • Contribute
  • All issues
  • Login

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".

zh-Hani selects a Japanese font in Firefox

Browser Configuration
  • None

From webcompat.com with ❤️

Please login to edit issues.

View issue on Github

Shortcut: Press l on your keyboard to open the label editor. Shortcut: Press g on your keyboard to be taken to the GitHub view of this page.
🔒 Closed: Duplicate
#34232

en.wikipedia.org - lang=zh-Hani uses Japanese fonts

Opened: 2019-07-01
Reporter: critical-bug
Comments: 4
  • Home
  • List of issues
  • About
  • Contribute
  • Contact
  • Privacy Policy
  • Terms of Service
  • Code of Conduct