I have a script that uses puppeteer to take screenshot of DOM components and outputs an image. Everything works fine on MacOS but when I run this on Ubuntu the emojis become a rectangle. Does anyone know why is this happening?
Multiuple sources (1, 2, 3) suggest using fonts-noto-color-emoji
font to remedy this on Ubuntu:
sudo apt install fonts-noto-color-emoji
Update: it is possible to do so starting with Ubuntu 18.04