<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <!--
   | This should be after 50-user.conf and 51-local.conf to not override user
   | and local system overrides, and before 60-generic.conf to take precedence
   | over the font-config's default preferables.
   |-->
  <description>Set Noto Sans Math as a preferable font for math</description>

  <alias>
    <family>math</family>
    <prefer>
      <family>Noto Sans Math</family>
    </prefer>
  </alias>

  <match>
    <test name="family">
      <string>math</string>
    </test>
    <test name="family">
      <string>sans-serif</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
      <string>Noto Sans Math</string>
    </edit>
  </match>
</fontconfig>
