【发布时间】:2013-06-21 17:10:27
【问题描述】:
我正在尝试使用 Ghostscript 9.05 处理包含图像的 PDF。原始 PDF 在 Adobe Acrobat Reader 9 以及 Ubuntu 的内置 Document Viewer 中显示良好。
通过 Ghostscript 运行文件时,我得到:
**** Warning: File encountered 'rangecheck' error while processing an image.
Loading NimbusSanL-ReguItal font from /usr/share/fonts/type1/gsfonts/n019023l.pfb... 4342240 2931231 2721360 1395616 3 done.
**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> Prawn <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.
然后从输出 PDF 中删除图像。
我尝试通过使用 Prawn 创建其他带有嵌入图像的 PDF 来重新创建此文件,但无法重现。
有没有办法让 ghostscript 自动更正或修复此类问题?
【问题讨论】:
标签: pdf ghostscript prawn