https://bugzilla.redhat.com/show_bug.cgi?id=1585538
Bug ID: 1585538 Summary: [zh_CN][zh_TW] unexpected result for fc-match monospace. Product: Fedora Version: 28 Component: fonts-chinese Assignee: extras-orphan@fedoraproject.org Reporter: lijli@redhat.com QA Contact: extras-qa@fedoraproject.org CC: extras-orphan@fedoraproject.org, fonts-bugs@lists.fedoraproject.org
Description of problem: [zh_CN][zh_TW] unexpected result for fc-match monospace.
Version-Release number of selected component (if applicable): fedora28
How reproducible: 100%
Steps to Reproduce: 1. Open terminal. 2. Run $ LANG=zh_CN.UTF-8 fc-match monospace $ LANG=zh_TW.UTF-8 fc-match monospace
Actual results: $ LANG=zh_CN.UTF-8 fc-match monospace DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" $ LANG=zh_TW.UTF-8 fc-match monospace DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
Expected results: Source Han Sans CN Source Han Sans TW
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1585538
Lijun Li lijli@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ajax@redhat.com, | |alexl@redhat.com, | |i18n-bugs@lists.fedoraproje | |ct.org, | |john.j5live@gmail.com, | |mclasen@redhat.com, | |pnemade@redhat.com, | |rhughes@redhat.com, | |rstrode@redhat.com, | |sandmann@redhat.com, | |tagoh@redhat.com Component|fonts-chinese |fontconfig Assignee|extras-orphan@fedoraproject |tagoh@redhat.com |.org |
https://bugzilla.redhat.com/show_bug.cgi?id=1585538
Lijun Li lijli@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |i18n
https://bugzilla.redhat.com/show_bug.cgi?id=1585538
Lijun Li lijli@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|unspecified |medium Hardware|Unspecified |x86_64 Docs Contact| |lijli@redhat.com OS|Unspecified |Linux Severity|unspecified |medium
https://bugzilla.redhat.com/show_bug.cgi?id=1585538
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |NOTABUG Last Closed| |2018-06-04 01:22:23
--- Comment #1 from Akira TAGOH tagoh@redhat.com --- This is the expected result by adobe-source-han-sans-cn-fonts:
<match> <test name="lang"> <string>zh-cn</string> </test> <test name="family"> <string>monospace</string> </test> <edit name="family" mode="prepend"> <string>Source Han Sans CN</string> <string>Source Han Sans TW</string> </edit> <edit name="family" mode="prepend" binding="strong"> <string>DejaVu Sans Mono</string> </edit> </match>
DejaVu Sans Mono is added as strong binding so it is used prior than any Chinese fonts.
https://bugzilla.redhat.com/show_bug.cgi?id=1585538
--- Comment #2 from Akira TAGOH tagoh@redhat.com --- just to clarify for zh_TW, it comes from adobe-souruce-han-sans-tw-fonts:
<match> <test name="lang"> <string>zh-tw</string> </test> <test name="family"> <string>monospace</string> </test> <edit name="family" mode="prepend"> <string>Source Han Sans TW</string> <string>Source Han Sans CN</string> </edit> <edit name="family" mode="prepend" binding="strong"> <string>DejaVu Sans Mono</string> </edit> </match>
https://bugzilla.redhat.com/show_bug.cgi?id=1585538
--- Comment #3 from Lijun Li lijli@redhat.com --- Ah, okay, I got the reference from: https://tagoh.fedorapeople.org/fonts/f26-defaultfonts-fcquery.html
fonts-bugs@lists.fedoraproject.org