[cairo-commit] cairo/src cairo_gstate.c,1.70,1.71

Keith Packard commit at pdx.freedesktop.org
Sat Jan 15 10:53:15 PST 2005


Committed by: keithp

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv2274/src

Modified Files:
	cairo_gstate.c 
Log Message:
2005-01-15  John Ellson <ellson at research.att.com>

	reviewed by: Keith Packard <keithp at keithp.com>

	* src/cairo_gstate.c: (_cairo_gstate_glyph_extents):
	Was using the wrong extents variable.


Index: cairo_gstate.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_gstate.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- cairo_gstate.c	11 Jan 2005 21:28:51 -0000	1.70
+++ cairo_gstate.c	15 Jan 2005 18:53:13 -0000	1.71
@@ -2431,8 +2431,8 @@
 	 * by running the corners through the font matrix and
 	 * expanding the bounding box as necessary
 	 */
-	x = extents->x_bearing;
-	y = extents->y_bearing;
+	x = origin_extents.x_bearing;
+	y = origin_extents.y_bearing;
 	cairo_matrix_transform_point (&gstate->font_matrix,
 				      &x, &y);
 




More information about the cairo-commit mailing list