Skip to content
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

i3bar space broken #3

Closed
belak opened this issue Jul 28, 2015 · 9 comments
Closed

i3bar space broken #3

belak opened this issue Jul 28, 2015 · 9 comments

Comments

@belak
Copy link

belak commented Jul 28, 2015

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?

@stark
Copy link
Owner

stark commented Jul 28, 2015

Weird behavior. Can you please attach a screenshot of this behavior and the respective i3bar.conf where you're using the glyphs ?

@fletcherw
Copy link

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"
}

This is what it looks like
issue

I'm running i3status 2.8, i3/i3bar 4.10.3, and my normal i3bar font is Terminus

@brennovich
Copy link

brennovich commented Jan 5, 2018

I'm still having issues with blank char after Siji glyph. I managed to fix by adding tab chaining FontAwesome 4

2018-01-05-04 23 50

@diffficult
Copy link

diffficult commented May 6, 2018

@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.

@kootenpv
Copy link

kootenpv commented May 6, 2018

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

@diffficult
Copy link

@kootenpv ohh ok, I see it know. Missed that as well.

@brennovich
Copy link

Exactly, you'll need this old version of font-awesome, but soft spaces still won't work. I had to use tabs!

# i3 font config
font pango: FontAwesome, Scientifica, Siji 7
cpu_temperature 0 {
	format = "\	%degrees°C"
}

i3status config

this > is my vim displaying tabs ;)

@streambag
Copy link

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.

@brennovich
Copy link

Thanks @streambag it worked for me as well :)

  1. Using u+202d + space
  2. Removed FontAwesome from my font chain

I think it's better, one less font, one less dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants