Last active
January 25, 2020 15:54
-
-
Save Brottweiler/29e558e31922e5c2fb2e0df793d95db4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<alias> | |
<!-- Change the string in the family tag to whatever font --> | |
<family>serif</family> | |
<prefer><family>Noto Serif</family></prefer> | |
</alias> | |
<alias> | |
<family>sans-serif</family> | |
<prefer><family>Noto Sans</family></prefer> | |
</alias> | |
<alias> | |
<family>sans</family> | |
<prefer><family>Noto Sans</family></prefer> | |
</alias> | |
<alias> | |
<family>monospace</family> | |
<prefer><family>Noto Mono</family></prefer> | |
</alias> | |
<!-- This adds Noto Color Emoji to the font families sans, serif, sans-serif and monospace --> | |
<match target="pattern"> | |
<test name="family"><string>monospace</string></test> | |
<edit name="family" mode="append"><string>Noto Color Emoji</string></edit> | |
</match> | |
<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> | |
<!-- Discord loads the system's sans-serif font family, add Noto Color Emoji to it --> | |
<match target="pattern"> | |
<test name="family"><string>sans-serif</string></test> | |
<edit name="family" mode="append"><string>Noto Color Emoji</string></edit> | |
</match> | |
<!-- Add emoji generic family --> | |
<alias binding="strong"> | |
<family>emoji</family> | |
<default><family>Noto Color Emoji</family></default> | |
</alias> | |
<!-- Alias requests for the other emoji fonts --> | |
<alias binding="strong"> | |
<family>Apple Color Emoji</family> | |
<prefer><family>Noto Color Emoji</family></prefer> | |
<default><family>emoji</family></default> | |
</alias> | |
<alias binding="strong"> | |
<family>Segoe UI Emoji</family> | |
<prefer><family>Noto Color Emoji</family></prefer> | |
<default><family>emoji</family></default> | |
</alias> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment