[cairo-commit] cairo/src cairo-gstate.c,1.115,1.116

Kristian Hogsberg commit at pdx.freedesktop.org
Sun May 1 22:31:01 PDT 2005


Committed by: krh

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

Modified Files:
	cairo-gstate.c 
Log Message:
2005-05-02  Kristian Høgsberg  <krh at redhat.com>

        * src/cairo-gstate.c (_cairo_gstate_glyph_path): Also call
        _cairo_gstate_ensure_font() for this function.



Index: cairo-gstate.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-gstate.c,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- cairo-gstate.c	27 Apr 2005 17:16:47 -0000	1.115
+++ cairo-gstate.c	2 May 2005 05:30:58 -0000	1.116
@@ -2144,6 +2144,10 @@
     int i;
     cairo_glyph_t *transformed_glyphs = NULL;
 
+    status = _cairo_gstate_ensure_font (gstate);
+    if (status)
+	return status;
+    
     transformed_glyphs = malloc (num_glyphs * sizeof(cairo_glyph_t));
     if (transformed_glyphs == NULL)
 	return CAIRO_STATUS_NO_MEMORY;




More information about the cairo-commit mailing list