[Fontconfig] Configuration problem

Krzysztof Kotlenga pocek at users.sf.net
Mon Jun 29 11:50:34 PDT 2009


Ingo Brueckl wrote:

> Really nobody familiar with the config file syntax?

I wasn't subscribed back then ;)

> Even no idea whether it is possible or not what I want to do?

It is. Just a quick example for you.

<match target="pattern">
  <test name="family"><string>Times New Roman</string></test>
  <test name="weight" compare="more_eq"><const>bold</const></test> 
  <edit name="family" mode="prepend"><string>Arial</string></edit>
</match>

-- 
The fact is, most software is crap, and most software developers
are lazy and stupid. Same as most customers are stupid too.
                         -- Hua Zhong, Linux Kernel Mailing List


More information about the Fontconfig mailing list