[gs-cvs] gs/src

Igor Melichev igor at casper.ghostscript.com
Sat Jul 20 06:07:32 PDT 2002


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

Modified Files:
	gdevpdtt.c 
Log Message:
Fix: Return code of pdf_glyph_widths was inconsistent with result actually returned.


Index: gdevpdtt.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gdevpdtt.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- gdevpdtt.c	9 Jul 2002 14:29:35 -0000	1.6
+++ gdevpdtt.c	20 Jul 2002 13:07:30 -0000	1.7
@@ -683,7 +683,7 @@
 	    (code = store_glyph_width(&pwidths->Width, wmode, scale, &info)) < 0
 	    )
 	    return code;
-	rcode |= code;
+	rcode = code;
 	/*
 	 * Only ask for modified widths if they are different, i.e.,
 	 * if GLYPH_INFO_OUTLINE_WIDTHS was set in the response.
@@ -697,7 +697,7 @@
 		(code = store_glyph_width(&pwidths->real_width, wmode, scale, &info)) < 0
 		)
 		return code;
-	    rcode |= code;
+	    rcode = code;
 	} else
 	    pwidths->real_width = pwidths->Width;
 	/*




More information about the gs-cvs mailing list