<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<!-- https://wiki.archlinux.org/title/font_configuration -->
<fontconfig>

  <match target="font">
    <edit name="antialias" mode="assign">
      <bool>true</bool>
    </edit>
  </match>

  <match target="font">
    <edit name="hinting" mode="assign">
      <bool>true</bool>
    </edit>
  </match>

  <match target="font">
    <edit name="autohint" mode="assign">
      <bool>false</bool>
    </edit>
  </match>

  <match target="font">
    <edit name="hintstyle" mode="assign">
      <const>hintslight</const>
    </edit>
  </match>

  <match target="font">
    <edit name="rgba" mode="assign">
      <const>rgb</const>
    </edit>
  </match>

  <match target="font">
    <edit name="lcdfilter" mode="assign">
      <const>lcddefault</const>
    </edit>
  </match>

  <selectfont>
    <rejectfont>
      <pattern>
        <patelt name="scalable">
          <bool>false</bool>
        </patelt>
      </pattern>
    </rejectfont>
  </selectfont>

  <alias>
    <family>serif</family>
    <prefer>
      <family>Noto Serif</family>
      <family>DejaVu Serif</family>
      <family>Bitstream Vera Serif</family>
      <family>TeX Gyre Termes</family>
      <family>Times New Roman</family>
      <family>Thorndale AMT</family>
      <family>Luxi Serif</family>
      <family>Nimbus Roman No9 L</family>
      <family>Nimbus Roman</family>
      <family>Times</family>
    </prefer>
  </alias>

  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>Noto Sans</family>
      <family>DejaVu Sans</family>
      <family>Bitstream Vera Sans</family>
      <family>TeX Gyre Heros</family>
      <family>Verdana</family>
      <family>Arial</family>
      <family>Albany AMT</family>
      <family>Luxi Sans</family>
      <family>Nimbus Sans L</family>
      <family>Nimbus Sans</family>
      <family>Helvetica</family>
      <family>Lucida Sans Unicode</family>
    </prefer>
  </alias>

  <alias>
    <family>monospace</family>
    <prefer>
      <family>Go Mono</family>
      <family>Iosevka Term Extended</family>
      <family>Iosevka Term</family>
      <family>Noto Sans Mono</family>
      <family>DejaVu Sans Mono</family>
      <family>Bitstream Vera Sans Mono</family>
      <family>TeX Gyre Cursor</family>
      <family>Inconsolata</family>
      <family>Andale Mono</family>
      <family>Courier Prime</family>
      <family>Courier New</family>
      <family>Cumberland AMT</family>
      <family>Luxi Mono</family>
      <family>Nimbus Mono L</family>
      <family>Nimbus Mono</family>
      <family>Nimbus Mono PS</family>
      <family>Courier</family>
    </prefer>
  </alias>

  <alias>
    <family>fantasy</family>
    <prefer>
      <family>Impact</family>
      <family>Copperplate Gothic Std</family>
      <family>Cooper Std</family>
      <family>Bauhaus Std</family>
    </prefer>
  </alias>

  <alias>
    <family>cursive</family>
    <prefer>
      <family>ITC Zapf Chancery Std</family>
      <family>Zapfino</family>
      <family>Comic Sans MS</family>
    </prefer>
  </alias>

</fontconfig>