Skip to content

Instantly share code, notes, and snippets.

@marek-saji
Last active November 20, 2017 03:18
Show Gist options
  • Save marek-saji/fc1c87aa3a6c144951e5d59e903326a2 to your computer and use it in GitHub Desktop.
Save marek-saji/fc1c87aa3a6c144951e5d59e903326a2 to your computer and use it in GitHub Desktop.
Use Noto Emoji on Linux.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- prepend color emoji to all -->
<match>
<edit name="family" mode="prepend"><string>Noto Color Emoji</string></edit>
</match>
<!-- prepend black and white emoji if monospace font is used -->
<match>
<family>monospace</family>
<edit name="family" mode="prepend"><string>Noto Emoji</string></edit>
</match>
<!-- apple font name alias -->
<alias>
<family>Apple Color Emoji</family>
<prefer><family>Noto Color Emoji</family></prefer>
</alias>
<!-- gedit uses color emoji. This does not seem to be working 😩 -->
<match>
<test name="prgname"><string>gedit</string></test>
<edit name="family" mode="prepend"><string>Noto Emoji</string></edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment