打印

每次启动几乎任何程序fontconfig总是会跳出来报错?

每次启动几乎任何程序fontconfig总是会跳出来报错?

Fontconfig error: line 468: junk after document element
Fontconfig error: Cannot load default config file
哪里配置错了?
应该如何修改?
谢谢
To be different...

TOP

天知道……配置文件呢?拿出来
自由软体之梦的混沌……

TOP

问题就是配置文件在哪里?
To be different...

TOP

/etc/fonts/fonts.conf
看看有么?
自由软体之梦的混沌……

TOP

找到了,line 468原来是这段代码
<match target="font">
                <test target="pattern" name="lang" compare="contains">
                        <string>zh-tw</string>
                        <string>zh-cn</string>
                        <string>ja</string>
                        <string>ko</string>
                </test>
                <edit name="spacing">
                        <const>proportional</const>
                </edit>
                <edit name="globaladvance">

搞定了,原来忘了把这段代码放在</fontconfig>之前,晕
To be different...

TOP