https://bugzilla.redhat.com/show_bug.cgi?id=1529984
Bug ID: 1529984 Summary: Give Chinese users a sans, a serif, and a monospace Product: Fedora Localization Component: Chinese Simplified [zh_CN] Severity: medium Assignee: tiansworld@fedoraproject.org Reporter: arthur200126@gmail.com QA Contact: tiansworld@fedoraproject.org CC: tiansworld@fedoraproject.org, trans-zh_cn@lists.fedoraproject.org
Description of problem:
Fedora since version 21 explicitly fails to discriminate between sans-serif, serif, and monospace for Chinese language. Rather than providing proper defaults, Fedora opted to make "monospace" a Chinese font with proportional latin text and "serif" sans serifs;[1] it chose Source Han Sans for all cases.
[1]: https://lists.fedoraproject.org/archives/list/chinese@lists.fedoraproject.or...
Some users have recently reported that Source Han Serif has now become the default font for, once again, everything including the UI. Perhaps "sans-serif" has serifs now.
This issue affects all Chinese variants.
Version-Release number of selected component (if applicable):
Since Fedora 21.
How reproducible:
Universally
Steps to Reproduce: 1. LC_ALL=zh_CN.UTF-8 fc-match -a Sans 2. LC_ALL=zh_CN.UTF-8 fc-match -a Serif 3. LC_ALL=zh_CN.UTF-8 fc-match -a Monospace
Actual results: Same thing for Han
Expected results: Different things
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1529984
--- Comment #1 from Mingye Wang arthur200126@gmail.com --- Moreover, in the linked email the i18n person (Peng Wu) fails to actually see the problem. Wu defends himself by suggesting using the {Song,Ming}/Kai (printed/script) contradiction in favor of {Song,Ming}/Hei (sans/serif) system, not knowing that:
* CJK sans-serifs were developed precisely to match and to mimic Latin sans-serifs; they are called "Gothic" in Japan for a reason * There is a generic family called "script" in fontconfig and CSS speak
Wu probably didn't even know a damn about generic family names, and y'all at RH probably shouldn't assume that speaking a language natively means being an okay typographer. Hell, we grew from the ages of SimSun bitmap as UI font and WordArt.
https://bugzilla.redhat.com/show_bug.cgi?id=1529984
--- Comment #2 from Mingye Wang arthur200126@gmail.com --- Oh and the monospace business.
Wu:
中文字体大部分都是 dual width 或 proportional,很少是 monospace 的。 "Most Chinese fonts are either dual width or proportional; few are monospaced."
It's time to introduce this "wcwidth" magic, a function that tells you how many columns a character takes up. Being monospaced doesn't mean everything is the same width in this big new world with emojis and ideographs; you just have to keep everything's width a simple multiple of the base latin width. (wcwidth and Chinese convention uses 2 cols for CJK text; Japanese convention uses 1.5.) All so-called "dual-width" stuff, like Source Han Sans HW, is therefore monospaced.
(I'm not saying you should use Source Han Sans HW for monospace, since it's terrible for coding with its hard-to-tell 0/O group. But it is monospaced.)
https://bugzilla.redhat.com/show_bug.cgi?id=1529984
--- Comment #3 from Mingye Wang arthur200126@gmail.com --- The "new user" report regarding Source Han Serif comes from Fedora 27.
https://bugzilla.redhat.com/show_bug.cgi?id=1529984
--- Comment #4 from Mingye Wang arthur200126@gmail.com --- Created attachment 1375011 --> https://bugzilla.redhat.com/attachment.cgi?id=1375011&action=edit Source Han Serif used apparently as sans in KDE, Fedora 27
The Source Han Serif report affects only instances installed from the KDE live image and the live session itself. Uninstalling SHSerif appears to help. (Screenshot and testing courtesy of Ted Cynx.)
https://bugzilla.redhat.com/show_bug.cgi?id=1529984
Mingye Wang arthur200126@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment|Source Han Serif used |Source Han Serif used as #1375011|apparently as sans in KDE, |sans in KDE, Fedora 27, description|Fedora 27 |"百度一下你就知道"
https://bugzilla.redhat.com/show_bug.cgi?id=1529984
Alick Zhao alick9188@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alick9188@gmail.com, | |pwu@redhat.com Component|Chinese Simplified [zh_CN] |google-noto-cjk-fonts Version|unspecified |27 Assignee|tiansworld@fedoraproject.or |pwu@redhat.com |g | Product|Fedora Localization |Fedora QA Contact|tiansworld@fedoraproject.or |extras-qa@fedoraproject.org |g |
--- Comment #5 from Alick Zhao alick9188@gmail.com --- Hi Mingye, thanks for reporting the bug.
I changed the component of the bug so hopefully @pwu will get notified.
I think there might be two bugs/issues here actually:
1. As the bug summary says, there used to be only one Chinese font installed by default on Fedora. Whatever it is, it will be treated as Chinese font for all sans/serif/monospace styles. @pwu has mentioned this before in the same thread:
https://lists.fedoraproject.org/archives/list/chinese@lists.fedoraproject.or...
The reason I guess might be some fontconfig packaging guideline/policy/convention. @pwu should have more definitive answer.
Personally I'd like to treat this as a bug, and update existing policy, and have different Chinese fonts for sans/serif/monospace.
Besides, it seems to me on Fedora 27, if google-noto-cjk-fonts is installed by default, then at least we have both sans and serif for Chinese. So this issue is partially (but not fully) resolved.
2. KDE picks up Source Han Serif while other DEs use Sans font on Fedora 27.
I suspect this is a different issue, and it might lie in the interplay between KDE and fontconfig. More investigation is needed. But this seems a different issue. Please open a new bug for this issue.
Last, please keep the bug report focus on software issues. Never ever do personal attacks.
https://bugzilla.redhat.com/show_bug.cgi?id=1529984
Alick Zhao alick9188@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|trans-zh_cn@lists.fedorapro | |ject.org |
trans-zh_cn@lists.fedoraproject.org