https://bugzilla.redhat.com/show_bug.cgi?id=771093

Akira TAGOH <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|cjkuni-ukai-fonts           |fontconfig
           Assignee|[email protected]              |[email protected]
            Summary|Package group               |lang rule matches
                   |"traditional-chinese-suppor |unexpected lang
                   |t" makes simplified chinese |
                   |rendered fuzzily            |
              Flags|needinfo?([email protected] |
                   |om)                         |
    External Bug ID|                            |FreeDesktop.org 28958

--- Comment #4 from Akira TAGOH <[email protected]> ---
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.
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/

Reply via email to