Fix for CET 09-28-01
Alex Cherepanov <[email protected]> Sun, 11 Mar 2007 19:12:36 -0500
| Newsgroups | gmane.comp.printing.ghostscript.patches |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------060007040608040108000905
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
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.
--------------060007040608040108000905
Content-Type: text/plain;
name="09-28-01.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="09-28-01.diff"
Index: gs/src/zgstate.c
===================================================================
--- gs/src/zgstate.c (revision 7760)
+++ gs/src/zgstate.c (working copy)
@@ -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 ------ */
--------------060007040608040108000905
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
gs-code-review mailing list
[email protected]
http://www.ghostscript.com/mailman/listinfo/gs-code-review
--------------060007040608040108000905--