← Back to team overview

registry team mailing list archive

[Bug 311982] Re: Array too big when printing large image

 

Launchpad has imported 3 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=19368.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-01-02T04:20:09+00:00 Till Kamppeter wrote:

See

https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/311982

pdftops (version 3.00 of Poppler) is called by the pdftops CUPS filter
in Ubuntu Intrepid and this filter is called by Intrepid'd cpdftocps
filter in the mentioned Ubuntu bug report. In other system
configurations CUPS can also call its pdftops filter directly.

If the input PDF contains a large bitmap (for example when printing a
full-page photo with high resolution), Poppler's pdftops produces the
lines

xpdf begin

114642 array dup /ImData_7_0 exch def

in its PostScript output. This defines an array with 114642 in
PostScript. According to Adobe's specs PostScript only supports arrays
with a maximum number of 65536 elements. So many PostScript interpreters
will crash on this output. GhostScript gives a "/limitcheck" error.

This bug prevents from high-resolution photo printing in many cases,
especially with newer application version which output PDF instead of
PostScript when printing.

Reply at: https://bugs.launchpad.net/gs-gpl/+bug/311982/comments/1

------------------------------------------------------------------------
On 2009-01-02T04:44:37+00:00 Adrian Johnson wrote:

This appears to be the same issue as bug 18908. Could you try the patch
at http://bugs.freedesktop.org/attachment.cgi?id=20972. This patch is
also in the master and 0.10 branch.

Reply at: https://bugs.launchpad.net/gs-gpl/+bug/311982/comments/2

------------------------------------------------------------------------
On 2009-01-02T06:00:30+00:00 Till Kamppeter wrote:

Thank you very much. The patch fixes the problem.

*** This bug has been marked as a duplicate of bug 18908 ***

Reply at: https://bugs.launchpad.net/gs-gpl/+bug/311982/comments/3


** Changed in: poppler
       Status: Invalid => Unknown

** Changed in: poppler
   Importance: Unknown => Critical

-- 
Array too big when printing large image
https://bugs.launchpad.net/bugs/311982
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for GS-GPL.