<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<!-- ~/.config/fontconfig/fonts.conf -->
<fontconfig>
  <dir prefix="xdg">fonts</dir>
  <alias><family>serif</family><prefer><family>Ferro Rosso</family></prefer></alias>
  <alias><family>sans-serif</family><prefer><family>FiraGO</family></prefer></alias>
  <alias>
    <family>monospace</family>
    <prefer>
      <family>Fira Code</family>
    </prefer>
  </alias>

  <!-- Add emoji generic family -->
  <alias binding="strong">
    <family>emoji</family>
    <default><family>Twitter Color Emoji</family></default>
  </alias>

  <!-- Alias requests for the other emoji fonts -->
  <alias binding="strong">
    <family>Apple Color Emoji</family>
    <prefer><family>Twitter Color Emoji</family></prefer>
    <default><family>sans-serif</family></default>
  </alias>
  <alias binding="strong">
    <family>Segoe UI Emoji</family>
    <prefer><family>Twitter Color Emoji</family></prefer>
    <default><family>sans-serif</family></default>
  </alias>
  <alias binding="strong">
    <family>Noto Color Emoji</family>
    <prefer><family>Twitter Color Emoji</family></prefer>
    <default><family>sans-serif</family></default>
  </alias>

<selectfont>
  <rejectfont>
    <!-- <glob>/usr/share/fonts/adobe-source-code-pro/*</glob> -->

    <glob>/usr/share/fonts/*comfortaa*/*</glob>
    <glob>/usr/share/fonts/TTF/*oboto*</glob>
    <glob>/usr/share/fonts/abattis-cantarell-fonts/*</glob>
    <glob>/usr/share/fonts/default/Type1/*</glob>
    <glob>/usr/share/fonts/dejavu*/*</glob>
    <glob>/usr/share/fonts/google-droid-sans-fonts/*</glob>
    <glob>/usr/share/fonts/google-noto-vf/NotoSans-Italic*</glob>
    <glob>/usr/share/fonts/google-noto-vf/NotoSans[*</glob>
    <glob>/usr/share/fonts/gsfonts/*</glob>
    <glob>/usr/share/fonts/liberation*/*</glob>
    <glob>/usr/share/fonts/urw-base35/*</glob>

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

<match target="pattern"><test qual="any" name="family"><string>Cantarell</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>

<match target="pattern"><test qual="any" name="family"><string>Arial</string></test> <edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit> </match>
<match target="pattern"><test qual="any" name="family"><string>Segoe UI Semibold</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>
<match target="pattern"><test qual="any" name="family"><string>Segoe UI Web (West European)</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>
<match target="pattern"><test qual="any" name="family"><string>Segoe UI</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>

<match target="pattern"><test qual="any" name="family"><string>RobotoDraft</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>
<match target="pattern"><test qual="any" name="family"><string>Roboto</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>

<match target="pattern"><test qual="any" name="family"><string>Noto Sans</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>
<match target="pattern"><test qual="any" name="family"><string>Google Sans</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>
<match target="pattern"><test qual="any" name="family"><string>Droid Sans</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>

<match target="pattern"><test qual="any" name="family"><string>Open Sans</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>

<!-- grafana 9.4 -->
<match target="pattern"><test qual="any" name="family"><string>Inter</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>
<!-- github -->
<match target="pattern"><test qual="any" name="family"><string>Alliance No.1</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>
<!-- slack -->
<match target="pattern"><test qual="any" name="family"><string>Slack-Lato</string></test><edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit></match>

<match target="pattern">
  <test qual="any" name="family"><string>DejaVu Sans</string></test>
  <edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit>
</match>
<match target="pattern">
  <test qual="any" name="family"><string>Helvetica</string></test>
  <edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit>
</match>

<match target="font">
  <edit name="hinting" mode="assign">
    <bool>true</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>none</const>
  </edit>
</match>
</fontconfig>