Tired of reading random blog post to figure out how to have working colored emojis that tells you to fetching pirated fonts?
Here’s yet another one, that doesn’t involve pirated fonts!
To enable colored emojis (including non-BMP ones) on Debian or Raspbian or older Ubuntu:
mkdir -p ~/.fonts wget -O ~/.fonts/NotoColorEmoji.ttf https://github.com/googlefonts/noto-emoji/raw/master/fonts/NotoColorEmoji.ttf fc-cache -f -v
This is somewhat the equivalent of running:
sudo apt install fonts-noto-color-emoji
albeit this package potentially has much older font (thus lacks recent emojis). On Raspbian Buster the file is 7Mb while as of October 2020, it is 10Mb in the github repository so there’s a lot of missing code points!
github.com/googlefonts/noto-emoji contains pre-rendered PNGs so you can get the PNG of a single code point with (using lower case hex):
Enjoy 🎉 !