How can I match fonts with their lang?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Around 9 o'clock on May 20, James Su wrote:

> 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>

Use compare="equal" instead of "contains".  I'm not sure 'contains' has 
sensible semantics for language sets.

-keith





[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux