Hi! Well, on my system it does the same. That's because fontconfig works
like that. After all, if a font does not have a certain character, it's
not a bad idea to check whether the default sans or serif font does have
this character and only after that try more special fonts like Chinese
or Japanese ones. You can check in which order fontconfig tries to
substitute a font with the fc-match command. For example, to see the
sorted list of matches for Verdana, run 'fc-match -s Verdana'. What the
script does is just to call this command for each font on the system and
copy the respective list of substitutions into the qtrc file, because
this should give you the same substitution behaviour with Qt and
fontconfig. Of course, if you are only interested in Chinese text, it
would suffice to setup just one substitution for each font. But then, it
is not clear which font the system will use for a text in a different
language.

-- 
QT program doesn't select Chinese font correctly
https://bugs.launchpad.net/bugs/94282
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to