[Fontconfig] Changing all fonts to Bold

Ciprian Popovici fontconfig@fontconfig.org
Tue, 15 Apr 2003 12:59:19 +0200 (MEST)


Quoting Amir Sela <amir@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