You are not logged in.
I am using arch in a hp omen ax250tx and have installed significant amount of fonts but still I am unable to read some unicode characters in the default config file of polybar( like the characters in line no 222,242-246,255). Can anyone suggest any font/other ways to resolve the problem?
Some results:
locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: n/a
X11 Layout: n/a
Links:
polybar github
The config file mentioned
PS- If I missed giving any info please do tell me.
Last edited by lightdarkx (2018-11-09 14:28:04)
Offline
Offline
The answer is both. No icons are displayed when I run polybar and some are now showing (in terminal) but I doubt they are correct ( like a tshirt for wifi).
I tried installing the font ( that you mentioned ) but nothing changed.
Last edited by lightdarkx (2018-11-07 12:10:53)
Offline
What do you mean "tried"?
fc-match "wuncon siji"
Did you restart polybar afterwards?
tshirt for wifi
Screenshot?
Edit: no idea how polybar resolves fonts, but the fontname is "Wuncon Siji"!
Last edited by seth (2018-11-07 16:35:24)
Offline
What seth said.
Your
font-2 = siji:pixelsize=10;1
should be
font-2 = Wuncon Siji:pixelsize=10;1
seth: Polybar calls FcFontMatch for resolving fonts. It basically does the same as fc-match.
Offline
Sorry, I didn't state things clearly. I installed siji-git from AUR and the wifi is actually ramp-signal.
aurman -Ss siji
aur/siji-git r21.95369af-1 (51, 1.80232) [installed: r22.9d88311-1]
Iconic bitmap font based on stlarch with additional glyphs
fc-match "wuncon siji"
fc-match "wuncon siji"
DejaVuSans.ttf: "DejaVu Sans" "Book"
Did you restart polybar afterwards?
Yes, I did and also restarted i3wm.
Screenshot?
https://i.imgur.com/11yj8BR.png
I also did what patrickziegler said but it didn't work.
Last edited by jasonwryan (2018-11-08 17:59:41)
Offline
Are you sure that you correctly installed siji? Because
fc-match "wuncon siji"
should ouput
siji.pcf: "Wuncon Siji" "Regular"
.
Offline
Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code
Offline
stat /etc/fonts/conf.d/70-no-bitmaps.conf
Offline
Also, from the screenshot I'd assume an additional locale issue (one UTF-8 character seems resolved to two glyphs? - thus the T-shirt)
Offline
The output for
stat /etc/fonts/conf.d/70-no-bitmaps.conf
File: /etc/fonts/conf.d/70-no-bitmaps.conf -> /etc/fonts/conf.avail/70-no-bitmaps.conf
Size: 40 Blocks: 0 IO Block: 4096 symbolic link
Device: 805h/2053d Inode: 1966087 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2018-11-08 22:02:51.789999942 +0530
Modify: 2018-06-05 06:14:09.719280888 +0530
Change: 2018-06-05 06:14:09.719280888 +0530
Birth: -
Are you sure that you correctly installed siji?
Yes, I installed it from AUR using aurman. If the AUR package has no problem then it should be ok.
Also, from the screenshot I'd assume an additional locale issue (one UTF-8 character seems resolved to two glyphs? - thus the T-shirt)
It may be because of my terminal emulator(kitty). This happens for FontAwesome 5 icons also but the icons(from font awesome) are showning up in polybar without any problem.
Read the Code of Conduct and only post thumbnails
Sorry for the mistake. I will keep that in mind.
Last edited by lightdarkx (2018-11-09 07:42:08)
Offline
/etc/fonts/conf.d/70-no-bitmaps.conf -> /etc/fonts/conf.avail/70-no-bitmaps.conf
…think about it…
Offline
Offline
…think about it…
Sorry, my knowledge of linux is limited. This did the trick.
sudo unlink /etc/fonts/conf.d/70-no-bitmaps.conf
sudo ln -s /etc/fonts/conf.avail/70-force-bitmaps.conf /etc/fonts/conf.d/
Thanks to all those who helped me.
Offline
Note that the first of those commands may have been sufficient. If not, there is a 70-yes-bitmaps.conf provided by fontconfig. I'm not sure what 70-force-bitmaps.conf is or where it came from (it doesn't belong to a repo package), but the name is concerning - it could cause other problems if it really does force bitmap font (only) matches.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline