Bug 690364 - /typecheck when interpreting attached PDF-file
Summary: /typecheck when interpreting attached PDF-file
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: 8.64
Hardware: PC Windows XP
: P2 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 07:16 UTC by artifex
Modified: 2009-04-30 05:50 UTC (History)
0 users

See Also:
Customer: 870
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.