On Thu, Dec 13, 2012, at 01:06 PM, Raimund Steger wrote: > No, both rules must be target="pattern" (but in the correct order), There was a mistake in my last test. In the second block, I had name="antialias"><bool>true</bool> However, even after correction, it still did not work with "font". I followed your advice and now it works. ---------------------------------------------------------------------------------- <?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <match target="pattern"> <edit mode="assign" name="rgba"><const>rgb</const></edit> <edit mode="assign" name="embeddedbitmap"><bool>true</bool></edit> <edit mode="assign" name="autohint"><bool>false</bool></edit> <edit mode="assign" name="hinting"><bool>true</bool></edit> <edit mode="assign" name="antialias"><bool>true</bool></edit> <edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit> <edit mode="assign" name="hintstyle"><const>hintfull</const></edit> </match> <match target="pattern"> <test name="family"><string>Monospace</string></test> <edit mode="assign" name="antialias"><bool>false</bool></edit> </match> </fontconfig> ---------------------------------------------------------------------------------- -- http://www.fastmail.fm - Choose from over 50 domains or use your own _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig