summaryrefslogtreecommitdiff
path: root/test/ft-text-antialias-none.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/ft-text-antialias-none.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/ft-text-antialias-none.c')
-rw-r--r--test/ft-text-antialias-none.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ft-text-antialias-none.c b/test/ft-text-antialias-none.c
index 55a6fa3c..e4a34e96 100644
--- a/test/ft-text-antialias-none.c
+++ b/test/ft-text-antialias-none.c
@@ -55,8 +55,7 @@ create_scaled_font (cairo_t * cr)
font_options = cairo_font_options_create ();
- /* disable hinting */
- cairo_font_options_set_hint_style (font_options, CAIRO_HINT_STYLE_NONE);
+ cairo_get_font_options (cr, font_options);
pattern = FcPatternCreate ();