2008/10/7 Kenichi Handa <handa@xxxxxxxx>: > In article <48EA4E43.1040800@xxxxxxxxxxxxxxxxxxx>, Qianqian Fang <fangq@xxxxxxxxxxxxxxxxxxx> writes: > >> an ugly fix would be adding the following block to your ~/.fonts.conf, >> replacing "Kochi Gothic" with your favorite Japanese font. > >> <match target="pattern"> >> <test equal="any" compare="eq" name="family"> >> <string>WenQuanYi Zen Hei</string> >> </test> >> <test equal="any" compare="eq" name="lang"> >> <string>ja</string> >> </test> >> <edit name="family" mode="prepend" binding="strong"> >> <string>Kochi Gothic</string> >> </edit> >> </match> > > Thank you for the prompt reply. But, with that in > ~/.fonts.conf, "WenQuanYi Zen Hei" is still listed by the > command "fc-list :lang=ja". > >> The best solution would be re-optimize the font rendering order >> in 65-nonlatin.conf by fontconfig upstream, which I have heard >> that Badhad is doing it right now. > > I'm not sure that is a good solution. As we already have > better Japanese fonts than "WenQuanYi Zen Hei", I think just > telling fontconfig that the font doesn't support "ja" is the > simplest and best solution. Isn't it possible? Then something like <rejectfont>? > > --- > Kenichi Handa > handa@xxxxxxxxxxxxx > _______________________________________________ > Fontconfig mailing list > Fontconfig@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/fontconfig > _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig