Fix emoji rendering as empty boxes or black-and-white outlines
The packages (noto-fonts, noto-fonts-emoji, noto-fonts-cjk, ttf-nerd-fonts-symbols), fc-cache -fv and the fc-match emoji verification are all correct, and the generic fontconfig <prefer> snippet is standard Arch advice. But the Omarchy guidance understates the damage and the fix collides with what Omarchy ships: omarchy-font-set does not 'fight' ~/.config/fontconfig/fonts.conf, it **overwrites the whole file** (cat > "$HOME/.config/fontconfig/fonts.conf"), so a single omarchy font set deletes everything the record told the user to write. Omarchy 4 also already ships emoji fallback (50-omarchy.conf gives sans-serif, serif and monospace an <accept> of Noto Color Emoji) and noto-fonts-emoji in its base packages, and it assigns Liberation Sans/Serif and JetBrainsMono Nerd Font with binding="strong", which beats the record's <prefer> aliases, so the snippet would also not do what the reader expects there. The 'Qt only loads the first 255 fonts' claim in the cause is folklore I could not verify.
On Omarchy, omarchy font set rewrites the monospace redirect and will fight a hand-written ~/.config/fontconfig/fonts.conf. Prefer changing the font through the Omarchy menu, or expect to reapply your fontconfig after using it.
Symptom
Emoji show up as empty rectangles (tofu), question marks in boxes, or monochrome outlines in Chrome, my terminal and Waybar, while they render fine on my phone. Sometimes CJK text renders in the wrong (Chinese vs Japanese) glyphs too.
Cause
No emoji font in a supported bitmap/color format is installed, or one is installed but is not in the fontconfig fallback chain for the family the app requested. Qt apps in particular only load the first 255 fonts, so the emoji font must be an explicit preferred fallback.
Fix
Install the fonts as written:
sudo pacman -S noto-fonts noto-fonts-emoji noto-fonts-cjk ttf-nerd-fonts-symbols
fc-cache -fv
On most systems that alone fixes tofu, because fontconfig's shipped generic rules already fall back to Noto Color Emoji. Check with fc-match emoji before editing anything.
If you do need explicit fallbacks, write them as a **drop-in**, not as fonts.conf:
mkdir -p ~/.config/fontconfig/conf.d
# ~/.config/fontconfig/conf.d/99-emoji.conf — same <alias>/<prefer> blocks as before
fc-cache -fv
This matters most on Omarchy: omarchy font set rewrites ~/.config/fontconfig/fonts.conf from scratch, so anything you put in that file is lost the next time you change fonts, whereas conf.d/ drop-ins survive. Omarchy 4 also already ships emoji fallback in its packaged 50-omarchy.conf and installs noto-fonts-emoji by default, so on Quattro check fc-match emoji first and change the monospace family with omarchy font set "<family>" rather than by hand.
Verify
fc-match emoji returns NotoColorEmoji.ttf, and fc-list | grep -i emoji shows the font. Echo an emoji in your terminal and it renders in color.