summaryrefslogtreecommitdiff
path: root/source/fitz/svg-device.c
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2017-08-07 18:57:46 -0700
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:36 +0100
commit5bc368de9feb7d12c124e2d0712e2d7314420c44 (patch)
tree9a2841d082ab3133cb6abdfa7bdd932b865782d2 /source/fitz/svg-device.c
parent38620dea1512581a65350955cebb1028063ce42b (diff)
downloadmupdf-5bc368de9feb7d12c124e2d0712e2d7314420c44.tar.xz
Make sure shades use proper "default" color space.
Fixes some issues in Altona test file.
Diffstat (limited to 'source/fitz/svg-device.c')
-rw-r--r--source/fitz/svg-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/svg-device.c b/source/fitz/svg-device.c
index 3860b5c5..7c8dfd50 100644
--- a/source/fitz/svg-device.c
+++ b/source/fitz/svg-device.c
@@ -921,7 +921,7 @@ svg_dev_fill_shade(fz_context *ctx, fz_device *dev, fz_shade *shade, const fz_ma
fz_try(ctx)
{
- fz_paint_shade(ctx, shade, ctm, pix, color_params, &bbox, NULL);
+ fz_paint_shade(ctx, shade, NULL, ctm, pix, color_params, &bbox, NULL);
buf = fz_new_buffer_from_pixmap_as_png(ctx, pix, color_params);
if (alpha != 1.0f)
fz_write_printf(ctx, out, "<g opacity=\"%g\">\n", alpha);