summaryrefslogtreecommitdiff
path: root/test/font-matrix-translation.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2006-07-31 15:17:15 -0400
committerBehdad Esfahbod <behdad@behdad.org>2006-07-31 15:17:15 -0400
commit2fa709d6af58713f7b362748a728a6f8c983d2ec (patch)
treee20d9d932d74d48d5af323339156d66f657f5abf /test/font-matrix-translation.c
parent9fcb3c32c1f16fe6ab913e27eb54d18b7d9a06b0 (diff)
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.
Diffstat (limited to 'test/font-matrix-translation.c')
-rw-r--r--test/font-matrix-translation.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/font-matrix-translation.c b/test/font-matrix-translation.c
index dbdeb873..067cbb5b 100644
--- a/test/font-matrix-translation.c
+++ b/test/font-matrix-translation.c
@@ -64,7 +64,6 @@ box_text (cairo_t *cr, const char *utf8, double x, double y)
static cairo_test_status_t
draw (cairo_t *cr, int width, int height)
{
- cairo_font_options_t *font_options;
cairo_text_extents_t extents;
cairo_matrix_t matrix;
@@ -76,14 +75,6 @@ draw (cairo_t *cr, int width, int height)
CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr, TEXT_SIZE);
- font_options = cairo_font_options_create ();
-
- cairo_font_options_set_hint_style (font_options, CAIRO_HINT_STYLE_NONE);
- cairo_font_options_set_antialias (font_options, CAIRO_ANTIALIAS_GRAY);
-
- cairo_set_font_options (cr, font_options);
- cairo_font_options_destroy (font_options);
-
cairo_translate (cr, PAD, PAD);
cairo_set_line_width (cr, 1.0);