Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Ghostscript处理带有嵌入图像的PDF_Pdf_Ghostscript_Prawn - Fatal编程技术网

使用Ghostscript处理带有嵌入图像的PDF

使用Ghostscript处理带有嵌入图像的PDF,pdf,ghostscript,prawn,Pdf,Ghostscript,Prawn,我正在尝试使用Ghostscript 9.05处理包含图像的PDF。原始PDF在AdobeAcrobatReader9和Ubuntu的内置文档查看器中显示良好 通过Ghostscript运行文件时,我得到: **** Warning: File encountered 'rangecheck' error while processing an image. Loading NimbusSanL-ReguItal font from /usr/share/fonts/type1/gsfon

我正在尝试使用Ghostscript 9.05处理包含图像的PDF。原始PDF在AdobeAcrobatReader9和Ubuntu的内置文档查看器中显示良好

通过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.
****警告:文件在处理图像时遇到“rangecheck”错误。
正在从/usr/share/fonts/type1/gsfonts/n019023l.pfb加载NimbusSanL规范字体。。。4342240 2931231 2721360 1395616 3已完成。
****此文件存在已修复或忽略的错误。
****该文件由以下人员生成:

****>>>>Prawn您可以尝试使用Ghostscript(9.07)的当前版本,这可能会更好。如果失败,您可以打开错误报告(您需要附加PDF文件以便进行调查)。

Hi-KenS。谢谢你的回复。我也尝试过9.07,同样的问题。我已经上传了这张图片,以及我用Prawn创建的文件。值得一提的是,即使是GhostScript9.14,这仍然在发生。但是,对于其他输出设备(png16m、tiffg4等),这种情况不会发生。此外,对于pdfjoin,这种情况也不会发生。不管怎样,现在要解决这个问题吗?我更新了这个bug,该bug应该在2014年1月修复-提前感谢您的帮助!我认为您误读了日期,错误是在今年(2014年)6月10日修复的。是的,您是对的。我被那张重复的票弄糊涂了。