kpdf 乱码 快救救我 都快搞疯了

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
liu8dz
帖子: 6
注册时间: 2008-06-30 22:55

kpdf 乱码 快救救我 都快搞疯了

#1

帖子 liu8dz » 2008-07-03 12:21

本人装了kpdf 其中一部分中文显示正常,而一部分无法显示。如图
xpdfrc 配置字体文件如下:
displayFontT1 Times-Roman /usr/share/fonts/type1/gsfonts/n021003l.pfb
displayFontT1 Times-Italic /usr/share/fonts/type1/gsfonts/n021023l.pfb
displayFontT1 Times-Bold /usr/share/fonts/type1/gsfonts/n021004l.pfb
displayFontT1 Times-BoldItalic /usr/share/fonts/type1/gsfonts/n021024l.pfb
displayFontT1 Helvetica /usr/share/fonts/type1/gsfonts/n019003l.pfb
displayFontT1 Helvetica-Oblique /usr/share/fonts/type1/gsfonts/n019023l.pfb
displayFontT1 Helvetica-Bold /usr/share/fonts/type1/gsfonts/n019004l.pfb
displayFontT1 Helvetica-BoldOblique /usr/share/fonts/type1/gsfonts/n019024l.pfb
displayFontT1 Courier /usr/share/fonts/type1/gsfonts/n022003l.pfb
displayFontT1 Courier-Oblique /usr/share/fonts/type1/gsfonts/n022023l.pfb
displayFontT1 Courier-Bold /usr/share/fonts/type1/gsfonts/n022004l.pfb
displayFontT1 Courier-BoldOblique /usr/share/fonts/type1/gsfonts/n022024l.pfb
displayFontT1 Symbol /usr/share/fonts/type1/gsfonts/s050000l.pfb
displayFontT1 ZapfDingbats /usr/share/fonts/type1/gsfonts/d050000l.pfb

cidToUnicode Adobe-GB1 /usr/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
unicodeMap ISO-2022-CN /usr/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
unicodeMap EUC-CN /usr/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
unicodeMap GBK /usr/share/xpdf/chinese-simplified/GBK.unicodeMap
cMapDir Adobe-GB1 /usr/share/fonts/cmap/adobe-gb1
toUnicodeDir /usr/share/fonts/cmap/adobe-gb1
displayCIDFontTT Adobe-GB1 /usr/share/fonts/truetype/arphic/gkai00mp.ttf
应该所有的字体都加进去了 。我都搞一个星期了,郁闷Iing......,请那位高手指点下。不生感激![/img][/url][/quote]
liu8dz
帖子: 6
注册时间: 2008-06-30 22:55

#2

帖子 liu8dz » 2008-07-03 17:00

打开时报错如下:
Error: Unknown font tag 'F9'
Error: Unknown font tag 'F9'
Error: Unknown font tag 'F9'
Error: Unknown font tag 'F9'
Error: Unknown font tag 'F15'
Error: Unknown character collection 'Adobe-GB1'
Error: Couldn't find 'GBpc-EUC-H' CMap file for 'Adobe-GB1' collection
Error: Unknown CMap 'GBpc-EUC-H' for character collection 'Adobe-GB1'
Error: Unknown character collection 'Adobe-GB1'
Error: Couldn't find 'GBpc-EUC-H' CMap file for 'Adobe-GB1' collection
Error: Unknown CMap 'GBpc-EUC-H' for character collection 'Adobe-GB1'
Error: Unknown character collection 'Adobe-GB1'
Error: Couldn't find 'GBpc-EUC-H' CMap file for 'Adobe-GB1' collection
Error: Unknown CMap 'GBpc-EUC-H' for character collection 'Adobe-GB1'
Error: Unknown character collection 'Adobe-GB1'
Error: Couldn't find 'GBpc-EUC-H' CMap file for 'Adobe-GB1' collection
Error: Unknown CMap 'GBpc-EUC-H' for character collection 'Adobe-GB1'
Error: Unknown font tag 'F9'
Error (3081847): No font in show
而在我配置文件中有:
cidToUnicode Adobe-GB1 /usr/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
unicodeMap ISO-2022-CN /usr/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
unicodeMap EUC-CN /usr/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
unicodeMap GBK /usr/share/xpdf/chinese-simplified/GBK.unicodeMap
cMapDir Adobe-GB1 /usr/share/fonts/cmap/adobe-gb1
toUnicodeDir /usr/share/fonts/cmap/adobe-gb1
displayCIDFontTT Adobe-GB1 /usr/share/fonts/truetype/arphic/gkai00mp.ttf
为何还找不到呢,郁闷。。。。
我在:source /etc/xpdf/xpdfrc 报如下错:
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: displayFontT1: command not found
bash: cidToUnicode: command not found
bash: unicodeMap: command not found
bash: unicodeMap: command not found
bash: unicodeMap: command not found
bash: cMapDir: command not found
bash: toUnicodeDir: command not found
bash: displayCIDFontTT: command not found
bash: psFile: command not found
bash: urlCommand: command not found
bash: include: command not found
大虾们这是怎么回事,谢谢大虾吗? 我是初学着,听说这里高手如云,出来冒个泡阿,不胜感激!
liu8dz
帖子: 6
注册时间: 2008-06-30 22:55

#3

帖子 liu8dz » 2008-07-06 17:21

这里难道没有高手,看来来错地方了,版主跑那去乘凉了阿
gd88121
帖子: 109
注册时间: 2007-11-28 2:19

#4

帖子 gd88121 » 2008-07-07 21:22

你是KDE界面的吗?
其实可以试下 xpdf ,快捷键操作很方便的。

(也许回答的牛头不对马嘴,不过如果只是看pdf,linux有很多都可以的)
头像
DarkForest
帖子: 86
注册时间: 2007-12-11 13:16

#5

帖子 DarkForest » 2008-07-10 20:08

去adobe官网上下载个adobe reader的deb包。
装adobe reader吧。
KirovAirShip
帖子: 10
注册时间: 2008-07-11 11:05
来自: 山东青岛

#6

帖子 KirovAirShip » 2008-07-11 11:18

貌似有个名字叫libpoppler-????的包
是这些pdf查看器的渲染引擎的附加字体包
去新立得找找看
liu8dz
帖子: 6
注册时间: 2008-06-30 22:55

#7

帖子 liu8dz » 2008-07-13 0:49

感谢各位的帮助,我用的不是KDE桌面。应该是楼上所说的,有些包没装,目前还在研究中。十分感谢!
de_jeyoo
帖子: 6
注册时间: 2007-03-05 22:35

#8

帖子 de_jeyoo » 2008-07-20 13:01

劝楼主还是用Adobe吧,其他的软件经常能见到乱码,头疼死
回复