-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separator \ue0b2 vertical alignement and size again #1865
Comments
I believe i tried this back then, but the pango |
It's probably because the Terminus font is doing something better than other fonts with this character a least. i3status-rust is not the only software with this kind of scaling issue. It's a big deal for URxvt for example and you need to try many fonts or convert them first. It always made me think that there is something wrong with a lot of mono fonts intended for console but not really designed for compatibility. I would like more people to confirm the difference and this topic could be closed. |
I mean the characters are basically higher than the area they are supposed to be in, kind of makes sense that it runs into lots of edge cases. I just tried I think adding this as a note to the theming docs would be a good idea. |
After this thread I upgraded my Nerd-Fonts to fixes some issues with my terminal, and because I saw that there was a big update. I patched my own font and it fixed all the scaling in the terminal for me and I use it for i3status-rust too now, no need for terminus, but still a need to change the size of the powerline character:
./font-patcher --use-single-width-glyphs --adjust-line-height --complete --careful --removeligatures --extension ttf --outputdir ../NerdFonts/ --glyphdir src/glyphs/ --progressbars --makegroups --xavgcharwidth 1000 ../Fonts/IBMPlexMono-Regular.ttf
font pango:BlexMono Nerd Font Mono Regular, BlexMono Nerd Font Mono Bold, 10
[theme.overrides]
separator = "<span size='12500'></span>"
[icons]
icons = "material-nf" |
There where many issues with the separator character
\ue0b2
(), like #246. They are all unsolved.I just wanted to let people know that I found one easy solution. Not i3 patching and perfect alignement.
First let me tell you that I tried, Nerd fonts, Powerline fonts, Awesome fonts, different pango parameters and sizes. Nothing worked.
Found the solutoion here : https://grapefruit.neocities.org/hacks/i3blocks_powerline
My i3wm config for
bar
:My i3stats-rust theme config:
Using Terminus font in the i3wm bar config as a fallback did not work. Only using it in the span did the trick for me.
Please test on other hardware and add to doc if it's good.
The text was updated successfully, but these errors were encountered: