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/

最新文章

  1. mysql null值处理详细说明
  2. Hadoop生态系统
  3. java语法基础思维导图
  4. 2016年11月7日 星期一 --出埃及记 Exodus 19:23
  5. java中print\println\printf的区别
  6. BZOJ3806: Neerc2011 Dictionary Size
  7. 【百度地图API】当地址解析失败时,如何调用search方法查找地址
  8. 掌握这些回答技术面试题的诀窍,让你offer拿到手软。
  9. java上传excel到后台解析入库
  10. spring boot启动报错
  11. ubuntu安装python3.6
  12. 如何在Ubuntu上安装腾讯QQ
  13. java并发编程艺术
  14. cocoapod Podfile use frameworks swift/oc混编 could not build module xxx
  15. calibur处理ROSETTA输出的多个结构文件,clustering
  16. SpringMVC防止表单重复提交
  17. spark基本组件与概念
  18. tms web core介绍
  19. 【转】【Android】Android Drawable Shape 组合画田字格
  20. Codeforces 208A:Dubstep(字符串)

热门文章

  1. 无线端web开发学习总结
  2. python中的buildin函数详解(第一篇)
  3. main函数的参数
  4. [原创]dm642_HPI调通并boot成功
  5. MFC 之ActiveX控件学习
  6. jQuery 表格插件25
  7. tyvj 1342 教主泡嫦娥 环上DP
  8. 自定义元素–为你的HTML代码定义新元素
  9. Book of Evil
  10. 孤陋寡闻又一遭:ReportEvent API函数(有微软Service官方例子为例)