<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

  <!--
      Reject bitmap fonts.  LilyPond cannot use them.
  -->
  <selectfont>
    <rejectfont>
      <pattern>
        <patelt name="outline"><bool>false</bool></patelt>
      </pattern>
    </rejectfont>
  </selectfont>

  <!--
      Reject OpenType Variation Fonts, which LilyPond doesn't support either.
  -->
  <selectfont>
    <rejectfont>
      <pattern>
        <patelt name="variable"><bool>true</bool></patelt>
      </pattern>
    </rejectfont>
  </selectfont>

  <!--
       Force DPI setting to the default value of 1200; some systems / users
       configure different values globally which breaks font rendering.
  -->
  <match target="pattern">
    <edit name="dpi" mode="assign">
      <double>1200</double>
    </edit>
  </match>

</fontconfig>
