LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 小锁

gentoo下xpdf中文解决方法(包括标签的中文)

[复制链接]
发表于 2004-5-27 17:01:19 | 显示全部楼层
不好意思,忘了点,书签由X来决定,修改.Xdefaults,我的为:
xpdf*.fontList: -*-hvj-medium-r-normal--12-*-*-*-*-*-iso8859-1;-*-hvj-medium-r-normal--12-*-*-*-*-*-gbk-0:
发表于 2004-5-27 20:22:33 | 显示全部楼层


3. 关于编译以及使用中的一些问题

a. 无法在Freetype版本≧2.1.6的系统上编译

这是因为Freetype从此版本开始,强制引用"ft2build.h"而非"freetype/freetype.h",造成xpdf configure检测Freetype版本失败。

给我解决了一个大问题...谢谢penny
发表于 2004-5-27 23:09:34 | 显示全部楼层
书签的中文还是有问题呀...
xrdb -merge ~/.Xdefaults之后运行xpf,有一些error msg:
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-times-medium-r-normal--16-*-*-*-*-*-iso8859-1" to type FontStruct
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Couldn't create a font for 'SimSun'
Error: Couldn't create a font for 'SimSun'
Error: Couldn't create a font for 'SimSun'
Error: Couldn't create a font for 'STFangsong'
Error: Couldn't create a font for 'STFangsong'
Error: Couldn't create a font for 'STFangsong'
发表于 2004-5-27 23:10:35 | 显示全部楼层
书签的中文还是有问题呀...
xrdb -merge ~/.Xdefaults之后运行xpf,有一些error msg:

  1. Warning: Missing charsets in String to FontSet conversion
  2. Warning: Cannot convert string "-*-times-medium-r-normal--16-*-*-*-*-*-iso8859-1" to type FontStruct
  3. Error: Illegal entry in bfchar block in ToUnicode CMap
  4. Error: Illegal entry in bfchar block in ToUnicode CMap
  5. Error: Illegal entry in bfchar block in ToUnicode CMap
  6. Error: Illegal entry in bfchar block in ToUnicode CMap
  7. Error: Illegal entry in bfchar block in ToUnicode CMap
  8. Error: Illegal entry in bfchar block in ToUnicode CMap
  9. Error: Illegal entry in bfchar block in ToUnicode CMap
  10. Error: Illegal entry in bfchar block in ToUnicode CMap
  11. Error: Illegal entry in bfchar block in ToUnicode CMap
  12. Error: Illegal entry in bfchar block in ToUnicode CMap
  13. Error: Couldn't create a font for 'SimSun'
  14. Error: Couldn't create a font for 'SimSun'
  15. Error: Couldn't create a font for 'SimSun'
  16. Error: Couldn't create a font for 'STFangsong'
  17. Error: Couldn't create a font for 'STFangsong'
  18. Error: Couldn't create a font for 'STFangsong'
复制代码
发表于 2004-5-28 04:17:09 | 显示全部楼层
改完书签后,xpdf无法运行
=========================================
ShadowGentoo root # xpdf
X Error of failed request:  BadFont (invalid Font parameter)
  Major opcode of failed request:  55 (X_CreateGC)
  Resource id in failed request:  0x1e00010
  Serial number of failed request:  147
  Current serial number in output stream:  152
=========================================
 楼主| 发表于 2004-5-28 09:44:37 | 显示全部楼层
那就将xpdf删除,重新安装吧
发表于 2004-5-28 09:48:18 | 显示全部楼层
hoho我的xpdf也是这样被搞死了
发表于 2004-5-28 12:07:12 | 显示全部楼层
晕!
发表于 2004-5-28 12:23:27 | 显示全部楼层
最初由 meteo 发表
hoho我的xpdf也是这样被搞死了

在GBK下试试。
发表于 2004-5-28 15:09:07 | 显示全部楼层
to 所有xpdf被搞死的同学:
你们用的汉化有问题,fonts.dir/scale写的不对
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表