Open Bug 1244404 Opened 8 years ago Updated 11 months ago

Serif Chinese characters show sans-serif font in non-zh languages in Windows (support wuu lang)

Categories

(Core :: Layout: Text and Fonts, defect)

44 Branch
Unspecified
Windows
defect

Tracking

()

People

(Reporter: 2u4177+5ympdw6wfshqg, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: fonts)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20100101

Steps to reproduce:

This problem happens on Windows. Browser language is zh-hans.

Open two Wikipedia pages:

https://zh.wikipedia.org/wiki/%E5%88%A9%E9%9A%86%E5%9C%AD
https://wuu.wikipedia.org/wiki/%E5%88%A9%E9%9A%86%E5%9C%AD


Actual results:

Both the font-family for h1 and h2 title is "Linux Libertine", Georgia, Times, serif. Chinese characters fall back in 'serif'. But there is a differnce between the two pages:

(Correct)
In Zh version, the title shows serif font (SimSun).

(Wrong)
In Wuu version, the title shows sans-serif font (Microsoft YaHei).


Expected results:

Serif Chinese characters should show serif font in any condition.
Keywords: fonts
OS: Unspecified → Windows
Severity: normal → major
Component: Untriaged → Layout: Text
Product: Firefox → Core
I have this problem as well, except with Japanese text instead of Chinese. My system is configured to use Source Serif Pro and Source Sans Pro, falling back to IPAMincho and IPAGothic. With lang="ja" IPAMincho is used for both Latin and CJK, while without it Source Serif Pro is used for Latin text and IPAGothic is used for the CJK text.

Here is a test case I cooked up.
data:text/html,<html><meta charset="utf-8"><p style="font-family: serif;">Here is some text. こんにちは<p style="font-family: serif;" lang="ja">Here is some text. こんにちは

This has worked correctly for me in the past.
We don't have Wu Chinese mapping for font...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Serif Chinese characters show sans-serif font in non-zh languages in Windows → Serif Chinese characters show sans-serif font in non-zh languages in Windows (support wuu lang)
Depends on: 1379017
QA Whiteboard: qa-not-actionable

In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.

Severity: major → --
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.