You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

i3窗口管理器无法更换字体的问题求助

i3窗口管理器无法更换字体的问题求助

我目前在ArchCraft系统上使用i3窗口管理器,之前成功把系统字体改成了Terminus,现在想换成Google Sans,但折腾了半天都没成功。

我试过在i3的配置文件里修改font选项,比如:

font pango:IBM Plex Mono Italic 10
font pango:Google Sans Regular

诸如此类的写法,但i3的字体完全没变化。不过奇怪的是,在Firefox和Polybar里设置Google Sans字体是正常生效的(当然是在它们各自的配置文件里设置的)。

我用fc-list | grep -i Google命令查了一下字体安装情况,输出如下:

/usr/share/fonts/misc/GoogleSans-Italic.ttf: Google Sans:style=Italic
/usr/share/fonts/misc/GoogleSans-Medium.ttf: Google Sans,Google Sans Medium:style=Medium,Regular
/usr/share/fonts/misc/GoogleSans-Regular.ttf: Google Sans:style=Regular
/usr/share/fonts/misc/GoogleSans-MediumItalic.ttf: Google Sans,Google Sans Medium:style=Medium Italic,Italic
/usr/share/fonts/archcraft/icon-fonts/google-mdi.ttf: google\-mdi:style=Regular
/usr/share/fonts/misc/GoogleSans-BoldItalic.ttf: Google Sans:style=Bold Italic
/usr/share/fonts/misc/GoogleSans-Bold.ttf: Google Sans:style=Bold

有没有大佬能帮我分析下问题出在哪?怎么才能让i3顺利用上Google Sans字体?

备注:内容来源于stack exchange,提问作者Ignacy Hryniewiecki

火山引擎 最新活动