问题描述
我需要在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,
在iOS上不可用:
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)文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!