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