linux下采用swftools将pdf文件生成swf文件

发布于 2021-11-22 18:25:45 字数 847 浏览 882 评论 1

转换成swf文件的命令是:/usr/bin/pdf2swf -o  cwh1.swf -f cwh1.pdf -s languagedir=/usr/local/share/xpdf/chinese-simplified -T 9 -t -s storeallcharacters -s poly2bitmap

其中,cwh1.pdf是要转换的文件,cwh1.swf是要生成的文件,对于大部份的pdf文档,上述命令进行转换是没有问题的,但是对于比较专业的、老的文献,会出现类似下面一大堆的内容:

Truetype wasn't able to load glyph 24215, error 6
Truetype wasn't able to load glyph 32463, error 6
Truetype wasn't able to load glyph 38144, error 6
Truetype wasn't able to load glyph 24320, error 6
Truetype wasn't able to load glyph 26412, error 6
Truetype wasn't able to load glyph 88, error 6
Truetype wasn't able to load glyph 73, error 6
Truetype wasn't able to load glyph 47, error 6
Truetype wasn't able to load glyph 24352, error 6
Truetype wasn't able to load glyph 23383, error 6
有没有什么办法能解决这个问题呢,或者屏蔽掉这种输出也行?多谢了~~~

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧伤慢歌 2021-11-23 12:38:41

多谢哈~虽然不是我想要的结果

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文