diff options
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/pdf_interpret.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf/pdf_interpret.c b/pdf/pdf_interpret.c index 4f26f04a..9b2a788b 100644 --- a/pdf/pdf_interpret.c +++ b/pdf/pdf_interpret.c @@ -263,15 +263,15 @@ pdf_show_path(pdf_csi *csi, int doclose, int dofill, int dostroke, int even_odd) else bbox = fz_bound_path(path, NULL, gstate->ctm); - if (dofill || dostroke) - pdf_begin_group(csi, bbox); - if (csi->clip) { gstate->clip_depth++; fz_clip_path(csi->dev, path, NULL, csi->clip_even_odd, gstate->ctm); } + if (dofill || dostroke) + pdf_begin_group(csi, bbox); + if (dofill) { switch (gstate->fill.kind) |