Skip to content

Having a font rendering issue that I can't understand.

So I have a weird font rendering issue. This works fine in my computers. I recently reinstalled arch on my laptop.

Now, ncurses apps (ranger, ncmpcpp, etc.) whenever they try to render nerd font icons, they show either no glyphs, or some other glyphs. ( the right arrow appears as ~V for example in ncmpcpp, and i can't get devicons to work in ranger)

I do have the fallback fonts working quite well though; zsh prompt powerlevel9k renders correct glyphs, in neovim i can see the glyphs fine in my config files etc. Can anyone figure out what's going on?

1 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
96axtm

Author

22
posts
481
comments
1
media
View profile

6 comments

Can you try adding an entry like this in fonts.conf and see if it works ? I assume you are using Gohu GohuFont in terminal.

<alias>
        <family>Gohu GohuFont</family>
        <prefer><family>FuraCode Nerd Font Mono</family></prefer>
</alias>
2 points

That did not change anything. I'm using monospace as font, which gives me the correct gohufont glyphs

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.