Article 6PQM3 Suckless Software not displaying unicode characters correctly on Gentoo Linux

Suckless Software not displaying unicode characters correctly on Gentoo Linux

by
Leliel
from LinuxQuestions.org on (#6PQM3)
I installed dwm, st and dmenu, none of them display unicode characaters correctly by default. They display a little empty rectangle instead, so I installed 2 NerdFonts, and tried them on dwm. "GohuFont 14 Nerd Font Mono" and "JetBrainsMono Nerd Font Mono", both of them worked with characters from a-Z and 1-9, but had the same problem with emojis and unicode stuff. So I installed "Noto Color Emoji" and added it to the char *fonts[], didn't work either. So I investigated and they said in Arch Linux there's a package in the AUR called libxft-bgra that does fix this. It's not on gentoo's repositories, so I cloned it from https://github.com/uditkarode/libxft-bgra. Didn't work either.

What can I do?

dwm/config.def.h
Code:static const char *fonts[] = { "GohuFont 14 Nerd Font Mono:monospace:size=14", "Noto Color Emoji:size=14" };
static const char dmenufont[] = "GohuFont 14 Nerd Font Mono:monospace:size=14";
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments