You are not logged in.
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)
(Termite, same result with Terminator)
Thanks in advance!
NB: I'm not native, so don't mind the syntax errors
Last edited by Math3at1x (2020-04-12 09:41:35)
Offline
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
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
Edit your post and resize the images, as you were asked.
And install a font that has full coverage, like DejaVu.
Offline
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
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:
?
And install a font that has full coverage, like DejaVu.
Offline
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?
Last edited by Math3at1x (2020-04-11 21:56:58)
Offline
*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
Thanks for the information!
I installed noto-fonts-emoji-apple from the AUR and everything works flawlessly...
Have a nice day!
Offline