From 3bcee7eb19d9bdae30ba4e6c3574441c38df9db7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 9 Oct 2015 11:23:57 +0200 Subject: Remove text clip accumulation. We can now group all clipped text into one fz_text object and simplify the device interface. --- source/xps/xps-glyphs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/xps') 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); } -- cgit v1.2.3