You are not logged in.

#1 2022-03-15 21:53:33

wviana
Member
From: Brazil
Registered: 2021-09-03
Posts: 40

[SOLVED] xfce4-terminal not showing glyphs.

Hello,

I've tried in many different terminal emulators, non of them was able to display glyphs.
I've downloaded and installed this FiraCode font .
Installed it clicking twice and selecting install.

I test it using

exa --icons

and also typing

=>

that should be converted into a nice arrow.

To check if xfce4-terminal is loading the correct font I using the follow ( with output )

strace xfce4-terminal --disable-server 2>&1 | rg -i ttf
openat(AT_FDCWD, "/usr/share/fonts/TTF/FiraCode-Regular.ttf", O_RDONLY) = 12
access("/usr/share/fonts/TTF/FiraCode-Regular.ttf", R_OK) = 0
openat(AT_FDCWD, "/usr/share/fonts/TTF/FiraCode-Regular.ttf", O_RDONLY) = 12
openat(AT_FDCWD, "/usr/share/fonts/TTF/FiraCode-Bold.ttf", O_RDONLY) = 12
access("/usr/share/fonts/TTF/FiraCode-Bold.ttf", R_OK) = 0
openat(AT_FDCWD, "/usr/share/fonts/TTF/FiraCode-Bold.ttf", O_RDONLY) = 12
access("/usr/share/fonts/TTF/FiraCode-Regular.ttf", R_OK) = 0
access("/usr/share/fonts/TTF/FiraCode-Bold.ttf", R_OK) = 0
openat(AT_FDCWD, "/usr/share/fonts/TTF/DejaVuSans.ttf", O_RDONLY) = 19
access("/usr/share/fonts/TTF/DejaVuSans.ttf", R_OK) = 0
openat(AT_FDCWD, "/usr/share/fonts/TTF/DejaVuSans.ttf", O_RDONLY) = 19

Here is possible to notice the the font is been loaded.

Last edited by wviana (2022-03-15 23:48:00)

Offline

#2 2022-03-15 23:37:35

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: [SOLVED] xfce4-terminal not showing glyphs.

You double clicked what exactly to install them?

Something that might be misleading is that even though that appears to be site for the Nerd Font version of the fonts, they appeared to have left the README on the repo unchanged from the non-patched version of the fonts, so the links on it point to the non-patched version's repo. So it might be that you clicked a link on there, went to the site for the unpatched versions, and installed them.

When I installed the Nerd Font varieties, their file names weren't as simple as "/usr/share/fonts/TTF/FiraCode-Regular.ttf".

But I installed them from the AUR using this package here: https://aur.archlinux.org/packages/nerd-fonts-fira-code

You might try installing that and make sure xfce-terminal is configured to use the versions that have "Nerd Font" in their name.

Note, however, that not all terminal emulators support ligatures like `=>`. Make sure yours does. (I use kitty and it does.)

Edit: look here for a list of terminals that support ligatures. xfce4-terminal does not support ligatures, unfortunately.

Last edited by frabjous (2022-03-15 23:41:43)

Offline

#3 2022-03-15 23:47:35

wviana
Member
From: Brazil
Registered: 2021-09-03
Posts: 40

Re: [SOLVED] xfce4-terminal not showing glyphs.

Ooooh, that was it. this is why it wasn't working anywhere,.
Installed from the AUR you pointed out.
Thank you very much.

Offline

Board footer

Powered by FluxBB