sorry, recent with gmail account. On 03/10/2010 02:35 AM, Peng Wu wrote: > Thanks for notifying me this, I missed the hintings for Latin glyphs. > After this discussion, I will post changed font conf files on bugzilla for review. > I will try to use the same technique in UMing confs(maybe will be switched to UKai): > ... > <match> > <test name="lang" compare="contains"> > <string>zh</string> > </test> > <test name="family"> > <string>sans</string> > </test> > <edit name="family" mode="prepend" binding="strong"> > <string>Bitstream Vera Sans</string> > <string>DejaVu Sans</string> > <string>WenQuanYi ZenHei</string> > </edit> > </match> > well, syntax is one thing, the more important is which fontconfig file, and what prefix number will you use. In the past, this was done by font package itself in Fedora: if a font wants to be the default, it simply sets a prefer list in its own fontconfig file; if multiple maintainers want their fonts to be the default, they will have to compete the prefix number: the smaller number wins (unless the later ones use prepend_first). To avoid this mess, I had proposed a set of cjk specific config files with clean and centralized settings, you can see the whole proposal here: http://bugs.freedesktop.org/show_bug.cgi?id=20911 https://bugzilla.redhat.com/show_bug.cgi?id=499902 but briefly, what you need to do is to update 65-nonlatin, and add two cjk specific config files: 65-language-zh.conf and 65-language-ja.conf, see https://bugs.launchpad.net/ubuntu/+source/ttf-wqy-zenhei/+bug/521163/comments/5 unfortunately, Fedora people seemed not to be very keen to this solution, for some reasons, and the proposal is currently stalled. Despite that, I got response from Arne, the CJK fontconfig maintainer for Ubuntu that he is interested to this: https://bugs.launchpad.net/ubuntu/+source/ttf-wqy-zenhei/+bug/521163/comments/6 so, I still highly suggest you considering this cleaner solution if you want to wire up the CJK font orders. Of course, you have to communicate with Jens and Akira more on this matter. just a side note, use binding=strong is generally not preferred. use smaller prefix number if you want to overwrite other rules. > ... > > Thanks for reviewing, > Peng Wu > > > > -- i18n mailing list i18n@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/i18n