Last active
September 17, 2022 04:57
-
-
Save samschlegel/9c820b624489a67a035f311852f4633e to your computer and use it in GitHub Desktop.
Fontconfig for Noto Color Emoji fallback
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> | |
<!-- Emoji --> | |
<match target="scan"> | |
<test name="family"> | |
<string>Noto Color Emoji</string> | |
</test> | |
<edit name="scalable" mode="assign"><bool>true</bool></edit> | |
<edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit> | |
<edit name="hinting" mode="assign"><bool>true</bool></edit> | |
<edit name="hintstyle" mode="assign"><const>hintfull</const></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> | |
<alias> | |
<family>emoji</family> | |
<prefer> | |
<family>Noto Color Emoji</family> | |
<family>Noto Emoji</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>Noto Mono</family> | |
<default> | |
<family>monospace</family> | |
</default> | |
</alias> | |
<!-- Monospace --> | |
<alias> | |
<family>monospace</family> | |
<prefer> | |
<family>Noto Mono</family> | |
<family>Noto Color Emoji</family> | |
<family>Noto Emoji</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>Noto Mono</family> | |
<default> | |
<family>monospace</family> | |
</default> | |
</alias> | |
<!-- Sans Serif --> | |
<alias> | |
<family>sans-serif</family> | |
<prefer> | |
<family>Noto Sans</family> | |
<family>Noto Color Emoji</family> | |
<family>Noto Emoji</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>Noto Sans</family> | |
<default> | |
<family>sans-serif</family> | |
</default> | |
</alias> | |
<!-- Serif --> | |
<alias> | |
<family>serif</family> | |
<prefer> | |
<family>Noto Serif</family> | |
<family>Noto Color Emoji</family> | |
<family>Noto Emoji</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>Noto Serif</family> | |
<default> | |
<family>serif</family> | |
</default> | |
</alias> | |
</fontconfig> |
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
noto-fonts | |
noto-fonts-cjk | |
noto-fonts-emoji |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment