[Poppler-bugs] [Bug 19368] New: pdftops command line utility produces invalid PostScript when converting large bitmaps

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 2 04:20:11 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=19368

           Summary: pdftops command line utility produces invalid PostScript
                    when converting large bitmaps
           Product: poppler
           Version: unspecified
          Platform: All
               URL: https://bugs.launchpad.net/ubuntu/+source/ghostscript/+b
                    ug/311982
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: high
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: till.kamppeter at gmail.com


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.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list