bar
bar copied to clipboard
Kerning issues?
Here is an example of the same font (TeX Gyre Heros) rendered in a Firefox tab and in lemonbar (top). You can see that in Firefox (and its GTK menus), kerning has been applied to close the gap between the "T" and "w" which is not present in lemonbar. I'm using the infinality-bundle package for Arch Linux to handle my font rendering. I'm not really sure what's responsible for the discrepancy but I thought I should make a post in case there's a bug with the xft patch.
My guess is that this is caused by how lemonbar draws strings (character by character). The font rendering library can't apply any kerning that way.
Could you look at #12 and test if these changes fix the kerning? Since the original pr branch is deleted, try:
curl https://github.com/krypt-n/bar/pull/12.patch | git am
Curl returned a redirect error but using https://patch-diff.githubusercontent.com/raw/krypt-n/bar/pull/12.patch worked. It doesn't seem to have affected kerning unfortunately.
Could this also be related to font-awesome icons getting cut off on certain icons?
Here's a zoomed gif showing the difference between the icon in my bar and the icon on the font awesome page: