|
在安装了xpdf3.01和chinese-simplified包以后,有些pdf文档显示正常,有些还是无法正常显示中文.仔细看过readme以后发现只要把chinese-simplified包里的add-to-xpdfrc里的内容拷贝到xpdfrc文件,注意红色字体,simsun字体是windows下的字体,需要拷贝到相应的目录即可
#----- begin Chinese Simplified support package (2004-jul-27)
cidToUnicode Adobe-GB1 /usr/local/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
unicodeMap ISO-2022-CN /usr/local/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
unicodeMap EUC-CN /usr/local/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
unicodeMap GBK /usr/local/share/xpdf/chinese-simplified/GBK.unicodeMap
cMapDir Adobe-GB1 /usr/local/share/xpdf/chinese-simplified/CMap
toUnicodeDir /usr/local/share/xpdf/chinese-simplified/CMap
displayCIDFontTT Adobe-GB1 /etc/fonts/simsun.ttc
#----- end Chinese Simplified support package
我也是个菜鸟,pdf文档都能正常显示中文了,但标签还是乱码.
希望高人指点!!! |
|