summaryrefslogtreecommitdiff
path: root/media-fonts/blobmoji/files/75-blobmoji-fallback.conf
blob: 0ff4f5bf264a0a78bf6a370e1f849f0d0ba9cdcc (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 Blobmoji as a fallback font for all of the default font families;
         When enabled any **missing** glyphs from the system font will be rendered using Blobmoji 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>Blobmoji</string></edit>
    </match>

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

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

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

 </fontconfig>