<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- conf.d/sub-pixel.conf -->
<fontconfig>
<!--
 AMT provides metric and shape compatible fonts for these three web font
 families.
 However, these fonts are quite ugly and do not render well on-screen,
 so we avoid matching them if the application said `anymetrics'; in that
 case, a more generic font with different metrics but better appearance
 will be used.
 -->
       	<match target="pattern">
          <test name="family">
            <string>Times New Roman</string>
          </test>
          <test name="anymetrics" qual="all" compare="not_eq">
            <bool>true</bool>
          </test>
          <edit name="family" mode="append">
            <string>Thorndale AMT</string>
          </edit>
     	</match>
       	<match target="pattern">
          <test name="family">
            <string>Arial</string>
          </test>
          <test name="anymetrics" qual="all" compare="not_eq">
            <bool>true</bool>
          </test>
          <edit name="family" mode="append">
            <string>Albany AMT</string>
          </edit>
     	</match>
       	<match target="pattern">
          <test name="family">
            <string>Courier New</string>
          </test>
          <test name="anymetrics" qual="all" compare="not_eq">
            <bool>true</bool>
          </test>
          <edit name="family" mode="append">
            <string>Cumberland AMT</string>
          </edit>
     	</match>
</fontconfig>
