On 9/24/09, Qianqian Fang <fangq@xxxxxxxxxxxxxxxxxxx> wrote: > I don't think it is that bad when dealing with CJKV languages. > You can find an example in the attachment from this link > https://bugzilla.redhat.com/show_bug.cgi?id=499902 > such as this one > https://bugzilla.redhat.com/attachment.cgi?id=343148 > > you can even merge multiple edit blocks, or change binding > from same to "strong" (or prepend to prepend_first) > > <match> > <test name="lang" compare="contains"> > <string>zh</string> > </test> > <test name="family"> > <string>sans-serif</string> > </test> > <edit name="family" mode="prepend" binding="strong"> > <string>DejaVu Sans</string> > <string>Bitstream Vera Sans</string> > <string>WenQuanYi Bitmap Song</string> > <string>WenQuanYi Micro Hei</string> > <string>WenQuanYi Zen Hei</string> > <string>AR PL UMing CN</string> > </edit> > </match> That would work for me if I removed lang test (of course I tested against vi, not zh). <match> <test name="family"> <string>sans-serif</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>Arial</string> </edit> </match> -- Duy _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig