https://bugzilla.redhat.com/show_bug.cgi?id=771093
Akira TAGOH <tagoh(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|cjkuni-ukai-fonts |fontconfig
Assignee|pwu(a)redhat.com |tagoh(a)redhat.com
Summary|Package group |lang rule matches
|"traditional-chinese-suppor |unexpected lang
|t" makes simplified chinese |
|rendered fuzzily |
Flags|needinfo?(yaoziyuan(a)gmail.c |
|om) |
External Bug ID| |FreeDesktop.org 28958
--- Comment #4 from Akira TAGOH <tagoh(a)redhat.com> ---
Okay, after further investigation, this would explains all:
$ FC_DEBUG=4 fc-match monospace:lang=zh-cn
...
FcConfigSubstitute test pattern any lang Equal "zh-hk"
FcConfigSubstitute test pattern any family Equal "monospace"
Substitute match
pattern any lang Equal "zh-hk"
pattern any family Equal "monospace"
edit
Edit family Prepend "AR PL UMing HK";
Prepend list before "DejaVu Sans Mono"(w) "Bitstream Vera Sans
Mono"(w)
"DejaVu
Sans Mono"(w) "Inconsolata"(w) "Andale Mono"(w) "Courier
New"(w) "Cumberland
AM
T"(w) "Luxi Mono"(w) "Nimbus Mono L"(w) "Courier"(w)
"monospace"(s) "VL
Gothic"(
w)
Prepend list after "DejaVu Sans Mono"(w) "Bitstream Vera Sans
Mono"(w) "DejaVu
Sans Mono"(w) "Inconsolata"(w) "Andale Mono"(w) "Courier
New"(w) "Cumberland
AMT
"(w) "Luxi Mono"(w) "Nimbus Mono L"(w) "Courier"(w)
"AR PL UMing HK"(w)
"monospa
ce"(s) "VL Gothic"(w)
FcConfigSubstitute editPattern has 2 elts (size 16)
family: "DejaVu Sans Mono"(w) "Bitstream Vera Sans Mono"(w)
"DejaVu
Sans
Mono"(w) "Inconsolata"(w) "Andale Mono"(w) "Courier
New"(w) "Cumberland
AMT"(w)
"Luxi Mono"(w) "Nimbus Mono L"(w) "Courier"(w) "AR PL
UMing HK"(w)
"monospace"(
s) "VL Gothic"(w)
lang: zh-cn(s)
...
After applying a backport patch:
$ fc-match monospace:lang=zh-cn
wqy-zenhei.ttc: "WenQuanYi Zen Hei Sharp" "Regular"
assigning back to fontconfig again.
--
You are receiving this mail because:
You are on the CC list for the bug.