Closed Sanrax closed 1 year ago
You are simply missing a font with support for those unicode icons. Try installing noto-fonts-emoji
, if that doesn't help noto-fonts-extra
I installed both of those packages and did a reboot, but they still don't show up for some reason.
Navigating to https://github.com/LinusDierheimer/fastfetch/blob/dev/presets/examples/2 in a browser also comes up with the unknown character icons, both in Chromium and Firefox.
Packages for Noto fonts I have installed:
local/noto-fonts 20220810-1
Google Noto TTF fonts
local/noto-fonts-cjk 20220126-1
Google Noto CJK fonts
local/noto-fonts-emoji 20220920-1
Google Noto emoji fonts
local/noto-fonts-extra 20220810-1
Google Noto TTF fonts - additional variants
Try setting your konsole font to DejaVu Sans Mono
, that is what i am using.
Same thing with DejaVu Mono set
I do think the issue might still be missing fonts. I don't think Noto Emoji would provide the characters shown in example 2, looking at the Noto Emoji font in font viewer. Do you have other emoji-picture related fonts on your system?
> yay -Q | rg -i font
adobe-source-code-pro-fonts 2.038ro+1.058it+1.018var-1
cantarell-fonts 1:0.303.1-1
fontconfig 2:2.14.1-2
gnu-free-fonts 20120503-8
gsfonts 20200910-2
lib32-fontconfig 2:2.14.1-2
libfontenc 1.1.6-1
libxfont2 2.0.6-1
noto-fonts 20220810-1
noto-fonts-cjk 20220126-1
noto-fonts-emoji 20220920-1
noto-fonts-extra 20220810-1
texlive-fontsextra 2022.62977-1
xorg-fonts-encodings 1.0.6-1
Only real difference I see is texlive and gnu-free-fonts:
adobe-source-code-pro-fonts 2.038ro+1.058it+1.018var-1
cantarell-fonts 1:0.303.1-1
fontconfig 2:2.14.1-2
gsfonts 20200910-2
libfontenc 1.1.6-1
libxfont2 2.0.6-1
noto-fonts 20220810-1
noto-fonts-cjk 20220126-1
noto-fonts-emoji 20220920-1
noto-fonts-extra 20220810-1
xorg-font-util 1.3.3-1
xorg-fonts-100dpi 1.0.3-8
xorg-fonts-75dpi 1.0.3-8
xorg-fonts-alias-100dpi 1.0.4-1
xorg-fonts-alias-75dpi 1.0.4-1
xorg-fonts-encodings 1.0.6-1
xorg-mkfontscale 1.2.2-1
Go to Konsole Settings --> Edit current profile --> Advanced --> Font encoding. Is it set to UTF-8
? Wording is probably a bit different as i use german UI.
Yup, default character encoding is set to UTF-8.
Interestingly, even my phone renders the characters of example2 as missing characters.
I found this unicode: https://codepoints.net/U+1F4BB
And was able to copy it to my terminal and echo it, so clearly my unicode in the terminal does work fine. I wonder where you got some of these characters honestly. For example, I can't find the CPU Unicode character anywhere.
Ok well, I think I'm just going to use the Neofetch preset for now, and maybe try to replace the chars used in example2 with ones I can render on my system later, and try to get that config working.
Even if I can't, fastfetch is miles better than neofetch, and I don't have to wait to for the output to show up anymore. For that I am very thankful. I'll drop you a donation as thanks for this software.
I wonder where you got some of these characters honestly
I copied them from here: https://github.com/Chick2D/neofetch-themes.
I'll drop you a donation
Thanks a lot!
Oh, thanks for the link. I'll check it out myself later, maybe I can get it to work.
I wonder where you got some of these characters honestly
I copied them from here: https://github.com/Chick2D/neofetch-themes.
I'll drop you a donation
Thanks a lot!
Yup, this is it!
It WAS the fonts, that repo tells you to install custom fonts to make the icons render. Some of them are not packages but copied in manually into your system, so that's why it might've not shown up in your yay output.
General description of bug:
Icons shown in example 2 show up as boxes when run on my system, like a missing font. Am I supposed to install some font for this to work? I looked for a wiki, but there seems to be no documentation for this program other than the --help command. I want to base my output off of Example 2's design, but can't do that since the characters don't output correctly.
Often helpful questions:
Output of
fastfetch --version
:Output of
fastfetch --load-config devinfo
:Output of
fastfetch --load-config devinfo-verbose
:Output of
fastfetch --list-features
: