Bug 690364

Summary: /typecheck when interpreting attached PDF-file
Product: Ghostscript Reporter: artifex
Component: PDF InterpreterAssignee: Alex Cherepanov <alex>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 8.64   
Hardware: PC   
OS: Windows XP   
Customer: 870 Word Size: ---

Description artifex 2009-03-27 07:16:25 UTC
The interpretation of the attached PDF-file SH_200001-00-A.pdf fails with a
typecheck error.
The AcrobatReader works very well with this document.
Comment 1 artifex 2009-03-27 07:17:28 UTC
Created attachment 4873 [details]
SH-200001-00-A.pdf
Comment 2 Marcos H. Woehrmann 2009-03-27 08:29:57 UTC
Created attachment 4874 [details]
SH-200001-00-A_minimized.pdf

Greatly minimized version of SH-200001-00-A.pdf
Comment 3 Alex Cherepanov 2009-03-27 10:07:32 UTC
The PDF file is incorrect. It has XObject resources of wrong type.
/Resources << /XObject /U_OPAMP_DUAL >> 
This problem is easy to work around. A patch will be posted later today.
Comment 4 Alex Cherepanov 2009-03-28 12:34:41 UTC
Ignore /XObject attribute if it's not a dictionary. Recover broken
PDF file generated by "Allegro Design Publisher". 

The following patch has been committed as a rev. 9601.
http://ghostscript.com/pipermail/gs-cvs/2009-March/009175.html
Regression testing shows no differences.