[gs-cvs] rev 8769 - trunk/gs/src
leonardo at ghostscript.com
leonardo at ghostscript.com
Thu May 22 02:52:19 PDT 2008
Author: leonardo
Date: 2008-05-22 02:52:18 -0700 (Thu, 22 May 2008)
New Revision: 8769
Modified:
trunk/gs/src/gsptype1.c
Log:
Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation (continued 3).
DETAILS :
Bug 689856 "Regression: 09-34.PS core dumps when banding".
Uninitialized fields in device color after restoring a pattern from clist.
Debugged with
..\..\gs-hd\bin\gswin32c.exe -IF:/AFPL/gs-hd/lib;f:\afpl\fonts -r300 -K1000000 -dMaxBitmap=10000 -dNOPAUSE -dBATCH -sDEVICE=pbmraw -sOutputFile=cur.ppm H:\AuxFiles\CET\09-34.PS
EXPECTED DIFFERENCES :
Possibly fixes the crash with 09-34.PS .
Modified: trunk/gs/src/gsptype1.c
===================================================================
--- trunk/gs/src/gsptype1.c 2008-05-21 19:46:53 UTC (rev 8768)
+++ trunk/gs/src/gsptype1.c 2008-05-22 09:52:18 UTC (rev 8769)
@@ -1498,6 +1498,8 @@
int code, l;
if (offset == 0) {
+ pdevc->mask.id = gx_no_bitmap_id;
+ pdevc->mask.m_tile = NULL;
if (size == 0) {
/* Null pattern. */
pdevc->type = &gx_dc_pattern;
More information about the gs-cvs
mailing list