summaryrefslogtreecommitdiff
path: root/source/xps
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-10-09 11:23:57 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-12-11 13:02:33 +0100
commit3bcee7eb19d9bdae30ba4e6c3574441c38df9db7 (patch)
treee7105856b596e46426cb3e6460d81d10fd5d4555 /source/xps
parentfa0bffa57e7e2164f0201b0f2fdc984d475674ae (diff)
downloadmupdf-3bcee7eb19d9bdae30ba4e6c3574441c38df9db7.tar.xz
Remove text clip accumulation.
We can now group all clipped text into one fz_text object and simplify the device interface.
Diffstat (limited to 'source/xps')
-rw-r--r--source/xps/xps-glyphs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-glyphs.c b/source/xps/xps-glyphs.c
index 4434c4ed..8cfbbafc 100644
--- a/source/xps/xps-glyphs.c
+++ b/source/xps/xps-glyphs.c
@@ -612,7 +612,7 @@ xps_parse_glyphs(fz_context *ctx, xps_document *doc, const fz_matrix *ctm,
if (fill_tag)
{
- fz_clip_text(ctx, dev, text, &local_ctm, 0);
+ fz_clip_text(ctx, dev, text, &local_ctm);
xps_parse_brush(ctx, doc, &local_ctm, &area, fill_uri, dict, fill_tag);
fz_pop_clip(ctx, dev);
}