On 2025-05-26 17:09, Giovanni Biscuolo wrote:
Hello Ekaitz,
On Mon, May 26 2025, Ekaitz Zarraga wrote:
On 2025-05-26 16:03, Giovanni Biscuolo wrote:
[...]
I'm experiencing a strange behaviour with UTF-8 symbols in all Guix
System installed apps I'm testing that I do not experience with the same
apps installed on Debian (via guix as a package manager).
[...]
I'm going to answer with something probably very stupid but are you sure
the font that is displaying the battery is DejaVu?
Not stupid at all!!!
I think they are falling back to some font that actually has the
symbol.
Oh my!!! Yes! The "font subsystem" falls back to the first (in what
order?) font that actually have that symbol
Please do you (or any other reader) know where is the "font fallback"
mechanism documented? I never thought that font rendering do a fall
back, I need to understand how...
For example: Noto.
I have your very same symbol in the i3 bar and I think it comes from the
Noto font.
....almost! :-)
I installed "font-google-noto" and (afrer login/logout) my i3status bar
started displaying the "wifi" and "ethernet" symbols... but not
"battery"; the same happened when opening
https://unicodeplus.com/U+1F50B in chromium
I had some missing gliphs in the past but since I installed it they
worked. Also Unifont has all of them, but it's kind of a weird font (I
like it a lot).
Oh yes! Installing "font-gnu-unifont" solved "the battery symbol
problem" both in i3status bar, chomium, pluma...
And yes, I find GNU Unifont _symbols_ *very* well done.
Ekaitz you saved my day: thank you very much for your "stupid" answer!
:-D
Happy hacking! Gio'
I don't know the mechanism but the ArchLinux wiki seems to know:
https://wiki.archlinux.org/title/Fonts#Fallback_font_order
:)
Now I'll read and we'll both learn something today. Isn't free software
amazing?
Cheers,
Ekaitz