I have set Source Code Pro
as my default monospace font and Noto Color Emoji
for emojis, set in fontconfig as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Noto Color Emoji</family>
<family>DejaVu Sans</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Color Emoji</family>
<family>DejaVu Serif</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Color Emoji</family>
<family>Source Code Pro</family>
</prefer>
</alias>
</fontconfig>
This works fine for Gnome apps, but my terminal [Allacritty] still shows some emojis without using the emoji font. I suspect that is due to Source Code Pro
having those glyphs because they work as expected with other fonts (e.g. Inconsolata).
For example ☕ and 💩 emojis:
Is there how to force the emoji font to be used for those glyphs also in terminal?