summaryrefslogtreecommitdiff
path: root/source/tools/murun.c
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2017-06-23 12:23:36 -0700
committerRobin Watts <robin.watts@artifex.com>2017-07-17 19:32:06 +0100
commit63713f22ae830142dfe0d3896948ec53c4705ace (patch)
treefe8334e262f4507dc2cd2a3ee6d6239bb2c44b40 /source/tools/murun.c
parent28bfd69eb4101a2197920da6cbc21f491d8cb288 (diff)
downloadmupdf-63713f22ae830142dfe0d3896948ec53c4705ace.tar.xz
Add colorspace handling to transparency groups
Also force softmasks to be isolated groups.
Diffstat (limited to 'source/tools/murun.c')
-rw-r--r--source/tools/murun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/murun.c b/source/tools/murun.c
index 5e627295..ec9a93e3 100644
--- a/source/tools/murun.c
+++ b/source/tools/murun.c
@@ -1067,7 +1067,7 @@ js_dev_end_mask(fz_context *ctx, fz_device *dev)
static void
js_dev_begin_group(fz_context *ctx, fz_device *dev, const fz_rect *bbox,
- int isolated, int knockout, int blendmode, float alpha)
+ fz_colorspace *cs, int isolated, int knockout, int blendmode, float alpha)
{
js_State *J = ((js_device*)dev)->J;
if (js_try(J))
@@ -1404,7 +1404,7 @@ static void ffi_Device_beginGroup(js_State *J)
int blendmode = fz_lookup_blendmode(js_tostring(J, 4));
float alpha = js_tonumber(J, 5);
fz_try(ctx)
- fz_begin_group(ctx, dev, &area, isolated, knockout, blendmode, alpha);
+ fz_begin_group(ctx, dev, &area, NULL, isolated, knockout, blendmode, alpha);
fz_catch(ctx)
rethrow(J);
}