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

Font not found #22

Closed
bl4ckb0ne opened this issue Jun 16, 2016 · 16 comments
Closed

Font not found #22

bl4ckb0ne opened this issue Jun 16, 2016 · 16 comments

Comments

@bl4ckb0ne
Copy link

Hi, I have a problem with fonts with the example config file (and others that I tried).

$lemonbuddy_wrapper example -c ~/.config/lemonbuddy/config
Could not load font "sans:size=8"
lemonbar: invalid option -- 'o'
Could not load font "FontAwesome:size=10:weight=heavy"
lemonbar: invalid option -- 'o'

But I know I have font awesome installed

$fc-list | grep awesome
/usr/share/fonts/TTF/fontawesome-webfont.ttf: FontAwesome:style=Regular

Is there any more doc aboute the declaration onf the fonts in the config file? Or did I do something wrong?

Thanks.

@jaagr
Copy link
Member

jaagr commented Jun 16, 2016

Hi and thanks for reporting!

What version of lemonbar are you using?

@bl4ckb0ne
Copy link
Author

v1.1 from AUR

@jaagr
Copy link
Member

jaagr commented Jun 16, 2016

You would need a version patched with xft support.

I recommend the lemonbar-sm-git package found in the aur. That's the version I use myself.

@jaagr
Copy link
Member

jaagr commented Jun 16, 2016

I will update the documentation to make this more clear.

@bl4ckb0ne
Copy link
Author

Yay it works, thanks!

BTW it works with lemonbar-xft too

@mad0ba
Copy link

mad0ba commented Dec 16, 2016

What are the fonts i need to have in order for the symbols/fonts e.g. , WiFi, Ethernet, battery etc to show alongside their respected stats. Note: I already have the bar install and is seeing the stats, just not the symbols/fonts.

@jaagr
Copy link
Member

jaagr commented Dec 16, 2016

The icon font used in the example config is siji

@JosXa
Copy link

JosXa commented Jan 21, 2017

I installed siji-git from AUR, but the icons are still not displayed at all. What am I doing wrong?

@coliflor
Copy link

@Rostgnom I recently fucked up with my fonts and had the same problem
fc-list | grep siji
and replaced it with the proper name
font-2 = Wuncon Siji:pixelsize=12;0
hope it helps you

@janhieber
Copy link

I have the same problem. Installed siji from AUR
but fc-list does not list it.
Is it because siji is not TTF/OTF?

pacman -Ql siji-git
siji-git /usr/
siji-git /usr/share/
siji-git /usr/share/fonts/
siji-git /usr/share/fonts/misc/
siji-git /usr/share/fonts/misc/siji.pcf
siji-git /usr/share/licenses/
siji-git /usr/share/licenses/siji/
siji-git /usr/share/licenses/siji/LICENSE
siji-git /usr/share/siji/
siji-git /usr/share/siji/view.sh

@jaagr
Copy link
Member

jaagr commented Jan 25, 2017

It works fine for me. Maybe you need to rebuild the cache fc-cache -f

$ fc-list | grep -i Siji

/usr/share/fonts/misc/siji.pcf: Siji:style=Regular

@janhieber
Copy link

Oh damn, I had /etc/fonts/conf.d/70-no-bitmaps.conf enabled...
Now it works. Thanks!

@JosXa
Copy link

JosXa commented Feb 1, 2017

@BlackBeemo
Thanks, that works :)

Now changing font size (to pixelsize=25 in the screenshot) doesn't increase the icon size, but only increases some top padding. Any solutions to that?

image

@jaagr
Copy link
Member

jaagr commented Feb 2, 2017

@Rostgnom I don't think that font is scalable.

@JosXa
Copy link

JosXa commented Feb 3, 2017

@jaagr Oh, okay. Unfortunate font choice for the example configuration then, isn't it?

@jaagr
Copy link
Member

jaagr commented Feb 3, 2017

It's the font I've been using for my setups. Can't know what fits best for everyone else.

Might be good to replace it with FontAwesome instead.

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

6 participants