如何让xpdf3.00支持繁体中文?
我用fedora 1,内核2.6.4,在本站下了个xpdf4fc.tar.gz,安装后可以显示简体中文,可我想打开繁体的.pdf文档,显示乱码,请问该如让它支持繁体中文?过程如下:我去xpdf的主页下了个xpdf-chinexe-Traditional.tar.gz,解压后放到
/usr/local/share/xpdf/chinexe-Traditional内,把底下一段加入到xpdfrc中,结果还是不能显示繁体的。
#----- begin Chinese Traditional support package (2002-apr-14)
cidToUnicode Adobe-CNS1 /usr/local/share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
unicodeMap Big5 /usr/local/share/xpdf/chinese-traditional/Big5.unicodeMap
unicodeMap Big5ascii /usr/local/share/xpdf/chinese-traditional/Big5ascii.unicodeMap
cMapDir Adobe-CNS1 /usr/local/share/xpdf/chinese-traditional/CMap
toUnicodeDir /usr/local/share/xpdf/chinese-traditional/CMap
displayCIDFontX Adobe-CNS1 "-*-fixed-medium-r-normal-*-%s-*-*-*-*-*-big5-0" Big5
# If you have the Arphic fonts, you may want to use this instead:
# displayCIDFontX Adobe-CNS1 "-arphic-ar pl kaitim big5-medium-r-normal--%s-*-*-*-c-*-iso10646-1" UCS-2
#----- end Chinese Traditional support package
请问应修改什么地方?
页:
[1]