summaryrefslogtreecommitdiff
path: root/test/select-font-face.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-05-09 14:39:08 -0700
committerCarl Worth <cworth@cworth.org>2006-05-09 14:39:08 -0700
commit172fd2f6a668b6b0e4a7cbce24e006b65417d9b1 (patch)
treeba37adf9ca11210bbe82b04077e36f763b9c0031 /test/select-font-face.c
parentf0d7e3f858858937168c6cfdfae12dbe751ee683 (diff)
Fix typo in select-font-face.c and update reference images
Diffstat (limited to 'test/select-font-face.c')
-rw-r--r--test/select-font-face.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/select-font-face.c b/test/select-font-face.c
index 50a28ff9..3e3848fc 100644
--- a/test/select-font-face.c
+++ b/test/select-font-face.c
@@ -30,7 +30,7 @@
cairo_test_t test = {
"select-font-face",
"Tests using cairo_select_font_face to draw text in different faces",
- 188, TEXT_SIZE + 4
+ 192, TEXT_SIZE + 4
};
static cairo_test_status_t
@@ -47,7 +47,7 @@ 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_font_options_set_hint_style (font_options, CAIRO_HINT_METRICS_OFF);
+ 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);