<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
:
    <!-- This adds Noto Color Emoji as a fallback font for all of the default font families;
         When enabled any **missing** glyphs from the system font will be rendered using Noto Color Emoji in (e.g.)
         Konsole, Firefox, etc. It _might_ impact web rendering if other fonts would usually be preferred
         but as it's only doing replacements for missing glyphs we're really just supplementing
         the existing fallback logic -->

    <match target="pattern">
        <test name="family"><string>sans</string></test>
        <edit name="family" mode="append"><string>Noto Color Emoji</string></edit>
    </match>

    <match target="pattern">
        <test name="family"><string>serif</string></test>
        <edit name="family" mode="append"><string>Noto Color Emoji</string></edit>
    </match>

    <match target="pattern">
        <test name="family"><string>sans-serif</string></test>
        <edit name="family" mode="append"><string>Noto Color Emoji</string></edit>
    </match>

    <match target="pattern">
        <test name="family"><string>monospace</string></test>
        <edit name="family" mode="append"><string>Noto Color Emoji</string></edit>
    </match>

 </fontconfig>
