You are not logged in.
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
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
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
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
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
You could try the ligature patches, no idea how well that will work:
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
That was a great idea, but sadly it did nothing. Thank you anyway.
Offline