i3bar space broken
belak opened this issue · 9 comments
With i3bar, [0020] shows up after every icon I use. It seems like some icon fonts supply a space character so this doesn't happen. Would something like this be a possibility for siji? Or is there another workaround?
Weird behavior. Can you please attach a screenshot of this behavior and the respective i3bar.conf where you're using the glyphs ?
I'm having the same issue. I reproduced it with the following i3status.conf (The superset glyph is the proper email glyph, github just renders it strangely):
# i3status.conf
order += "tztime local"
tztime local {
format = " test"
}
I'm running i3status 2.8, i3/i3bar 4.10.3, and my normal i3bar font is Terminus
@brennovich sorry to necro bump this closed issue but could you explain which character you used to? I've tried using u+0020 from fontawesome but I still get the empty [0020] character error on i3status bar.
I've also had enough. @brennovich could you reveal what exactly you did? I tried those "look a like spaces", but they don't work. Tab works, but is still very ugly most of the time.
EDIT: Ok, so that thread linked explains how to do it. Uninstall ttf-font-awesome, and install ttf-font-awesome-4
@kootenpv ohh ok, I see it know. Missed that as well.
I'd just like to say that I worked around a similar issue in i3status by adding a u+202D
character (left-to-right override) between the icon and the space. The character itself is invisible, but it seems to be enough to get pango to switch to a different font for rendering the space. Perhaps that approach could work here as well.
Thanks @streambag it worked for me as well :)
- Using
u+202d
+space
- Removed
FontAwesome
from my font chain
I think it's better, one less font, one less dependency.