[gs-bugs] [Bug 691435] any PDFSETTINGS besides /default gives dictfull error

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jul 1 15:03:28 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691435

Alex Cherepanov <alex.cherepanov at artifex.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex.cherepanov at artifex.com

--- Comment #4 from Alex Cherepanov <alex.cherepanov at artifex.com> 2010-07-01 15:03:25 UTC ---
The error is triggered by  "/DownsampleGrayImages true" parameter.

The /dictfull error is caused by confusion between stream exit status and
interpreter return codes.

Index: gs/base/gdevpdfj.c
===================================================================
--- gs/base/gdevpdfj.c  (revision 11466)
+++ gs/base/gdevpdfj.c  (working copy)
@@ -650,10 +650,10 @@

        status = s_close_filters(&piw->binary[0].strm, piw->binary[0].target);
        if (status < 0)
-           return status;
+           return_error(gs_error_ioerror);
        status = s_close_filters(&piw->binary[1].strm, piw->binary[1].target);
        if (status < 0)
-           return status;
+           return_error(gs_error_ioerror);
     }
     pdf_choose_compression_cos(piw, s, end_binary);
     return 0;

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list