Bug 691338

Summary: proprietary Adobe PDFs ?
Product: Ghostscript Reporter: Lee Howard <faxguy>
Component: PDF InterpreterAssignee: Alex Cherepanov <alex>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P4    
Version: 8.71   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: PDF source document which demonstrates the problem

Description Lee Howard 2010-05-25 17:01:14 UTC
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?
Comment 1 Alex Cherepanov 2010-05-25 19:03:35 UTC
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.
Comment 2 Alex Cherepanov 2010-06-22 06:39:47 UTC
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.
Comment 3 Ken Sharp 2019-02-10 11:42:37 UTC
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.