[Fontconfig] Per application settings in .fonts.conf?

Wendell P wendellp at operamail.com
Thu Dec 13 15:49:27 PST 2012

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


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'>
  <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"
    <edit mode="assign" name="hintstyle"><const>hintfull</const></edit>

  <match target="pattern">
    <test name="family"><string>Monospace</string></test>
    <edit mode="assign" name="antialias"><bool>false</bool></edit>


http://www.fastmail.fm - Choose from over 50 domains or use your own

More information about the Fontconfig mailing list