[Fontconfig-bugs] [Bug 91958] Language Match problem for Chinese, Japanese and Korean

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 10 04:33:57 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91958

--- Comment #4 from Guo Yunhe <guoyunhebrave at gmail.com> ---
I tried FC_DEBUG=4 fc-match sans:lang=ko > debug.log

----------------------------------------------------
Prepend list before  "Nimbus Sans L"(s) "WenQuanYi Zen Hei"(s) [marker]
"sans-serif"(s)
Prepend list after  "Nimbus Sans L"(s) "WenQuanYi Zen Hei"(s) "Droid Sans
Fallback"(s) "sans-serif"(s)
FcConfigSubstitute editPattern has 9 elts (size 16)
    family: "Nimbus Sans L"(s) "WenQuanYi Zen Hei"(s) "Droid Sans Fallback"(s)
"sans-serif"(s)
    rgba: 5(i)(w)
    lang: ko(s) "zh-CN"(w)
    lcdfilter: 0(i)(w)
    prgname: "fc-match"(s)
    force_hintstyle: "none"(w)
    force_autohint: False(w)
    force_bw: False(w)
    force_bw_monospace: False(w)
----------------------------------------------------

I found there is always a "zh_CN" following "ko". Fontconfig always prepends
"WenQuanYi Zen Hei" (zh_CN font) before "Droid Sans Fallback" (ko font).

When I change Chinese China font in ~/.config/fontconfig/fonts.conf ,
fontconfig will prepend new Chinese China font before "Droid Sans Fallback"
(Korean font). I don't have other user configuration, system configuration
didn't do anything to the language.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20150910/fbc99b6a/attachment.html>


More information about the Fontconfig-bugs mailing list