[cairo-commit] cairo-demo/png text.c,1.6,1.7

Carl Worth commit at pdx.freedesktop.org
Tue Jan 11 11:47:55 PST 2005


Committed by: cworth

Update of /cvs/cairo/cairo-demo/png
In directory gabe:/tmp/cvs-serv17807

Modified Files:
	text.c 
Log Message:
Change to use sans rather then serif font

Index: text.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/png/text.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- text.c	19 Feb 2004 23:22:15 -0000	1.6
+++ text.c	11 Jan 2005 19:47:53 -0000	1.7
@@ -133,7 +133,7 @@
     cairo_fill (cr);
     cairo_restore (cr);
 
-    cairo_select_font (cr, "serif", 0, 0);
+    cairo_select_font (cr, "sans", 0, 0);
     cairo_scale_font (cr, 40);
 #define XXX_DEMONSTRATE_EXTENTS_BUGS_WHEN_FONT_IS_TRANSFORMED 0
 #if XXX_DEMONSTRATE_EXTENTS_BUGS_WHEN_FONT_IS_TRANSFORMED




More information about the cairo-commit mailing list