Bug 691023 - Error reading PDF file: /undefined in --run--
Summary: Error reading PDF file: /undefined in --run--
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: master
Hardware: All All
: P2 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-26 23:57 UTC by Marcos H. Woehrmann
Modified: 2011-09-18 21:46 UTC (History)
0 users

See Also:
Customer: 384
Word Size: ---


Attachments
patch (1.42 KB, patch)
2009-12-27 07:37 UTC, Alex Cherepanov
Details | Diff

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