Bug 19368 - pdftops command line utility produces invalid PostScript when converting large bitmaps
Summary: pdftops command line utility produces invalid PostScript when converting larg...
Status: RESOLVED DUPLICATE of bug 18908
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: high critical
Assignee: poppler-bugs
QA Contact:
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-02 04:20 UTC by Till Kamppeter
Modified: 2009-01-02 06:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Till Kamppeter 2009-01-02 04:20:09 UTC
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.
Comment 1 Adrian Johnson 2009-01-02 04:44:37 UTC
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.

Comment 2 Till Kamppeter 2009-01-02 06:00:30 UTC
Thank you very much. The patch fixes the problem.

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


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.