Summary: | PostScript array size limit breaks on PostScript files large images | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Till Kamppeter <till.kamppeter> |
Component: | PS Interpreter | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | P4 | ||
Version: | 8.63 | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://bugs.edge.launchpad.net/ubuntu/+source/cups/+bug/311982 | ||
Customer: | Word Size: | --- |
Description
Till Kamppeter
2009-01-02 02:25:11 UTC
The 64k limit to array sizes is consistent with the guidelines in section B.1 of the Postscript Language Reference. I suggest that the creator shouldn't expect such a request to work on most interpreters. Ghostscript has extensions for 'large arrays' implemented as arrays of arrays. This method should be used by xpdf to properly implement PDF->PS translation since 65535 is a limit almost all PS interpreters have. Closing as INVALID and I suggest that this problem get posted to the xpdf maintainers. I have already forwarded the problem to the Poppler bug tracker and the developers have provided a patch which works with both Poppler and XPDF (see Ubuntu bug report). The patch is based on arrays of arrays, as you suggest. |