Bug 691023

Summary: Error reading PDF file: /undefined in --run--
Product: Ghostscript Reporter: Marcos H. Woehrmann <marcos.woehrmann>
Component: PDF InterpreterAssignee: Alex Cherepanov <alex>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P2    
Version: master   
Hardware: All   
OS: All   
Customer: 384 Word Size: ---
Attachments: patch

Description Marcos H. Woehrmann 2009-12-26 23:57:29 UTC
The attached file generates an "Error: /undefined in --run-" when read by Ghostscript head (r10559) or 
earlier versions.  Acrobat 9.2 and Apple Preview 5.0.1 open the file without problem.

The command line I'm using for testing:

  bin/gs -sDEVICE=ppmraw -o test.ppm ./9666245.PDF

Note: I believe this is a different issue than Bug #691022 since this file generates a "**** Warning: stream 
Length incorrect." message before the error and the operand stack has different elements on it.
Comment 1 Marcos H. Woehrmann 2009-12-26 23:57:53 UTC
Created attachment 5808 [details]
9666245.PDF
Comment 2 Alex Cherepanov 2009-12-27 07:37:49 UTC
Created attachment 5813 [details]
patch

Consider fonts without font stream and with wrong or missing /Subtype
attribute as Type 1 fonts.
Comment 3 Alex Cherepanov 2009-12-27 07:38:47 UTC
The patch has been committed as a rev. 10560.
Regression testing shows no differences.
Comment 4 Marcos H. Woehrmann 2011-09-18 21:46:53 UTC
Changing customer bugs that have been resolved more than a year ago to closed.