[gs-cvs] gs/src

Igor Melichev igor at casper.ghostscript.com
Tue Aug 27 06:22:26 PDT 2002


Update of /cvs/ghostscript/gs/src
In directory casper:/tmp/cvs-serv7081/gs/src

Modified Files:
	gdevpsf2.c 
Log Message:
Fix (pdfwrite) : Uninitialized variable in psf_write_type2_font().


Index: gdevpsf2.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gdevpsf2.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- gdevpsf2.c	19 Jul 2002 13:35:59 -0000	1.23
+++ gdevpsf2.c	27 Aug 2002 13:22:24 -0000	1.24
@@ -1530,6 +1530,8 @@
     writer.glyph_data = cid0_glyph_data;
     writer.offset_size = 1;	/* arbitrary */
     writer.start_pos = stell(s);
+    writer.FontBBox.p.x = writer.FontBBox.p.y = 0;
+    writer.FontBBox.q.x = writer.FontBBox.q.y = 0;
 
     /* Set the font name. */
     if (alt_font_name)




More information about the gs-cvs mailing list