[gs-cvs] rev 7993 - trunk/gs/src
alexcher at ghostscript.com
alexcher at ghostscript.com
Mon May 21 08:11:52 PDT 2007
Author: alexcher
Date: 2007-05-21 08:11:52 -0700 (Mon, 21 May 2007)
New Revision: 7993
Modified:
trunk/gs/src/zchar1.c
Log:
Fix uninitialized cxs.present as detected By Valgring on Bug687846.ps test file
and nullpage device.
DIFFERENCES:
None - on our test files and architectures.
Modified: trunk/gs/src/zchar1.c
===================================================================
--- trunk/gs/src/zchar1.c 2007-05-21 15:01:21 UTC (rev 7992)
+++ trunk/gs/src/zchar1.c 2007-05-21 15:11:52 UTC (rev 7993)
@@ -230,6 +230,7 @@
cxs.sbw[2] = 0;
cxs.sbw[3] = -penum->FontBBox_as_Metrics2.x; /* Sic! */
cxs.use_FontBBox_as_Metrics2 = true;
+ cxs.present = metricsNone;
}
/* Establish a current point. */
code = gs_moveto(igs, 0.0, 0.0);
More information about the gs-cvs
mailing list