polybar: Unable to display glyph
Hello,
I am having trouble to make the example bar working properly. Each time I launch it I am getting warnings :
warn: Could not find glyph for 57967 warn: Could not find glyph for 57384 warn: Could not find glyph for 57382 warn: Could not find glyph for 57366 warn: Could not find glyph for 57612 warn: Could not find glyph for 57967 warn: Could not find glyph for 57384 warn: Could not find glyph for 57382 warn: Could not find glyph for 57366 warn: Could not find glyph for 57612
and no glyphs are displayed.
I have installed ttf-unifont and siji-git :
$ pacaur -S ttf-unifont siji-git
$ pacman -Qs siji
local/siji-git r21.95369af-1
Iconic bitmap font based on stlarch with additional glyphs
$ pacman -Qs ttf-unifont
local/ttf-unifont 9.0.06-2
TrueType version of the GNU Unifont
Running fc-match give me :
$ fc-match fixed:size=10
DejaVuSans.ttf: "DejaVu Sans" "Book"
$ fc-match unifont:size=6
Unifont.ttf: "Unifont" "Medium"
$ fc-match siji:pixelsize=10
DejaVuSans.ttf: "DejaVu Sans" "Book"
Seems like siji is not detected… What can be the problem here ? Thanks in advance for your help.
$ polybar -v
polybar 2.4.7
Features: +alsa +curl +i3 -mpd -network
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (6 by maintainers)
Ok got it. Seems like I need to replace :
with :
And it’s working fine now
Edit: Good timing 😃 Your command :
Does not return anything but this one does :
Everything is working properly now. Thanks for your quick response and the great work you have put into Polybar. Cheers!
Your
sijiprobably has another family name. Replacefont-<num> = siji...in the polybar config by the result of this command:In my case I needed to remove
/etc/fonts/conf.d/70-no-bitmaps.confthx for https://github.com/jaagr/polybar/issues/22#issuecomment-275254031
@chrissnell
For Font Awesome, you can copy/paste glyph from here : http://fontawesome.io/cheatsheet/
@lulivi that’s not how you check the font. See the Wiki for how to check, if the font loaded properly
Hey, I use Arch Linux, i3wm with polybar and I encounter the same problem, that polybar just won’t display the glyphs. They display in the terminal, so it’s not a systemwide problem. The output of
fc-matchisNotoSans-Regular.ttc: "Noto Sans" "Regular"In polybar’s config I haveWhat do I do wrong?
EDIT: I just found out what the problem was. There is a file
/etc/fonts/conf.d/70-no-bitmap-fontsthat apparently enables blocking bitmap fonts. I removed it from/etc/fonts/conf.d/, and now Polybar displays the glyphs!It is. It’s a bitmap font and looks crappy on my HiDPI, too. I would like to use Font Awesome which–I believe–is vector. I’m not sure how to type the glyphs on the keyboard into the config file, though.
On Mon, Jan 16, 2017 at 2:05 PM, nikolowry notifications@github.com wrote: