You are not logged in.

#1 2020-09-11 17:36:05

DeletedUser2103021
Banned
Registered: 2020-09-11
Posts: 3

[SOLVED] Composed emojis not showing as one unique emoji

I have a file that contains every emoji currently available (Unicode 13.0). If I open that file with my web browser, they all show correctly. But if I open it with my terminal (st), not every one of them are showing as they should: https://ibb.co/tJpg7ZS & https://ibb.co/Qv4bkwm. As you can see in the first image, the country flag emojis are not actually showing as a flag, but as the combination of their respective regional indicators. In the second one, emojis are showing as their sequence of emojis.

I have tried to fix this using 'noto-fonts-emoji' package instead 'ttf-joypixels' and I have tried using 'alacrity' instead 'st', but without any luck., Also, I have found no info about this on the web, so I am really out of ideas.

Thank you in advance.

Last edited by DeletedUser2103021 (2020-09-13 18:07:08)

Offline

#2 2020-09-11 18:22:17

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] Composed emojis not showing as one unique emoji

Gnome Terminal has the best emoji support of all Linux terminal emulators, but even that one does not display e.g. the flags correctly. So I think with the regular Linux terminal emulators you might be out of luck as far as composed emojis are concerned.

However, there are also terminal emulators based on Electron, they might work. I have not tested this, but Electron apps are essentially the Chrome rendering engine AFAIK. hyper-bin is in the AUR, so maybe try that one first...

Offline

#3 2020-09-11 19:07:41

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED] Composed emojis not showing as one unique emoji

I don't know which font would provide the flags (I assume it's ttf-joypixels?), but noto-emoj just renders "??" as "CA" ligature (ie. one glyph that says "CA")
You'll have trouble using such ligatures in a TE, because they're geared towards fixed width fonts - a patched version of urxvt that ignores boundaries and just renders what's possible thus gets me "C" and half of an "A", then the box cuts off.

Offline

#4 2020-09-11 20:12:47

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] Composed emojis not showing as one unique emoji

I believe kitty and QTerminal might support ligatures. Ligatures and composite characters do not really fit into a character grid like it is assumed by most terminals, though.

Last edited by progandy (2020-09-11 20:16:18)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2020-09-13 18:06:24

DeletedUser2103021
Banned
Registered: 2020-09-11
Posts: 3

Re: [SOLVED] Composed emojis not showing as one unique emoji

I didn't know about "ligatures", I thought the reason I couldn't see those characters was something wrong in my configuration. So, since I am not interested in changing my terminal, I would say this is solved. Thank you all for your answers.

Last edited by DeletedUser2103021 (2020-09-13 18:06:49)

Offline

#6 2020-09-13 20:12:27

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [SOLVED] Composed emojis not showing as one unique emoji

You could try the ligature patches, no idea how well that will work:

https://st.suckless.org/patches/ligatures/


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#7 2020-09-14 13:03:06

DeletedUser2103021
Banned
Registered: 2020-09-11
Posts: 3

Re: [SOLVED] Composed emojis not showing as one unique emoji

That was a great idea, but sadly it did nothing. Thank you anyway.

Offline

Board footer

Powered by FluxBB