summaryrefslogtreecommitdiff
path: root/xps
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-01-11 16:02:18 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-01-11 16:02:18 +0100
commit177346693da57e72d1e6c01edbdf7ce75e010a3f (patch)
tree7cfa2037949f22b7263f05e0ca95820dc4b4fe2e /xps
parent220b6f3565b8ec6da406acc08e8f09128b7c7346 (diff)
downloadmupdf-177346693da57e72d1e6c01edbdf7ce75e010a3f.tar.xz
Calculate accurate per-glyph bounding boxes for fz_bound_text.
Diffstat (limited to 'xps')
-rw-r--r--xps/xps_glyphs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/xps_glyphs.c b/xps/xps_glyphs.c
index 030ca0e5..51cdaa77 100644
--- a/xps/xps_glyphs.c
+++ b/xps/xps_glyphs.c
@@ -544,7 +544,7 @@ xps_parse_glyphs(xps_document *doc, fz_matrix ctm,
fz_atof(origin_x_att), fz_atof(origin_y_att),
is_sideways, bidi_level, indices_att, unicode_att);
- area = fz_bound_text(text, ctm);
+ area = fz_bound_text(doc->ctx, text, ctm);
xps_begin_opacity(doc, ctm, area, opacity_mask_uri, dict, opacity_att, opacity_mask_tag);