[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.
This commit is contained in:
Behdad Esfahbod 2007-03-05 16:15:09 -05:00
parent a487d09421
commit b63f5ae58f

View file

@ -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;