Summary: | pdf2dsc gets a rangecheck error on a pdf created by gs | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | William Bader <williambader> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | williambader |
Priority: | P4 | ||
Version: | 9.04 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: | sample file to show the problem |
Description
William Bader
2011-09-16 01:49:35 UTC
The generated pdf views correctly with gs-9.04, evince-2.32.0, xpdf-3.03, and acroread-9.4.2. The eps crashes old versions of acrobat distiller due to the format of the CreationDate DOCINFO entry. More recent versions of acrobat distiller process the file but produce a pdf with some text missing at the top. If I remove the line [ /Label (1) /PAGELABEL pdfmark from the eps, then pdf2dsc doesn't get errors on the pdf. Add missing dereferencing of indirect /Names and /Nums attributes. See: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=6116f7e9633c7c112c09c048b317de34c060ba5b Thanks! The patch fixed the problem. |