bar icon indicating copy to clipboard operation
bar copied to clipboard

Does bar still lack XFT support?

Open vendion opened this issue 9 years ago • 9 comments

I know there has been a lot of back and forth about this issue, but where things ended up are fairly unclear. I'm trying to use bar with two TTF fonts "Roboto Slab" and "FontAwesome", both are installed on my system:

[vendion@Fail4][~]% fc-list | grep 'Roboto Slab'
/usr/share/fonts/TTF/RobotoSlab-Light.ttf: Roboto Slab:style=Light
/usr/share/fonts/TTF/RobotoSlab-Regular.ttf: Roboto Slab:style=Regular
/usr/share/fonts/TTF/RobotoSlab-Thin.ttf: Roboto Slab:style=Thin
/usr/share/fonts/TTF/RobotoSlab-Bold.ttf: Roboto Slab:style=Bold
[vendion@Fail4][~]% fc-list | grep 'FontAwesome'
/usr/share/fonts/TTF/fontawesome-webfont.ttf: FontAwesome:style=Regular
[vendion@Fail4][~]% 

I have even tried different syntaxes for telling bar to use them -f "Roboto Slab-10" -f "FontAwesome-10", -f "Roboto Slab:size=10" -f "FontAwesome:size=10", and -f "xft:Roboto Slab:size=10" -f "FontAwesome:size=10". I've even tried this syntax -*-Roboto Slab-medium-o-*-*-14-*-*-*-*-*-*-* to no avail. This leads me to think XFT is still unsupported in this version, is this correct?

vendion avatar Aug 05 '16 18:08 vendion

yes, use https://github.com/geommer/yabar or https://github.com/krypt-n/bar instead.

CamilleScholtz avatar Aug 05 '16 20:08 CamilleScholtz

Hi, sorry to bring up this old issue, but as it's still open... Are there any plans to merge the krypt-n XFT fork back in here? Cheers

rmhsilva avatar Sep 09 '16 17:09 rmhsilva

I would also like to know, if there are any plans to finally include xft-support. The cairo-love branch is quite old already :/

preisi avatar Feb 21 '17 14:02 preisi

any updates?

preisi avatar Aug 02 '17 15:08 preisi

Ping!

alecive avatar Sep 27 '18 16:09 alecive

Is there a particular reason xft hasn't been considered? Maybe it's unnecessary considering the original goals of bar?

quigley-c avatar Oct 18 '18 15:10 quigley-c

Bump

ChristopherTheBoss avatar Jan 03 '21 02:01 ChristopherTheBoss

Not the author, but as far as I understand, XFT support does add quite a bit of code and code complexity. However, not everyone needs the feature. Lemonbar currently sets itself apart from other projects, like Polybar, mainly due to its minimalistic approach and light footprint. Therefore, I believe that LemonBoy doesn't want to merge this. But again, this is just what I believe to have read elsewhere, I'm not 100%. I do feel this way myself, however.

domsson avatar Jan 03 '21 08:01 domsson