From 6f3972535746487bf552eab2fa0d0096b60aab19 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 31 May 2017 09:49:36 +0100 Subject: Remove forcing of isolate mode in clipping paths. This causes breakages of rendering for non-rectangular clipping paths, as seen on page 10 of Transparency-DesignGuide.pdf in the "Knockout group on" image, if we disable the rectangular optimisation case in fz_draw_clip_path. --- source/fitz/draw-device.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source') diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index 7c811f5e..2ed90bb0 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -469,7 +469,6 @@ fz_draw_clip_path(fz_context *ctx, fz_device *devp, const fz_path *path, int eve fz_scan_convert(ctx, gel, even_odd, &bbox, state[1].mask, NULL); - state[1].blendmode |= FZ_BLEND_ISOLATED; state[1].scissor = bbox; #ifdef DUMP_GROUP_BLENDS dump_spaces(dev->top-1, "Clip (non-rectangular) begin\n"); -- cgit v1.2.3