You are not logged in.

#1 2020-04-11 16:52:57

Math3at1x
Member
Registered: 2020-04-11
Posts: 5

[Solved] Certain characters not displayed (Emoji issue)

Hello everyone,
Some characters (icons, emojis...) are not displayed on my i3-gaps powered computer. Instead, a square is displayed. Initially, I thought this was an Alacritty problem, until I encountered the same issue on Brave. The problem then must be system-wise.
I searched on the ArchWiki to find any relating issues but I didn't found any. The only troubleshotting entry on the ArchWiki page of i3-gaps that mentionned any issue with icons was Icon Tray not visible.
So, I know guess this is an encoding issue but I have absolutely have no idea on how to fix this... Do you how you could help me?
Example: The following image should display a python logo:
Alacritty
(Alacritty)
Termite
(Termite, same result with Terminator)

Thanks in advance!


NB: I'm not native, so don't mind the syntax errors smile

Last edited by Math3at1x (2020-04-12 09:41:35)

Offline

#2 2020-04-11 17:50:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,370
Website

Re: [Solved] Certain characters not displayed (Emoji issue)

Please resize your images or better yet just remove them as they do not show anything of value.  You have not provided context for those images, so we don't know what is supposed to be displayed where the squares are.  We know what squares look like.

What characters are failing to be displayed?

What font(s) have you installed?  Which are you using in your terminal?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-04-11 19:00:00

Math3at1x
Member
Registered: 2020-04-11
Posts: 5

Re: [Solved] Certain characters not displayed (Emoji issue)

Sorry for the lack of informations...
The piece of software shown on the first image is starship, a PS1 customizer. It is supposed to print the Python icon because Python code is in this directory. It does this with lots of things, which is pretty handy...
Only special characters like Python's logo or emojis are not being displayed... I have installed noto-fonts, brave and firefox, which are full of fonts... I also use zsh, though I don't think this is helpful because emojis in my web browser (brave) weren't shown as well...
I hope I gave you enough informations.

Offline

#4 2020-04-11 19:38:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Certain characters not displayed (Emoji issue)

Edit your post and resize the images, as you were asked.

And install a font that has full coverage, like DejaVu.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-04-11 20:29:43

Math3at1x
Member
Registered: 2020-04-11
Posts: 5

Re: [Solved] Certain characters not displayed (Emoji issue)

Sorry, I forgot to resize, now it's done.. Have a look at the the first post, I displayed the result with other terminal emulators...
I tried various fonts, but this does not improve the situation. I use the official guide of my terminal emulator... The issue remains the same with the browser that has a lot of fonts. I don't think the problem is from there... Do you have some more ideas?

Last edited by Math3at1x (2020-04-11 20:41:06)

Offline

#6 2020-04-11 20:54:36

seth
Member
Registered: 2012-09-03
Posts: 64,524

Re: [Solved] Certain characters not displayed (Emoji issue)

brave and firefox, which are full of fonts

This is complete nonsense. Browsers are not "full of fonts" and the two mentioned have only a generic dependency on ttf-font which will be resolved by noto-fonts.

You also have not actually specified the missing glyphs, but I assume

FC_DEBUG=4 pango-view --font=sans -t ? | grep family: 

?

Jason wrote:

And install a font that has full coverage, like DejaVu.

Offline

#7 2020-04-11 21:38:22

Math3at1x
Member
Registered: 2020-04-11
Posts: 5

Re: [Solved] Certain characters not displayed (Emoji issue)

Sorry for my nonsense, I am not very technical and I'm still "learning" Linux. Setting up ArchLinux teaches me a lot.. Anyway thanks for the note!
I tried running your command, but it says:

zsh: no matches found: ?

I tried to replace the interrogation mark with other characters and it displayed it. Followed by the grep command, I had a list with all the fonts contained in DejaVu. Nevertheless, I can't paste the Python logo as I don't now how it is. The gliph is not part of DejaVu. Here's a configuration page of Starship you could be interested in, the program that should use the Python gliph. If the logo is displayed on your computer, can you tell me the name of your font?

EDIT: I just checked, and the emoji is displayed on my iPhone... the issue seems to be clear now... is it possible to install Apple emojis on Linux?
snake

Last edited by Math3at1x (2020-04-11 21:56:58)

Offline

#8 2020-04-12 06:19:04

seth
Member
Registered: 2012-09-03
Posts: 64,524

Re: [Solved] Certain characters not displayed (Emoji issue)

*grrr* the bbs breaks the char…
This one: https://emojipedia.org/snake/

You'll need an emoji font from either the repo (noto-emoji) or the AUR.
Because they're all fat and colorful, I somewhen fished AndroidEmoji.ttf out of https://android.googlesource.com/platfo … nts.tar.gz

Offline

#9 2020-04-12 09:40:10

Math3at1x
Member
Registered: 2020-04-11
Posts: 5

Re: [Solved] Certain characters not displayed (Emoji issue)

Thanks for the information!
I installed noto-fonts-emoji-apple from the AUR and everything works flawlessly...
Have a nice day!

Offline

Board footer

Powered by FluxBB