summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/user-font-proxy.c19
-rw-r--r--test/user-font-rescale.c6
2 files changed, 11 insertions, 14 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;
diff --git a/test/user-font-rescale.c b/test/user-font-rescale.c
index c543daa2..af2be2f9 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;