summaryrefslogtreecommitdiff
path: root/test/user-font-rescale.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-09-18 00:30:57 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-09-18 00:30:57 -0400
commitcb10dfe7153eeac749c64ce6a61f2fd3faf385d0 (patch)
tree1b635e7e577e21c0e52f856d1ae2aec0186550c9 /test/user-font-rescale.c
parent1fe7088a113f8a9cb40d436f10af4967662cd02a (diff)
downloadcairo-cb10dfe7153eeac749c64ce6a61f2fd3faf385d0.tar.gz
Update tests to new cairo_text_cluster_flags_t API
Diffstat (limited to 'test/user-font-rescale.c')
-rw-r--r--test/user-font-rescale.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/user-font-rescale.c b/test/user-font-rescale.c
index c543daa21..af2be2f9b 100644
--- a/test/user-font-rescale.c
+++ b/test/user-font-rescale.c
@@ -157,8 +157,7 @@ test_scaled_font_unicode_to_glyph (cairo_scaled_font_t *scaled_font,
status = cairo_scaled_font_text_to_glyphs (r->measuring_font, 0, 0,
utf8, -1,
&glyphs, &num_glyphs,
- NULL, NULL,
- NULL);
+ NULL, NULL, NULL);
if (status)
return status;
@@ -257,8 +256,7 @@ get_user_font_face (cairo_font_face_t *substitute_font,
cairo_scaled_font_text_to_glyphs (measure, 0, 0,
text, -1,
&glyphs, &num_glyphs,
- NULL, NULL,
- NULL);
+ NULL, NULL, NULL);
/* find the glyph range the text covers */
max_index = glyphs[0].index;