[Fontconfig] Do you know how to use binary operators like or, and in fonts.conf?

Zhe Su james.su at gmail.com
Sat Dec 24 19:52:16 PST 2005

  I can't find any example for those kind of binary operators. What I
want is to match one of two families and do some modification for that
  I tried the following code, but didn't take effect:

  <match target="pattern">
      <test name="family"><string>Font A</string></test>
      <test name="family"><string>Font B</string></test>
    <edit name="family" mode="prepend">
      <string>Font C</string>

  Do you know what's wrong with this piece of code?

James Su

More information about the Fontconfig mailing list