<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Language Match problem for Chinese, Japanese and Korean"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91958#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Language Match problem for Chinese, Japanese and Korean"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91958">bug 91958</a>
from <span class="vcard"><a class="email" href="mailto:guoyunhebrave@gmail.com" title="Guo Yunhe <guoyunhebrave@gmail.com>"> <span class="fn">Guo Yunhe</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>