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=492510
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(tagoh@redhat.com) |
--- Comment #39 from Akira TAGOH tagoh@redhat.com 2009-04-29 23:30:54 EDT --- (In reply to comment #38)
Akira, I reassigned Bug#476459 since you are the maintainer of vlgothic-fonts.
So what? that's not a bug in vlgothic-fonts though ;)
I want to make sure you understand my rationales for solving these two bugs: first of all, 65-nolatin sets the default font orders for cjk fonts, it does not, and perhaps should not, assume which locale is preferred, therefore, it won't solve the font variant issues for CJK. The solution is to introduce language-specific font config files. Unfortunately, Fedora does not have language-selector settings as in Ubuntu. Currently, the language specific font orders for Chinese is done by the fontconfig files associated with the default Chinese font (Zen Hei and Bitmap Song). However, Japanese does not have such config files, and completely relies on 65-nonlatin (which is not only out-dated, but also giving zh locale a lower priority).
Not really. I have looked at language-selector though, basically what they have done is same to what we do. only difference is, they've done to switch the config physically outside fontconfig, but we do in fontconfig with checking the language.
I don't think Ubuntu way is the right thing since it doesn't use the expected fonts for the language. i.e. if select -zh-cn.conf, even Japanese text will be rendered with Chinese font.
Therefore, either you want to introduce a Japanese specific font config file to set the preferred font orders for lang=ja, or you simply define VL Gothic as the default Sans for ja in the vlgothic-fonts config files, just like the file you proposed for this bug (you do need to replace zh to ja and reset the font names).
I'm not sure what you mean. the language-specific overrides rule is to do that. but it really conflicts to the simple priority list. actually getting rid of it makes the language-specific overrides rule working and this issue is also gone. Since we've sometimes ever seen the font order issue between Chinese and Japanese desktop/installer etc, I'm beginning to think that the simple priority list is evil.
I believe that a better solution would be the first one in the long run, but for now, the second solution is not bad either (in the future, this file can directly renamed to language-selector-ja_JP.conf or something like that).
I don't like the language-selector idea, because it may be hard to get rid of that feature once we've implemented. people may gets confused with it. That would be good to update all of fonts in F-12 which has the simple priority list and are supposed to work for the specific language.