Summary: | Problem reading PDF file: /undefined in --.execform1-- | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | master | ||
Hardware: | Macintosh | ||
OS: | MacOS X | ||
Customer: | 353 | Word Size: | --- |
Attachments: |
foo.pdf
patch |
Description
Marcos H. Woehrmann
2008-03-17 14:25:12 UTC
Created attachment 3870 [details]
Out.pdf
Created attachment 3930 [details]
foo.pdf
This is a simplified sample file.
Ghostscript cannot read an embedded CFF CIDFont resource.
Acrobat Reader 5 cannot print this file to a PS printer, but Acrobat
reader 8 can. Probably, the CIDFont resource is incorrect.
Created attachment 3941 [details]
patch
Repair broken CFF CIDFont stream generated by "Exstream Dialogue Version
6.2.004m
(DBCS)".
1. The CFF stream has a single Private DICT block but refers to it twice.
New version caches the DICT block that correspond to the Private stream.
2. The operands of ROS operator are too small and correspond to some random
values from the standard string table. The patch doesn't attempt find
the right values nut converts the fetched names to strings to avoid a
typecheck error during resource handling.
The patch is committed as a rev. 8641. Regression testing shows no differences. Since the fix changes only gs_cff.ps , tha patch is likely to be compatible with earlier releases. |