[cairo-commit] pycairo/cairo pycairo-font.c,1.22,1.23

Carl Worth commit at pdx.freedesktop.org
Fri Jul 22 07:37:45 PDT 2005


Committed by: cworth

Update of /cvs/cairo/pycairo/cairo
In directory gabe:/tmp/cvs-serv11904/cairo

Modified Files:
	pycairo-font.c 
Log Message:

        * cairo/pycairo-font.c: (scaled_font_new): Add new
        cairo_font_options argument now needed in call to
        cairo_scaled_font_create.


Index: pycairo-font.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo-font.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- pycairo-font.c	20 May 2005 08:57:44 -0000	1.22
+++ pycairo-font.c	22 Jul 2005 14:37:42 -0000	1.23
@@ -192,8 +192,11 @@
 
     PyObject *o = type->tp_alloc(type, 0);
     if (o) {
+	cairo_font_options_t *options;
+	options = cairo_font_options_create ();
 	cairo_scaled_font_t *scaled_font = cairo_scaled_font_create 
-	    (ff->font_face, &mx1->matrix, &mx2->matrix);
+	    (ff->font_face, &mx1->matrix, &mx2->matrix, options);
+	cairo_font_options_destroy (options);
 
 	if (!scaled_font) {
 	    Py_DECREF(o);




More information about the cairo-commit mailing list