|
发表于 2005-6-9 21:12:50
|
显示全部楼层
针对slk10.1(FreeType2.1.9)的xpdf,中文支持良好
针对slk10.1(FreeType2.1.9)
已经集成目前已有的针对中文系统的xpdf补丁。
可以实现pdf中文书签正确显示及中文正确复制粘贴。
如果嫌adobe reader过于庞大,可以一试,资源占用比前者少很多。
先安装T1Lib-1.3-i386-1.tgz
再安装xpdf-3.00-i686-1.tgz
安装完毕后依照个人系统中使用的中文GBK字体情况,
修改/usr/local/etc/xpdfrc
例如:我的系统中使用了方正圆体/usr/X11R6/lib/X11/fonts/TTF/fzy.ttf
#----- begin Chinese Simplified support package (2002-jun-17)
cidToUnicode Adobe-GB1 /usr/local/share/xpdf/chinese-simplified/Adobe-G
B1.cidToUnicode
unicodeMap ISO-2022-CN /usr/local/share/xpdf/chinese-simplified/ISO-202
2-CN.unicodeMap
unicodeMap EUC-CN /usr/local/share/xpdf/chinese-simplified/EUC-CN.
unicodeMap
unicodeMap GBK /usr/local/share/xpdf/chinese-simplified/GBK.uni
codeMap
cMapDir Adobe-GB1 /usr/local/share/xpdf/chinese-simplified/CMap
toUnicodeDir /usr/local/share/xpdf/chinese-simplified/CMap
displayCIDFontTT Adobe-GB1 /usr/X11R6/lib/X11/fonts/TTF/fzy.ttf
textEncoding GBK
#----- end Chinese Simplified support package
#----- 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
displayCIDFontTT Adobe-CNS1 /usr/X11R6/lib/X11/fonts/TTF/fzy.ttf
#textEncoding 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
修改/etc/X11/app-defaults/Xpdf
例如:
Xpdf*fontList:-*-Courier-medium-r-normal--12-*-*-*-*-*-iso8859-1;-misc-fzyuanti-medium-r-normal--12-*-*-*-*-*-gbk-0:
下载地址:
#lftp -p 555 ftp://cudown:chinaunix\#\!@218.86.121.19/pub/longwu9t
> get -c T1Lib-1.3-i386-1.tgz
> get -c xpdf-3.00-i686-1.tgz
>quit |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|