Last active
August 6, 2019 16:27
-
-
Save vcaen/b08a4eb8ec7a21f97aadc02a97f95bb9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Copy paste the commands below to download Noto Color Emoji and install it. | |
(_FONTCONFIG='<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- Add emoji generic family --> | |
<alias binding="strong"> | |
<family>emoji</family> | |
<default><family>Noto Color Emoji</family></default> | |
</alias> | |
<!-- Aliases for the other emoji fonts --> | |
<alias binding="strong"> | |
<family>Apple Color Emoji</family> | |
<prefer><family>Noto Color Emoji</family></prefer> | |
</alias> | |
<alias binding="strong"> | |
<family>Segoe UI Emoji</family> | |
<prefer><family>Noto Color Emoji</family></prefer> | |
</alias> | |
<!-- Do not allow any app to use Symbola, ever --> | |
<selectfont> | |
<rejectfont> | |
<pattern> | |
<patelt name="family"> | |
<string>Symbola</string> | |
</patelt> | |
</pattern> | |
</rejectfont> | |
</selectfont> | |
</fontconfig>' | |
pushd ~/.local/share/fonts && \ | |
curl -O https://github.com/googlefonts/noto-emoji/raw/master/fonts/NotoColorEmoji.ttf && \ | |
mkdir -p ~/.config/fontconfig/conf.d && \ | |
echo $_FONTCONFIG > ~/.config/fontconfig/conf.d/70-android-emoji.conf && \ | |
fc-cache -f;) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment