summaryrefslogtreecommitdiff
path: root/test/text-rotate.c
diff options
context:
space:
mode:
authorBrian Ewins <Brian.Ewins@gmail.com>2006-12-23 15:44:16 -0500
committerBehdad Esfahbod <behdad@behdad.org>2006-12-23 15:44:16 -0500
commit8368fa2fcfcf851b9a5b070d22905472f1f76234 (patch)
tree24b14c1689ae6ccf089d79d0faf642d8d03e7471 /test/text-rotate.c
parent261d6b805c77dacb27d29d054e48ed548f1fbcc5 (diff)
downloadcairo-8368fa2fcfcf851b9a5b070d22905472f1f76234.tar.gz
[test/text-rotate] Use the same text for measuring and printing
Diffstat (limited to 'test/text-rotate.c')
-rw-r--r--test/text-rotate.c4
1 files 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);
}