You are not logged in.
I have googled around and seemingly tried everything so I thinks its time to ask my own question.
I'm running polybar and I'm trying to set the font but nothing seems to work other than the default. However the default does not support all glyphs.
Im using awesome because as far as I know it supports the glyph that I'm looking for.
fc-list | grep awesome
/usr/share/fonts/TTF/fontawesome-webfont.ttf: FontAwesome:style=Regular
In my polybar config
font-0 = "FontAwesome:style=Regular
This results in and ⮷ being logged as an "unmatched character". I know the fonts are referenced and zero indexed so I think I'm referencing them correctly.
Last edited by AmazingMarks (2020-10-22 04:30:14)
Why doesn't this site support markdown?
Offline
fontawesome-webfont.ttf is unlikely the awesome font file you desire.
https://www.archlinux.org/packages/comm … t-awesome/
https://www.archlinux.org/packages/comm … t-awesome/
But those don't provide the desired glyphs either.
You probably fetched those from some tutorial that will also tell you which font to use.
None of my installed fonts supports it and google didn't spit out supporting fonts either (but the first one seems some CJK?)
You can try
FC_DEBUG=4 pango-view --font="FontAwesome" -t "⮷" | grep family:
to see whether the glyph is supported by your font.
Online
fontawesome-webfont.ttf is unlikely the awesome font file you desire.
https://www.archlinux.org/packages/comm … t-awesome/
https://www.archlinux.org/packages/comm … t-awesome/
But those don't provide the desired glyphs either.You probably fetched those from some tutorial that will also tell you which font to use.
None of my installed fonts supports it and google didn't spit out supporting fonts either (but the first one seems some CJK?)You can try
FC_DEBUG=4 pango-view --font="FontAwesome" -t "⮷" | grep family:
to see whether the glyph is supported by your font.
Somehow my terminal(kitty) displays the glyph correctly, when I look at the config for it i'm using pango:Hack. When I use this font in the polybar config it does not display the glyph. Any ideas?
fc-list | grep Hack
/usr/share/fonts/TTF/Hack-Italic.ttf: Hack:style=Italic
/usr/share/fonts/TTF/Hack-Bold.ttf: Hack:style=Bold
/usr/share/fonts/TTF/Hack-BoldItalic.ttf: Hack:style=Bold Italic
/usr/share/fonts/TTF/Hack-Regular.ttf: Hack:style=Regular
\\kitty.conf
font_family Hack
Last edited by AmazingMarks (2020-10-22 16:29:26)
Why doesn't this site support markdown?
Offline
Run the above command w/ Hack instead of FontAwesome to see which font ultimately resolves the glyph.
Online
Run the above command w/ Hack instead of FontAwesome to see which font ultimately resolves the glyph.
Hack does not resolve the glyph. So how does it get displayed in my terminal?
Why doesn't this site support markdown?
Offline
seth wrote:Run the above command w/ Hack instead of FontAwesome to see which font ultimately resolves the glyph.
Hack does not resolve the glyph. So how does it get displayed in my terminal?
Figured it out. Used this tool to find which fonts on my system supported the glyph.
https://blog.keyman.com/2011/07/charact … fier-tool/
Why doesn't this site support markdown?
Offline