polybarのアイコンフォントにSijiを使っているんだけど、突然壊れた。
From lucy/tewi-font#35 FreeType now uses the `defaultChar' property of PCF fonts to set the glyph for the undefined character at glyph index 0 (as FreeType already does for all other supported font formats). As a consequence, the order of glyphs of a PCF font if accessed with FreeType can be different now compared to previous versions.
The bdf version of the font works. Place it in "~/.local/share/fonts" (or wherever your fonts directory is lcoated), run fc-cache and voila, Siji working again. The declaration for Siji might be different in your configurations, in my polybar configuration I had to change "Wuncon Siji" to just "Siji" to use the bdf variant.
Edit: View script is also working again for me.
なるほど。
$ pacman -Q | grep freetype freetype2 2.10.0-2
ということで、.local/share/fonts
以下にsymlinkを張ってやれば良さそう。
$ mkdir -p $HOME/.local/share/fonts/ $ ln -s /usr/share/fonts/misc/siji.bdf $HOME/.local/share/fonts/siji.bdf
といった具合でfc-listに出現するようになった。
$ fc-list | grep siji /home/masawada/.local/share/fonts/siji.bdf: Siji:style=Regular
あわせてWuncon Siji
だったのがSiji
になっているのでpolybarのconfigも変更したところめでたく出るようになりました。
よかったですね。