pdftops eps字体问题
我正在 Linux 中使用 Apache FOP 创建 pdf 然后我需要将 pdf 转换为 eps。
我尝试了很多方法,唯一有效的方法是 pdftops。 但, 当我在命令行中将其转换为 Linux 时,
pdftops file.pdf -eps file.eps
此命令为我创建了 eps 但是当我尝试在 Windows XP 中的 Adobe Illustrator 中打开它时 它返回给我错误
EAAFD+HelveticaNeueLTStd-MdCnO_99-Identify-H;
Font not found on the system; missing font has been substituted.
但是 1:字体未被替换 2:eps 不显示文字,里面全是空白,而不是图像
我确信在 Windows XP 中我拥有所有字体 因为如果我在 Adobe Illustrator 中将 pdf 转换为 eps 一切正常,Adobe Illustrator 没有向我显示字体问题。
你能帮助我吗? 我做错了什么?
I'm creating a pdf with Apache FOP in Linux
then I need to convert the pdf it into an eps.
I'm trying lot of ways, the only one that seems works is the pdftops.
But,
when I convert it into Linux in command line
pdftops file.pdf -eps file.eps
This command creates me the eps
but when I try to open it in Adobe Illustrator in Windows XP
It returns me the error
EAAFD+HelveticaNeueLTStd-MdCnO_99-Identify-H;
Font not found on the system; missing font has been substituted.
But
1: the fonts han not been substituted
2: the eps do not show words inside it is all blank instead of the images
I'm sure that in Windows XP I have all the fonts
becouse if I convert the pdf to an eps inside the Adobe Illustrator
all works fine and Adobe Illustrator do not show me the fonts issue.
Can you help me?
What I'm doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果某些东西没有按预期工作,那么这就是一个明显而简单的错误:需要对其进行调试并修复。请您在以下位置提交错误报告:
以及正在生成的 PDF 文件的副本,以及所使用的确切命令转换(特别是它是
pdf2ps
(GhostScript 的一部分)还是pdfteps
(Poppler/Xpdf 的一部分,可以在poppler-utils
包)。(请注意,这个问题已在 三个 其他 地点,但尚未在错误跟踪器中报告可以对其进行探索,向合适的人指出并希望得到修复)。
If something is not working as intended, then that's a bug clear and simple: it needs to be debugged and fixed. Please could you file a bug-report at:
along with a copy of the PDF file that is being generated, and the exact command that is being used for the conversion (particularly whether it is
pdf2ps
(part of GhostScript), orpdfteps
(part of Poppler/Xpdf and found in thepoppler-utils
package).(Note that this question has been asked in three other places, but not yet reported in the bug-tracker where it can be explored, pointed to the right people and hopefully fixed).
在不了解您的设置的情况下,您似乎要求 FOP 使用 Helvetica Neue 字体绘制文本,该字体不属于 标准 PDF 字体集(请注意Helvetica 是,但不是 Helvetica Neue)。
在我看来,你的两个选择是要么强制 FOP 使用 Helvetica 而不是 Helvetica Neue,要么强制其将 Helvetica Neue 嵌入到 PDF 中(pdf2ps 应该自动将其嵌入到结果 EPS 文件中)。在第一种情况下,您根本不需要嵌入,而在第二种情况下,应该嵌入文件。
有关 FOP 如何处理字体的更多信息,也可以从包的文档中获取 - 当您可以看到,这里没有列出Helvetica Neue。
Without knowing much about your setup, it looks like you're asking FOP to draw your text using the Helvetica Neue font, which is not part of the standard set of PDF fonts (note that Helvetica is, but not Helvetica Neue).
It would seem to me that your two options are to either force FOP to use Helvetica instead of Helvetica Neue, or force it to embed Helvetica Neue into the PDF (pdf2ps should automatically embed it into the result EPS file). In the first instance, you shouldn't need embedding at all, while in the second case the file should be embedded.
More info on how FOP handles fonts is also available from the package's documentation—as you can see, Helvetica Neue is not listed here.