Closed lossdev closed 5 years ago
Read point 2 in Debugging Font issues. The dropped character is from ttf-font-icons
EDIT: Font Awesome and Unifont don't have this glyph. In gucharmap, you need to set View ->
Show only glyphs from this font, otherwise gucharmap will show you icons from other fonts if the current one doesn't have it.
Also this powermenu icon is not in the sample config, the sample config uses U+E10C from Wuncon Siji
Oh okay, thank you for the gucharmap tip. I did change the symbol from the siji to this one, since I've been having scaling problems with the Siji glyphs.
Yeah, unfortunately siji doesn't scale :frowning_face:
Issue
I'm new to polybar and am trying to make my own bar, using the default config for reference. I've installed gucharmap as well to make sure my glyphs are in fact in the font set. All three of my fonts have U+0f11, but polybar seems to refuse to load it anyway.
To Reproduce
[colors] background = #000f0f0f foreground = #f4f9ff
[bar/top] width = 100% height = 38 fixed-center = false
background = ${colors.background} foreground = ${colors.foreground}
font-0 = fixed:pixelsize=18;1 font-1 = Unifont:style=Medium:fontformat=truetype:size=18:antialias=false;1 font-2 = Font Awesome 5 Free:style=Regular:pixelsize=18:size=18;1
modules-left = powermenu
cursor-click = pointer cursor-scroll = ns-resize
[module/powermenu] type = custom/menu label-active-font = 3 expand-right = true
format-spacing = 1
label-open = label-font = 3 label-open-foreground = ${colors.foreground} label-separator = | label-separator-foreground = ${colors.foreground}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
[global/wm] margin-top = 5 margin-bottom = 5
Polybar Log
polybar -c ~/.config/polybar/config3 top -l info
fc-list | grep -i awesome
:fc-list | grep -i unifont
Environment:
polybar -vvv
:Features: +alsa +curl -i3 -mpd +network(libnl) +pulseaudio +xkeyboard
X extensions: +randr (+monitors) -render -damage -sync +composite +xkb +xrm +xcursor
Build type: RelWithDebInfo Compiler: /usr/bin/c++ Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Werror -Wno-noexcept-type -pedantic -pedantic-errors Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now