You are not logged in.
I've recently installed Arch with xorg on Thinkpad T14 G3 AMD. Since I've had previously a setup that worked I've slowly migrated it and configured, but one thing that sticks out is the size of the font icons for some reason take more space then they should. To better explain what I mean I'll post a screenshot. On the SS you can clearly see that the selection takes less space then the actual screenshot

Font is from nerd-fonts which I've manually installed through install.sh script.
Anyone has an idea what could be the problem? Let me know if any other info would be useful ![]()
Last edited by ollosh (2022-09-22 15:49:19)
Offline
That's because the battery symbol takes more than 2 bytes in UTF-8.
See @Seth's answer.
Last edited by schard (2022-09-22 00:07:27)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Hmm ok, that something. Do you think there is a reason why it was behaving 'normally' in my previous system?
Offline
The problem rather sems to be that the battery icon is resolved from a variable width font?
Which font do you use exactly?
Offline
I'm using FuraMono Nerd Font for these icons specifically
Offline
There're 4 of them?
https://github.com/ryanoasis/nerd-fonts … r/complete
fc-list | grep -i furaAlso which utf-8 codepoint is any of those batteries in that font (I assume it's somewhere in the private range)?
Edit: my guess is btw. since there's an explicit "Mono" version, that one will have the icons in monospace while the other one has the FiraMono font, but the patched on icons use a variable width - and that'd be the one you end up using.
Last edited by seth (2022-09-20 20:39:08)
Offline
Yeah, you are right, Mono version is working correctly!
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Got it! Thanks for the reminder ![]()
Offline