Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=476459
--- Comment #24 from Jens Petersen petersen@redhat.com 2009-04-30 03:15:10 EDT --- Let's separate the discussion on bitmap-song and zenhei properly.
from bug 492510:
Actually, I think the font order in the current 65-nonlatin.conf is fine: as it does not assume specific language, I believe it is a good idea to put large-coverage fonts in front of small ones (see https://bugs.freedesktop.org/show_bug.cgi?id=20911). The only problem is, there is no Japanese specific font priority settings to boost VL Gothic for ja locale!
Right, 66-vlgothic-fonts.conf comes after..
Here is Ubuntu's way to solve this: a list of language specific (CJK only) fontconfig settings are stored in conf.avail, named with "{29,69,99}-language-selector-xxxx.conf" where xxxx include zh-cn, zh-hk, zh-..., ja-jp and ko-kr. For a given desktop locale, it will link the corresponding conf file to conf.d. Although it is a little bit messy, but I think it serves the purpose well: 65-nonlatin is the default font order without assuming any specific lang, if you want to overwrite that for a specific locale, you have to add a lang-specific conf file.
I tested language-selector - it actually has a problem currently: eg its settings will override CJK fonts even when other CJK locale for app is specified.
If we are short of time for F11, I can temporarily add a xx-wqy-zenhei.conf and set VL Gothic in front of ZenHei when lang=ja
That doesn't sound like the right fix IMHO but perhaps I am missing something.