[cairo-commit] test/text-rotate.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Sat Dec 23 12:44:22 PST 2006


 test/text-rotate.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
diff-tree 8368fa2fcfcf851b9a5b070d22905472f1f76234 (from 261d6b805c77dacb27d29d054e48ed548f1fbcc5)
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date:   Sat Dec 23 15:44:16 2006 -0500

    [test/text-rotate] Use the same text for measuring and printing

diff --git a/test/text-rotate.c b/test/text-rotate.c
index 50d907b..2c3af02 100644
--- a/test/text-rotate.c
+++ b/test/text-rotate.c
@@ -139,10 +139,10 @@ draw (cairo_t *cr, int width, int height
 	cairo_move_to (cr, x_off - extents.x_bearing, y_off - extents.y_bearing);
 	cairo_set_source_rgb (cr, 0, 0, 0);
 #if CAIRO_TEST_GENERATE_REFERENCE_IMAGE
-	cairo_text_path (cr, "cairo");
+	cairo_text_path (cr, text);
 	cairo_fill (cr);
 #else
-	cairo_show_text (cr, "cairo");
+	cairo_show_text (cr, text);
 #endif
 	cairo_restore (cr);
     }


More information about the cairo-commit mailing list