[Fontconfig] Changing all fonts to Bold

Ciprian Popovici ciprian at zuavra.net
Tue Apr 15 20:59:19 EST 2003


Quoting Amir Sela <amir at neurojacked.net>:
> <match target="font">
>         <test name="weight" compare="less"><const>bold</const></test>
>         <edit name="weight"><const>bold</const></edit>
> </match>

"weight" works with data of type <integer>. Read the fontconfig
documentation for valid values. If you want to work with "bold"
use property "style" and type <string>. Also, I think the syntax
you show here is not exactly right. Please look in the default
fonts.conf as well as the doc to see valid examples.

-- Ciprian Popovici




More information about the Fontconfig mailing list