Browsed by
Tag: font

升级到13.04后出现的fontconfig warning

升级到13.04后出现的fontconfig warning

将Kubuntu从12.04升级到13.04后,(在终端)运行程序会出现以下告警信息:

Fontconfig warning: “/etc/fonts/conf.d/99-language-selector-zh.conf”, line 11: Having multiple values in <test> isn’t supported and may not work as expected

检查该99-language-selector-zh.conf文件,发现在第一个<test name=”family” compare=”contains” >内定义了多个<string>参数,因此仅需要将这个项拆成多个family项即可,例如下面的修改:

        <test name="family" compare="contains" >
            <string>Song</string>
        </test>
        <test name="family" compare="contains" >
            <string>Sun</string>
        </test>
        <test name="family" compare="contains" >
            <string>Kai</string>
        </test>
        <test name="family" compare="contains" >
            <string>Ming</string>
        </test>