新立得字体模糊解决经验

以前在使用Debian的过程中,遇到过一个比较普遍的字体异常模糊问题

具体症状表现为
1. 在Gnome下文本文件的预览为乱码(忘记截图)
2. 使用新立得软件包管理器,"实施更改"的"Detail"输出为乱码,如下图所示



解决过程:

因为是在虚拟终端中运行apt-get安装软件,所以在新立得中找不到deb软件的安装记录
用 sudo cat /var/log/dpkg.log | grep installed 命令,查找近期所做的和字体有关的系统管理操作

运行效果如下(日期不同,这里的输出只是个示例)

$ sudo cat /var/log/dpkg.log | grep installed
2009-10-05 00:13:16 status half-installed ttf-arphic-ukai 0.2.20080216.1-1
2009-10-05 00:13:22 status half-installed ttf-arphic-uming 0.2.20080216.1-1
2009-10-05 00:13:41 status installed ttf-arphic-ukai 0.2.20080216.1-1
2009-10-05 00:13:52 status installed ttf-arphic-uming 0.2.20080216.1-1
2009-10-05 00:16:28 status installed ttf-arphic-ukai 0.2.20080216.1-1
2009-10-05 00:16:39 status half-installed ttf-arphic-ukai 0.2.20080216.1-1
2009-10-05 00:16:41 status not-installed ttf-arphic-ukai <无>
2009-10-05 00:16:41 status installed ttf-arphic-uming 0.2.20080216.1-1
2009-10-05 00:16:51 status half-installed ttf-arphic-uming 0.2.20080216.1-1
2009-10-05 00:16:53 status not-installed ttf-arphic-uming <无>
2009-10-05 00:20:47 status half-installed ttf-arphic-ukai 0.2.20080216.1-1
2009-10-05 00:20:52 status half-installed ttf-arphic-uming 0.2.20080216.1-1
2009-10-05 00:21:09 status installed ttf-arphic-ukai 0.2.20080216.1-1
2009-10-05 00:21:21 status installed ttf-arphic-uming 0.2.20080216.1-1
$

发现近期安装了ttf-arphic-ukai和ttf-arphic-uming

将它们卸载,然后注销,重新登录
文本文件预览和新立得字体模糊的问题解决了

当出现问题时,查看程序的log是个好习惯
原文地址:https://www.cnblogs.com/top5/p/1578655.html