zoukankan      html  css  js  c++  java
  • Ubuntu开机出现:Fontconfig warning:"/etc/fonts/conf.d/65-droid-sans-fonts.conf"的解决办法

    Ubuntu升级后可能会出现以下问题:

    Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 61: Having multiple values in <test> isn't supported and may not work as expected

    这是由于Ubuntu在读取语言信息时,不支持多语言在同一个标签中,语言配置文件中格式有问题导致的,只需将文件调整为正确格式便可解决。

    步骤:

    1、sudo vim /etc/fonts/conf.d/65-droid-sans-fonts.conf 编辑65-droid-sans-fonts.conf 文件

    2、将以下内容: 

        

    <test name="lang" compare="not_eq">
        <string>zh-cn</string>
        <string>zh-sg</string>
        <string>zh-hk</string>
        <string>zh</string>
    </test>
    

      

    调整为:

        

    <test name="lang" compare="not_eq">
        <string>zh-cn</string>
    </test>
    <test name="lang" compare="not_eq">
        <string>zh-sg</string>
    </test>
    <test name="lang" compare="not_eq">
        <string>zh-hk</string>
    </test>
    <test name="lang" compare="not_eq">
        <string>zh</string>
    </test>
    

      

    即每种语言在一个test标签中,如果有其他语言类似调整。

    3、保存文件,重启。

    本文参考自:http://blog.163.com/xh_ding/blog/static/193903289201364115937389/

  • 相关阅读:
    戴尔英语09年互联网络投放策略规划书
    haproxy相关
    邮送广告
    python和rails交互应用
    ubuntu搭建邮件服务器
    waitr自动化测试
    ruby写爬虫
    free git svn repositories
    网站开发外包遇到的问题
    电影推荐
  • 原文地址:https://www.cnblogs.com/lishpei/p/6130807.html
Copyright © 2011-2022 走看看