summaryrefslogtreecommitdiff
path: root/test/user-font-proxy.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-proxy.c
parent1fe7088a113f8a9cb40d436f10af4967662cd02a (diff)
Update tests to new cairo_text_cluster_flags_t API
Diffstat (limited to 'test/user-font-proxy.c')
-rw-r--r--test/user-font-proxy.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/test/user-font-proxy.c b/test/user-font-proxy.c
index a4769663..1a8ad68e 100644
--- a/test/user-font-proxy.c
+++ b/test/user-font-proxy.c
@@ -95,14 +95,14 @@ test_scaled_font_render_glyph (cairo_scaled_font_t *scaled_font,
}
static cairo_status_t
-test_scaled_font_text_to_glyphs (cairo_scaled_font_t *scaled_font,
- const char *utf8,
- int utf8_len,
- cairo_glyph_t **glyphs,
- int *num_glyphs,
- cairo_text_cluster_t **clusters,
- int *num_clusters,
- cairo_bool_t *backward)
+test_scaled_font_text_to_glyphs (cairo_scaled_font_t *scaled_font,
+ const char *utf8,
+ int utf8_len,
+ cairo_glyph_t **glyphs,
+ int *num_glyphs,
+ cairo_text_cluster_t **clusters,
+ int *num_clusters,
+ cairo_text_cluster_flags_t *cluster_flags)
{
cairo_scaled_font_t *fallback_scaled_font;
@@ -112,8 +112,7 @@ test_scaled_font_text_to_glyphs (cairo_scaled_font_t *scaled_font,
return cairo_scaled_font_text_to_glyphs (fallback_scaled_font, 0, 0,
utf8, utf8_len,
glyphs, num_glyphs,
- clusters, num_clusters,
- backward);
+ clusters, num_clusters, cluster_flags);
}
static cairo_font_face_t *user_font_face = NULL;