summaryrefslogtreecommitdiff
path: root/test/text-rotate.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2007-02-21 13:52:17 -0500
committerBehdad Esfahbod <behdad@behdad.org>2007-02-21 13:52:17 -0500
commit155a1b48f6c8265ad5dd594354b66b3e8341bade (patch)
tree227e6edca2215ae3c32867bb60101efc3fc1f542 /test/text-rotate.c
parentb54174e917e273143455661d565412fb9a185bfb (diff)
downloadcairo-155a1b48f6c8265ad5dd594354b66b3e8341bade.tar.gz
[test] Remove text-rotate test from XFAIL as the bugs are fixed now
All missing is subpixel text positioning, but we don't need an XFAIL test to remind us for that.
Diffstat (limited to 'test/text-rotate.c')
-rw-r--r--test/text-rotate.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/text-rotate.c b/test/text-rotate.c
index 2c3af02ca..43b8e2a29 100644
--- a/test/text-rotate.c
+++ b/test/text-rotate.c
@@ -75,6 +75,12 @@
* us look more closely at the remaining positioning problems. (In
* particular, I want to make sure we're rounding as well as
* possible).
+ *
+ * 2007-02-21
+ *
+ * Seems like all the "bugs" have been fixed and all remainint is
+ * missing support for subpixel glyph positioning. Removing from
+ * XFAIL now.
*/
#include "cairo-test.h"
@@ -89,7 +95,6 @@ static cairo_test_draw_function_t draw;
cairo_test_t test = {
"text-rotate",
"Tests show_text under various rotations"
- "\nminor bugs in positioning rotated glyphs",
WIDTH, HEIGHT,
draw
};
@@ -103,6 +108,11 @@ draw (cairo_t *cr, int width, int height)
cairo_font_options_t *font_options;
static char text[] = "cairo";
+ /* paint white so we don't need separate ref images for
+ * RGB24 and ARGB32 */
+ cairo_set_source_rgb (cr, 1., 1., 1.);
+ cairo_paint (cr);
+
cairo_select_font_face (cr, "Bitstream Vera Sans",
CAIRO_FONT_SLANT_NORMAL,
CAIRO_FONT_WEIGHT_NORMAL);