方法一:修改/etc/fonts/conf.d/49-sansserif.conf文件,如下:
1: <?xml version="1.0"?>
2: <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3: <fontconfig>
4: <!--
5: If the font still has no generic name, add sans-serif
6: -->
7: <match target="pattern">
8: <test qual="all" name="family" compare="not_eq">
9: <string>sans-serif</string>
10: </test>
11: <test qual="all" name="family" compare="not_eq">
12: <string>serif</string>
13: </test>
14: <test qual="all" name="family" compare="not_eq">
15: <string>monospace</string>
16: </test>
17: <edit name="family" mode="append_last">
18: <string><span style="color:#ff0000;">文泉驿正黑</span></string>
19: </edit>
20: </match>
21: </fontconfig>
22:
23:
方法二、安装AdobeReader_chs-8.1.7-1.i486.rpm 软件包
1、去网站http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.7/chs/下载AdobeReader_chs-8.1.7-1.i486.rpm包,或者直接使用Ctrl_Alt+T打开终端,在终端中输入命令,如下:
[root@localhost tmp]# wget http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.7/chs/AdobeReader_chs-8.1.7-1.i486.rpm
(上一步将AdobeReader_chs-8.1.7-1.i486.rpm二进制软件安装包下载至/tmp目录下,这个可以随意。)
2、接着使用rpm工具安装刚下载的AdobeReader_chs-8.1.7-1.i486.rpm,使用rpm -ivh 软件包名的命令安装,如下:
[root@localhost tmp]# rpm -ivh AdobeReader_chs-8.1.7-1.i486.rpm
Preparing... ########################################### [100%]
1:AdobeReader_chs ########################################### [100%]
接着就可以使用刚安装的AdobeReader打开PDF文档了。