debian11 bspwm+polybar问题记录(siji字体无法正常显示)

一、siji字体无法显示。

  很懒很菜,就想用开箱即用的原始配置依然遇到了问题。。。plybar中的bitmap字体siji无法正常显示。即便按照github的siji官方脚本安装了siji字体还是不行。

幸好polybar关于字体的wiki提到了。是debian默认禁运bitmap字体导致的。需要修改系统默认设置,启用bitmap字体。

Bitmap Fonts

Some icon fonts are bitmap fonts, which may be disabled in your distro (e.g. Debian-based distros).

On Debian-based systems, bitmap fonts can be enabled by running

sudo dpkg-reconfigure fontconfig-config

And enabling bitmap fonts in the dialog.

If that doesn't work or on other distros by deleting the file /etc/fonts/conf.d/70-no-bitmaps.conf and running fc-cache afterwards to reload the font cache.

 siji自己的官方安装脚本执行完提示需要输入两条xet命令,似乎并不需要。

  Successfully installed siji.pcf -> /home/mydebian/.local/share/fonts
  Add the following snippet in your custom startup script that gets executed during xlogin:

    xset +fp /home/mydebian/.local/share/fonts
    xset fp rehash

  If it already exists then you can skip this step.

 

posted on 2023-01-15 22:46  smoggy  阅读(232)  评论(0编辑  收藏  举报