<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <!-- Generic name aliasing -->
  <alias>
    <family>monospace</family>
    <prefer>
      <family>Nimbus Mono PS</family>
    </prefer>
  </alias>

  <!-- Generic name assignment -->
  <alias>
    <family>Nimbus Mono PS</family>
    <default>
      <family>monospace</family>
    </default>
  </alias>

  <!-- Original PostScript base font mapping -->
  <alias binding="same">
    <family>Nimbus Mono PS</family>
    <default>
      <family>Courier</family>
    </default>
  </alias>

  <!-- Font substitution rules -->
  <alias binding="same">
    <family>Courier</family>
    <accept>
      <family>Nimbus Mono PS</family>
    </accept>
  </alias>

  <alias binding="same">
    <family>TeX Gyre Cursor</family>
    <accept>
      <family>Nimbus Mono PS</family>
    </accept>
  </alias>
</fontconfig>
