summaryrefslogtreecommitdiff
path: root/test/bitmap-font.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2007-03-05 16:15:09 -0500
committerBehdad Esfahbod <behdad@behdad.org>2007-03-05 16:15:09 -0500
commitb63f5ae58f6617b9a2c9f3434bc1c9f3c72612ac (patch)
treef3009f150fadbf9c946d0970551f9c8b16582860 /test/bitmap-font.c
parenta487d094212d6bc4a06d5bfc774ba6d575165aa5 (diff)
downloadcairo-b63f5ae58f6617b9a2c9f3434bc1c9f3c72612ac.tar.gz
[test] In the bitmap-font test, break cairo_text_path() call into two
such that it checks current-point handling after that call. It fails now, because cairo_text_path does not set current-point explicitly.
Diffstat (limited to 'test/bitmap-font.c')
-rw-r--r--test/bitmap-font.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/bitmap-font.c b/test/bitmap-font.c
index d38243afa..2a9754ed7 100644
--- a/test/bitmap-font.c
+++ b/test/bitmap-font.c
@@ -110,9 +110,11 @@ draw (cairo_t *cr, int width, int height)
* fonts at all should fix this. */
cairo_move_to (cr, width -1, 2 * (TEXT_SIZE - 5));
cairo_rotate (cr, M_PI);
- cairo_show_text (cr, "the quick brown fox");
+ cairo_show_text (cr, "the quick");
+ cairo_show_text (cr, " brown fox");
- cairo_text_path (cr, " jumps over a lazy dog");
+ cairo_text_path (cr, " jumps over");
+ cairo_text_path (cr, " a lazy dog");
cairo_fill (cr);
return CAIRO_TEST_SUCCESS;