xpdf 只能显示部分中文

系统字体配置、中文显示和输入法问题
回复
liu8dz
帖子: 6
注册时间: 2008-06-30 22:55

xpdf 只能显示部分中文

#1

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

本人装了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
应该所有的字体都加进去了阿
打开时报错如下:
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
大虾们这是怎么回事,谢谢大虾吗? 我是初学着,听说这里高手如云,出来冒个泡阿,不胜感激!
头像
hqwxyz
帖子: 141
注册时间: 2008-05-04 23:25

#2

帖子 hqwxyz » 2008-07-03 18:48

在win下安装一个foxit reader,安装东亚文字,然后复制整个文件夹到linux下wine一个foxit reader
尝试中
dell640M
麦克风/投影仪还没有正常工作
回复