From 81626cb122701420a15dae49ed0e7ec3c442e9d3 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 9 May 2013 20:01:37 +0100 Subject: Update fz_bound_{text,path} functions. Pass stroke state into fz_bound_text to allow for stroked text. Simplifies some calling code. Add consts to clarify the meanings of the calls. --- xps/xps_glyphs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xps') diff --git a/xps/xps_glyphs.c b/xps/xps_glyphs.c index 1838167e..1b926dfc 100644 --- a/xps/xps_glyphs.c +++ b/xps/xps_glyphs.c @@ -573,7 +573,7 @@ xps_parse_glyphs(xps_document *doc, const fz_matrix *ctm, fz_atof(origin_x_att), fz_atof(origin_y_att), is_sideways, bidi_level, indices_att, unicode_att); - fz_bound_text(doc->ctx, text, &local_ctm, &area); + fz_bound_text(doc->ctx, text, NULL, &local_ctm, &area); if (navigate_uri_att) xps_add_link(doc, &area, base_uri, navigate_uri_att); -- cgit v1.2.3