View previous topic :: View next topic |
Author |
Message |
saito Apprentice
Joined: 12 Jun 2021 Posts: 187
|
Posted: Tue May 23, 2023 6:01 pm Post subject: How to install unicode Font in Gentoo?(Solved) |
|
|
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
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 |
|
|
spica Apprentice
Joined: 04 Jun 2021 Posts: 285
|
Posted: Tue May 23, 2023 9:40 pm Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue May 23, 2023 10:59 pm Post subject: |
|
|
Did you enable the font using eselect fontconfig? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
saito Apprentice
Joined: 12 Jun 2021 Posts: 187
|
Posted: Wed May 24, 2023 12:23 pm Post subject: |
|
|
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 |
|
|
|