LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: hupeng923

请教了^_^如何让pdflatex、dvipdfm做的pdf能复制中文?

[复制链接]
发表于 2004-8-4 01:31:58 | 显示全部楼层
./configure --prefix=/usr --with-freetype2-includes=/use/include/freetype2 --with-Xm-includes=/usr/X11R6/include
后提示:
configure: error: argument must be a directory
发表于 2004-8-4 08:41:28 | 显示全部楼层
应该是笔误,改成:
./configure --prefix=/usr --with-freetype2-includes=/usr/include/freetype2 --with-X-includes=/usr/X11R6/include
 楼主| 发表于 2004-8-4 13:14:54 | 显示全部楼层
最初由 windrose 发表
应该是笔误,改成:
./configure --prefix=/usr --with-freetype2-includes=/usr/include/freetype2 --with-X-includes=/usr/X11R6/include

谢谢指正,应该是:
--with-freetype2-includes=/usr/include/freetype2 --with-Xm-includes=/usr/X11R6/include
我马上改过来
发表于 2004-8-4 17:21:57 | 显示全部楼层
make后的错误提示
为什这样呢

g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I.  -I/usr/include/freetype2  -I/usr/X11R6/include        -I/usr/X11R6/include -c Error.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I.  -I/usr/include/freetype2  -I/usr/X11R6/include        -I/usr/X11R6/include -c FTFont.cc
FTFont.cc:23:40: freetype/internal/cfftypes.h: 没有那个文件和目录
FTFont.cc: In member function `FT_UInt FTFont::getGlyphIndex(unsigned int,
   unsigned int)':
FTFont.cc:684: error: `CFF_Font' undeclared (first use this function)
FTFont.cc:684: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
FTFont.cc:684: error: parse error before `=' token
FTFont.cc:687: error: `cff' undeclared (first use this function)
make[1]: *** [FTFont.o] 错误1
make[1]: Leaving directory `/root/xpdf-2.03/xpdf'
make: *** [all] 错误2
发表于 2004-8-4 17:21:58 | 显示全部楼层
make后的错误提示
为什这样呢

g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I.  -I/usr/include/freetype2  -I/usr/X11R6/include        -I/usr/X11R6/include -c Error.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I.  -I/usr/include/freetype2  -I/usr/X11R6/include        -I/usr/X11R6/include -c FTFont.cc
FTFont.cc:23:40: freetype/internal/cfftypes.h: 没有那个文件和目录
FTFont.cc: In member function `FT_UInt FTFont::getGlyphIndex(unsigned int,
   unsigned int)':
FTFont.cc:684: error: `CFF_Font' undeclared (first use this function)
FTFont.cc:684: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
FTFont.cc:684: error: parse error before `=' token
FTFont.cc:687: error: `cff' undeclared (first use this function)
make[1]: *** [FTFont.o] 错误1
make[1]: Leaving directory `/root/xpdf-2.03/xpdf'
make: *** [all] 错误2
 楼主| 发表于 2004-8-4 18:10:18 | 显示全部楼层
从错误信息看,你的freetype2有问题,有没有打过补丁?
发表于 2004-8-4 19:19:17 | 显示全部楼层
没有打补丁,郁闷啊!!
:confused:
 楼主| 发表于 2004-8-4 19:29:52 | 显示全部楼层
怪了,呵呵,我编译的没问题
 楼主| 发表于 2004-8-4 19:37:56 | 显示全部楼层
这些错误跟freetype的版本有关,建议的freetype版本是1.4,这也是xpdf官方推荐的版本。
再次修改原帖
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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