Comment 6 for bug 521163

Revision history for this message
Arne Goetje (arnegoetje) wrote : Re: [Bug 521163] Re: WenQuanYi Zen Hei is prioritised above Japanese fonts for Japanese language text

Qianqian Fang wrote:
> Peter Maydell wrote:
>> Thanks for pointing me at fontconfig-voodoo, that seems to now give the
>> right results for Japanese text. However it seems to do this at the
>> expense of everything else:
>>
>
> yes, that's why I said it is a "Ubuntu hack". My "ideal" solution
> is to do the following:
>
> 1. uninstall language-selector, and make sure all
> language-selector files are removed from conf.d

no needto uninstall language-selector. In fact, language-selector is an
integral part of Ubuntu and used to manage localization settings. So,
please don't remove it.

What you want is 'fontconfig-voodoo -rf'. That will remove the
language-selector specific fontconfig files from conf.d .

> 2. download and install the following 3 files (backup 65-nonlatin before
> overwriting)
> https://wqy.svn.sf.net/svnroot/wqy/trunk/65nonlatin_test_suite/conf.d/65-language-ja.conf
> https://wqy.svn.sf.net/svnroot/wqy/trunk/65nonlatin_test_suite/conf.d/65-language-zh.conf
> https://wqy.svn.sf.net/svnroot/wqy/trunk/65nonlatin_test_suite/conf.d/65-nonlatin.conf

I may use these configuration files in a modified form in a patch for
fontconfig and remove fontconfig-voodoo altogether.

Cheers
Arne