summaryrefslogtreecommitdiff
blob: deb9c965b8b58497e91fb52b8360a601efc3e2c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?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>