Created attachment 6318 [details] PDF source document which demonstrates the problem I've got a PDF that I can't display with Ghostscript. Is Adobe producing proprietary PDFs? The attached PDF displays properly with Adobe Reader, but with all other PDF viewers I have, including Ghostscript, I get the following message in the PDF instead: ----------------------------------------- Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/products/acrobat/readstep2.html. For more assistance with Adobe Reader visit http://www.adobe.com/support/products/ acrreader.html. Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. ----------------------------------------- Can anything be done?
This PDF file includes a JavaScript program and shows a stub when Acrobat version is too low. Ghostscript doesn't support JavaScript. The rest of the file uses XML forms that Ghostscript doesn't support either.
JavaScript and XML forms are large features that are difficult to implement on top of Ghostscript PostScript interpreter. Perhaps, they will appear first in muPDF, a lightweight PDF library that is also developed by Artifex Software.
We won't be adding interactive features (eg JavaScript) to Ghostscript, nor will we be tackling XFA (which is deprecated in PDF 2.0 anyway). If you require this functionality (JavaScript) you should investigate MuPDF.