From f957eae764e6dbc74401b66d6a18ba3290fdb982 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Mon, 3 Jul 2017 18:33:48 +0100 Subject: Add spots to fz_pixmaps. Update separations interface further to cope with whether spots should be rendered separately, or as composite colors. --- source/fitz/draw-scale-simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/draw-scale-simple.c') diff --git a/source/fitz/draw-scale-simple.c b/source/fitz/draw-scale-simple.c index 725f6b1a..861afb67 100644 --- a/source/fitz/draw-scale-simple.c +++ b/source/fitz/draw-scale-simple.c @@ -1711,7 +1711,7 @@ fz_scale_pixmap_cached(fz_context *ctx, const fz_pixmap *src, float x, float y, #endif /* SINGLE_PIXEL_SPECIALS */ contrib_rows = make_weights(ctx, src->h, y, h, filter, 1, dst_h_int, patch.y0, patch.y1, src->n, flip_y, cache_y); - output = fz_new_pixmap(ctx, src->colorspace, patch.x1 - patch.x0, patch.y1 - patch.y0, src->alpha || forcealpha); + output = fz_new_pixmap(ctx, src->colorspace, patch.x1 - patch.x0, patch.y1 - patch.y0, src->seps, src->alpha || forcealpha); } fz_catch(ctx) { -- cgit v1.2.3