summaryrefslogtreecommitdiff
path: root/test/text-antialias-subpixel.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-08-23 10:39:27 +0000
committerCarl Worth <cworth@cworth.org>2005-08-23 10:39:27 +0000
commit9aa1f4d868c7fdad6412205538697899fe760dca (patch)
tree09d6f6e4453fbbde9c690f6cff603b4232f80eca /test/text-antialias-subpixel.c
parent9e68e0ceef2519b28e582fdaa8f2a8a33401735a (diff)
downloadcairo-9aa1f4d868c7fdad6412205538697899fe760dca.tar.gz
Clear to opaque white at the beginning of the test so that the 0 alpha values in the destination don't cause bizarre results. (main): Note that only the image backend should fail now.
Add new reference image.
Diffstat (limited to 'test/text-antialias-subpixel.c')
-rw-r--r--test/text-antialias-subpixel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/text-antialias-subpixel.c b/test/text-antialias-subpixel.c
index c72a71285..7c151a5c7 100644
--- a/test/text-antialias-subpixel.c
+++ b/test/text-antialias-subpixel.c
@@ -42,6 +42,9 @@ draw (cairo_t *cr, int width, int height)
cairo_font_options_t *font_options;
static char black[] = "black", blue[] = "blue";
+ cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
+ cairo_paint (cr);
+
cairo_select_font_face (cr, "Bitstream Vera Sans",
CAIRO_FONT_SLANT_NORMAL,
CAIRO_FONT_WEIGHT_NORMAL);
@@ -78,5 +81,5 @@ int
main (void)
{
return cairo_test_expect_failure (&test, draw,
- "Bugs in subpixel-antialiased text rendering");
+ "Subpixel-antialiased text is not working with the image backend.");
}