Install fonts:
- Bitstream Vera
- Noto Color Emoji
We set these fonts as the fallbacks, bitstream has the normal characters, Noto has the emoji
We don't want DejaVu to be used as a fallback, as this has overriding emoji
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<match> | |
<test name="family"><string>serif</string></test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Bitstream Vera Serif</string> | |
<string>Noto Color Emoji</string> | |
</edit> | |
</match> | |
<match> | |
<test name="family"><string>sans-serif</string></test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Bitstream Vera Sans</string> | |
<string>Noto Color Emoji</string> | |
</edit> | |
</match> | |
<match> | |
<test name="family"><string>Apple Color Emoji</string></test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Noto Color Emoji</string> | |
</edit> | |
</match> | |
<match> | |
<test name="family"><string>Segoe UI Emoji</string></test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Noto Color Emoji</string> | |
</edit> | |
</match> | |
</fontconfig> |