Summary: | Error: /rangecheck in --.execform1-- | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Jordan <jordan.yelloz> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.71 | ||
Hardware: | All | ||
OS: | All | ||
Customer: | Word Size: | --- | |
Attachments: |
An Illustrator CS5 PDF compatible AI file with a hidden layer and transparent cyan rectangle.
Ghostscript's distillation of the input file. iText's wrapping of the distilled PDF. This is the Java code that wraps the distilled PDF. |
Description
Jordan
2010-05-28 20:30:37 UTC
Created attachment 6332 [details]
An Illustrator CS5 PDF compatible AI file with a hidden layer and transparent cyan rectangle.
Created attachment 6333 [details]
Ghostscript's distillation of the input file.
Created attachment 6334 [details]
iText's wrapping of the distilled PDF.
Created attachment 6335 [details]
This is the Java code that wraps the distilled PDF.
This is built with iText 2.1.7. It should work fine with iText 5, just change com.lowagie. to com.itextpdf.
The PDF file is incorrect. PDF specifies that the form XObject uses the stream Resource dictionary and the page Resource dictionary. The latter may be inherited from the page tree. The sample file expects that the resource is inherited from an external XObject stream. Unfortunately, Adobe Acrobat does just this and Ghostscript will follow the implementation rather then the spec. Search for misplaced resources has been recently added to Ghostscript. See the bug 693490 for details. |