我该如何修复这个消息:
Fontconfig warning: "msfonts-rules.conf", line 23: Having multiple values in <test> isn't supported and may not works as expected
答案1
编辑 /etc/fonts/msfonts-rules.conf 文件
找到以下部分:
<match target="font">
<test name="family">
<string>Andale mono</string>
<string>Arial</string>
...
</match>
标签内有一堆 Andale Mono 等标签。这些标签需要包装在自己的标签内。例如
<match target="font">
<test name="family">
<string>Andale Mono</string>
</test>
<test name="family">
<string>Arial</string>
</test>
...
</match>
请参阅此主题以了解更多详细信息: Ubuntu 论坛帖子