本人装了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]
kpdf 乱码 快救救我 都快搞疯了
-
- 帖子: 6
- 注册时间: 2008-06-30 22:55
-
- 帖子: 6
- 注册时间: 2008-06-30 22:55
打开时报错如下:
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
大虾们这是怎么回事,谢谢大虾吗? 我是初学着,听说这里高手如云,出来冒个泡阿,不胜感激!
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
大虾们这是怎么回事,谢谢大虾吗? 我是初学着,听说这里高手如云,出来冒个泡阿,不胜感激!
-
- 帖子: 109
- 注册时间: 2007-11-28 2:19
- DarkForest
- 帖子: 86
- 注册时间: 2007-12-11 13:16
-
- 帖子: 10
- 注册时间: 2008-07-11 11:05
- 来自: 山东青岛