From 8368fa2fcfcf851b9a5b070d22905472f1f76234 Mon Sep 17 00:00:00 2001 From: Brian Ewins Date: Sat, 23 Dec 2006 15:44:16 -0500 Subject: [PATCH] [test/text-rotate] Use the same text for measuring and printing --- test/text-rotate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/text-rotate.c b/test/text-rotate.c index 50d907b24..2c3af02ca 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); }