Comment 1 for bug 1192175

Revision history for this message
BubuXP (bubuxp) wrote :

Correcting the above bug may introduce this issue:
https://bugs.freedesktop.org/show_bug.cgi?id=60748
that has been fixed by using target="pattern" instead of target="font".

For example, the 10-antialias.conf file at the moment is:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Use the Antialiasing -->
  <match target="font">
    <edit name="antialias" mode="assign"><bool>true</bool></edit>
  </match>
</fontconfig>

it should become:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Use the Antialiasing -->
  <match target="pattern">
    <edit name="antialias" mode="append">
      <bool>true</bool>
    </edit>
  </match>
</fontconfig>