[Fontconfig] How can I match fonts with their lang?

James Su suzhe at turbolinux.com.cn
Tue May 20 11:43:21 EST 2003


Hi,
I want to match fonts with their lang tag, so I add following config
into fonts.conf:

<match target="font">
<test name="lang" compare="contains">
<string>zh</string>
</test>
...
</match>

But no effect. Could you please tell me how can I do that?

Regards
James Su





More information about the Fontconfig mailing list