summaryrefslogtreecommitdiff
path: root/pdf/pdf_interpret.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2011-11-24 20:27:47 +0000
committerRobin Watts <robin.watts@artifex.com>2011-11-24 20:30:06 +0000
commit7aeb37fc5be2388ad71d9eab04b539c2c49f024e (patch)
treed16071e7aca709efb998232b5c220960c764bc78 /pdf/pdf_interpret.c
parentdf430bd236d2ffcca37a1558ab52be77e5119e22 (diff)
downloadmupdf-7aeb37fc5be2388ad71d9eab04b539c2c49f024e.tar.xz
Fix *STUPID* error in recent clipping changes.
Once we've applied the clipping path, don't clip again on every subsequent path.
Diffstat (limited to 'pdf/pdf_interpret.c')
-rw-r--r--pdf/pdf_interpret.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/pdf_interpret.c b/pdf/pdf_interpret.c
index 9b2a788b..752d9426 100644
--- a/pdf/pdf_interpret.c
+++ b/pdf/pdf_interpret.c
@@ -267,6 +267,7 @@ pdf_show_path(pdf_csi *csi, int doclose, int dofill, int dostroke, int even_odd)
{
gstate->clip_depth++;
fz_clip_path(csi->dev, path, NULL, csi->clip_even_odd, gstate->ctm);
+ csi->clip = 0;
}
if (dofill || dostroke)