https://bugzilla.redhat.com/show_bug.cgi?id=1308856
--- Comment #28 from Ray Wang <wanglei1123(a)gmail.com> ---
Hello Akira
Thank you for your explanation. I really appreciate it.
fontconfig just returns the best font *for* the requested font from
applications. if it is wrong or they wrongly use the result, it won't looks
good. as we confirmed if the request is sane, it works. that is good enough
to explain this isn't a bug in fontconfig.
Actually, I set two languages in "Language Ordering" tab in fonts-tweak-tool,
Chinese (P.R.China)
Chinese (Taiwan)
What's the expected behavior?
From my guess
1. Set FC_LANG to zh-CN and then zh-TW, and other LC_*
2. Application which use system default font.
For English letters, it will search and match first available fonts to render
the letters. For example "Liberation" or "Deja Vu"(I don't know
where to check
the font matching orders);
For Chinese or other languages which the default system font don't have that
character set, it will search and match the first available font which has
those characters.
3. In my case, when I type a Chinese character, it will find it if default font
has it, otherwise, it will continue to find it from "Adobe Source Han Sans CN"
and then "Adobe Source Han Sans TW", since I set the "Chinese
(P.R.China)" as
the first language, I'm expecting the character will be pick up from "Adobe
Source Han Sans CN" rather than other font.
I'm assuming fontconfig or fonts-tweak-tool will change or set the correct
environment variable for me, so that application could use these variable to
display letters/characters correctly.
Having said that it's an application bug. IMHO, I'm afraid I'm not with it.
Because if I set system language to "Chinese (China)" in "Region &
Language",
everything is working fine, the only difference is that I'm using English
locale (en_US.UTF-8)
Again thank you so much for your patience
--
You are receiving this mail because:
You are on the CC list for the bug.