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

  <!-- Generic name assignment -->
  <alias>
    <family>Nimbus Roman</family>
    <default>
      <family>serif</family>
    </default>
  </alias>

  <!-- Original PostScript base font mapping -->
  <alias binding="same">
    <family>Nimbus Roman</family>
    <default>
      <family>Times</family>
    </default>
  </alias>

  <!-- Font substitution rules -->
  <alias binding="same">
    <family>Times</family>
    <accept>
      <family>Nimbus Roman</family>
    </accept>
  </alias>

  <alias binding="same">
    <family>TeX Gyre Termes</family>
    <accept>
      <family>Nimbus Roman</family>
    </accept>
  </alias>
</fontconfig>
