Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to install unicode Font in Gentoo?(Solved)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
saito
Apprentice
Apprentice


Joined: 12 Jun 2021
Posts: 187

PostPosted: Tue May 23, 2023 6:01 pm    Post subject: How to install unicode Font in Gentoo?(Solved) Reply with quote

Gentoo Colleagues,

I have just build a joshuto file manager in my Gentoo workstation while I found some unicode invoked by joshuto not rendered correctly, like the file-icon. I have installed efont-unicode already. How can I let the fonts load and rendered correctly. I have tryied
Code:
sudo fc-cache -r

There's not error or warning reported, but I have not get correct rendering for given unicode: ''==U+E5FF.

Yours Saito


Last edited by saito on Wed May 24, 2023 12:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 285

PostPosted: Tue May 23, 2023 9:40 pm    Post subject: Reply with quote

A generic approach if we don't know which font supports this or that character:

https://www.fileformat.info/info/unicode/char/e5ff/fontsupport.htm

As we can see, different fonts show different glyphs.

If you know which font, and it is not in portage, ttf file can be installed in home directory:
Obtain a proper ttf file, copy the file into ~/.fonts directory, run fc-cache -fv without sudo, restart your application.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue May 23, 2023 10:59 pm    Post subject: Reply with quote

Did you enable the font using eselect fontconfig?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
saito
Apprentice
Apprentice


Joined: 12 Jun 2021
Posts: 187

PostPosted: Wed May 24, 2023 12:23 pm    Post subject: Reply with quote

Thanks Gentoo Colleagues,

I have fixed this issue with a proper font named by "nerdfonts" from https://www.nerdfonts.com/font-downloads for `joshuto` a ranger alternative written with rust.

Thanks from saito
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum