安装Poppler-data 并且修改一个文件,如下:
cd /etc/fonts/conf.d/
sudo gedit 49-sansserif.conf
修改edit结点 将<string>sans-serif</string> 改为<string>sans</string>
修改edit节点,将<string>sans-serif </string>
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- If the font still has no generic name, add sans-serif --> <match target="pattern"> <test qual="all" name="family" compare="not_eq"> <string>sans-serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>monospace</string> </test> <edit name="family" mode="append_last"> <string>sans</string> </edit> </match> </fontconfig> ~
问题成功解决, ^-^...
Powered by: 博客园 Copyright © 2024 lovewcl Powered by .NET 9.0 on Kubernetes