[cairo-commit] cairo/src cairo-meta-surface.c,1.8,1.9

Keith Packard commit at pdx.freedesktop.org
Wed Aug 24 01:42:21 PDT 2005


Committed by: keithp

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

Modified Files:
	cairo-meta-surface.c 
Log Message:
2005-08-24  Keith Packard  <keithp at keithp.com>

	reviewed by: cworth

	* src/cairo-meta-surface.c: (_cairo_meta_surface_replay):
	_cairo_surface_show_glyphs may return UNSUPPORTED in which
	case a call to scaled_font->backend->show_glyphs is needed.


Index: cairo-meta-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-meta-surface.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cairo-meta-surface.c	9 Aug 2005 01:35:22 -0000	1.8
+++ cairo-meta-surface.c	24 Aug 2005 08:42:19 -0000	1.9
@@ -541,6 +541,23 @@
 		 command->show_glyphs.height,
 		 command->show_glyphs.glyphs,
 		 command->show_glyphs.num_glyphs);
+	    if (status != CAIRO_INT_STATUS_UNSUPPORTED)
+		break;
+	    
+	    status = (*command->show_glyphs.scaled_font->backend->
+		      show_glyphs) (command->show_glyphs.scaled_font,
+				    command->show_glyphs.operator,
+				    &command->show_glyphs.pattern.base,
+				    target,
+				    command->show_glyphs.source_x,
+				    command->show_glyphs.source_y,
+				    command->show_glyphs.dest_x,
+				    command->show_glyphs.dest_y,
+				    command->show_glyphs.width,
+				    command->show_glyphs.height,
+				    command->show_glyphs.glyphs,
+				    command->show_glyphs.num_glyphs);
+
 	    break;
 
 	case CAIRO_COMMAND_FILL_PATH:



More information about the cairo-commit mailing list