summaryrefslogtreecommitdiff
path: root/test/font-face-get-type.c
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2010-06-12 16:20:37 +0200
committerAndrea Canciani <ranma42@gmail.com>2010-06-12 16:30:56 +0200
commit3cb882d01b53cb3cec9be62d678dd4ef7ea2c1fd (patch)
treed83cb8fa93bf3f9e72d124c8de6316779cb5fc0e /test/font-face-get-type.c
parentb1e4df928fb59ee295830d5c0fa26330714f88f2 (diff)
test: make test font family a define
In order to make it easier to change the test font family, add it as a define in the global header and always reference the macro in the tests.
Diffstat (limited to 'test/font-face-get-type.c')
-rw-r--r--test/font-face-get-type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/font-face-get-type.c b/test/font-face-get-type.c
index 05a763da5..afbb73944 100644
--- a/test/font-face-get-type.c
+++ b/test/font-face-get-type.c
@@ -39,7 +39,7 @@ preamble (cairo_test_context_t *ctx)
surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 1, 1);
cr = cairo_create (surface);
- cairo_select_font_face (cr, "Bitstream Vera Sans",
+ cairo_select_font_face (cr, CAIRO_TEST_FONT_FAMILY " Sans",
CAIRO_FONT_SLANT_NORMAL,
CAIRO_FONT_WEIGHT_NORMAL);