[gs-cvs] rev 7792 - in trunk/gs: doc src
alexcher at ghostscript.com
alexcher at ghostscript.com
Wed Mar 14 19:13:09 PDT 2007
Author: alexcher
Date: 2007-03-14 19:13:09 -0700 (Wed, 14 Mar 2007)
New Revision: 7792
Modified:
trunk/gs/doc/pscet_status.txt
trunk/gs/src/zgstate.c
Log:
Reset the dashed line array at initgraphics. Fix CET 09-28-01.
DIFFERENCES:
There's no other Comparefiles or CET differences.
DETAILS:
pscet_status.txt marks this case as DIFF, but current version of
Ghostscript matches Tek checksum. Both Tek and Ghostscript forget to
reset the dash array at initgraphics and generate the same incorrect
checksum. This bug is fixed in CPSI-based PhotoPrint but redefinition
of halftone operators affect the PhotoPrint checksum, which doesn't
match anything else. With the proposed patch Ghostscript matches
Distiller 5, that does everything right.
Modified: trunk/gs/doc/pscet_status.txt
===================================================================
--- trunk/gs/doc/pscet_status.txt 2007-03-15 00:49:11 UTC (rev 7791)
+++ trunk/gs/doc/pscet_status.txt 2007-03-15 02:13:09 UTC (rev 7792)
@@ -279,8 +279,10 @@
09-27-5 OK
-09-28-1 DIFF Must be regression. CPSI and Tek differ, GS shows 'invalidaccess'
- errors.
+09-28-1 AOK Ghostscript is different from both Tek and PhotoPrint but
+ matches Distiller 5. Tek doesn't reset the dash array at
+ initgraphics. PhotoPrint redefines halftone operators as no-op,
+ which affects the test results. Fixed by rev. 7792. - Alex
09-28-2 OK Fixed as of rev. 7211
Modified: trunk/gs/src/zgstate.c
===================================================================
--- trunk/gs/src/zgstate.c 2007-03-15 00:49:11 UTC (rev 7791)
+++ trunk/gs/src/zgstate.c 2007-03-15 02:13:09 UTC (rev 7792)
@@ -174,7 +174,8 @@
* gs_initigraphics does not reset the colorspace;
* this is now handled in the PostScript code.
*/
- return gs_initgraphics(igs);
+ make_empty_array(&istate->dash_pattern_array, a_all);
+ return gs_initgraphics(igs);
}
/* ------ Operations on graphics state elements ------ */
More information about the gs-cvs
mailing list