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

Space gets displayed incorrectly #5

Open
dderjoel opened this issue Apr 10, 2019 · 0 comments
Open

Space gets displayed incorrectly #5

dderjoel opened this issue Apr 10, 2019 · 0 comments

Comments

@dderjoel
Copy link

When I was using this project with the Iconic Fonts (Font Awesome 5), I had the space-char rendered incorrectly looking like this.
image

Apparently, this is related to Pango as mentioned here, but the fix somehow did not work.
Anachron/i3blocks#53

However, using a workaround of having a transparent space (or any other char), has the same effect.
I changed https://github.com/mh21/i3-renameworkspaces/blob/master/i3-renameworkspaces.pl#L64
from
$newname = join(': ', $num, join(' ', @{$$ws{'windows'}}) || ());
to
$newname = join(': ', $num, join('<span foreground=\'#00000001\'> <span>', @{$$ws{'windows'}}) || ());

Please consider adding a comment above this line which mentions this issue/workaround.

Also, a note in the readme file referring to the PangoMarkupFormat which is available, would be helpful.

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

1 participant