[Fontconfig] Matching font names
Mike FABIAN
mfabian at suse.de
Fri May 16 14:54:29 PDT 2008
Jeremy Sanders <jeremy at jeremysanders.net> さんは書きました:
> Hi - I'm trying to match font names to switch off antialiasing for specific
> fonts in a font config file. I can't get it to work properly. Here is an
> example:
>
> <!--- turn off antialiasing for these fonts -->
> <match target="pattern">
> <test qual="any" name="family">
> <string>Courier New</string>
> </test>
> <edit mode="assign" name="antialias" >
> <bool>false</bool>
> </edit>
> </match>
You need to use
<match target="font">
there instead of
<match target="pattern>"
--
Mike FABIAN <mfabian at suse.de> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
I � Unicode
More information about the Fontconfig
mailing list