You are not logged in.

#1 2021-02-09 12:25:39

PatrikTrefil
Member
Registered: 2021-02-09
Posts: 2
Website

DWM (Status Bar - DwmBlocks) Flag Emoji support

Hey there, I am trying to display flag emojis in my status bar (DwmBlocks), but so far I have been unsuccessful. I have tried multiple emoji fonts, but none of them display proper flags, despite their claims to support it. I believe it might be a problem of the X window title itself. Anyway, here is my font config from config.h:

static const char *fonts[]          = { "Iosevka Semibold:size=16:antialias=true:autohint=true",
  "Twitter Color Emoji:size=16"
};
static const char dmenufont[]       = "Twitter Color Emoji:size=16";

Other emojis works fine.

Offline

#2 2021-03-11 05:50:20

Errelin
Member
Registered: 2021-03-11
Posts: 1

Re: DWM (Status Bar - DwmBlocks) Flag Emoji support

Suckless software seem to have some problems (say crash) with colored emoji. Luke Smith once worked on this and made a video on Youtube: https://youtu.be/0QkByBugq_4

He refers to a lib called `libxft-bgra` which I believe is already in AUR. You may want also to check out his build of DWM on GitHhub: https://github.com/LukeSmithxyz/dwm

In the last section the README reads:
"This build of dwm does not block color emoji in the status/info bar, so you must install libxft-bgra from the AUR, which fixes a libxft color emoji rendering problem ..."

Offline

#3 2021-03-11 12:08:31

PatrikTrefil
Member
Registered: 2021-02-09
Posts: 2
Website

Re: DWM (Status Bar - DwmBlocks) Flag Emoji support

I have the `libxft-bgra` package installed. As I have said, normal emojis work fine. Only the flag emojis cause problems. They are rendered as 2 separate emoji letters.

Offline

Board footer

Powered by FluxBB