有没有办法在iOS上显示Postscript(.ps)文件? [英] Is there a way to display postscript (.ps) files on iOS?

查看:227
本文介绍了有没有办法在iOS上显示Postscript(.ps)文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在iOS应用中显示.ps文件。 从.ps到.pdf转换的本地支持似乎已关闭 – CGPSConverter,

I need to display .ps files in an iOS app. Native support for .ps to .pdf conversion appears to be switched off -- CGPSConverter,

  https://developer.apple.com/documentation/coregraphics/cgpsconverter?language=occ

在iOS上不可用:

   https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2 /dq_ps_convert/dq_ps_convert.html

  https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_ps_convert/dq_ps_convert.html

有人知道另一种方式吗?在这里有任何第三方库可以帮助我吗?

Does anyone know of another way? Is there any 3rd party library that could help me here?

请注意,由于GPL许可条款,基于Ghostscript / Pdftk的解决方案不起作用。 / em>

Please note that a Ghostscript/Pdftk based solution won't work due to GPL licensing terms.

推荐答案

请注意,Ghostscript可根据商业许可以及GPL获得。为了呈现PostScript文件,您将需要一个PostScript解释器,而其中的解释器并不多。我所知道的都是GPL或商业广告。

Please note that Ghostscript is available under a commercial licence as well as GPL. In order to render a PostScript file you will need a PostScript interpreter, and there aren't very many of those. All the ones I know of are either GPL or commercial.

这篇关于有没有办法在iOS上显示Postscript(.ps)文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆