From 2fa709d6af58713f7b362748a728a6f8c983d2ec Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 31 Jul 2006 15:17:15 -0400 Subject: Set font options in the test context and make tests not do that This should help with not requiring many backend-specific reference images, and some should be removed now. --- test/text-rotate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/text-rotate.c') diff --git a/test/text-rotate.c b/test/text-rotate.c index abc6baa5..50d907b2 100644 --- a/test/text-rotate.c +++ b/test/text-rotate.c @@ -110,9 +110,8 @@ draw (cairo_t *cr, int width, int height) font_options = cairo_font_options_create (); - cairo_font_options_set_hint_style (font_options, CAIRO_HINT_STYLE_NONE); + cairo_get_font_options (cr, font_options); cairo_font_options_set_hint_metrics (font_options, CAIRO_HINT_METRICS_OFF); - cairo_font_options_set_antialias (font_options, CAIRO_ANTIALIAS_GRAY); cairo_set_font_options (cr, font_options); cairo_font_options_destroy (font_options); -- cgit v1.2.3