diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-07-03 18:33:48 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-07-19 19:41:23 +0100 |
commit | f957eae764e6dbc74401b66d6a18ba3290fdb982 (patch) | |
tree | 224513a5080adde16386669feb0881aefe75794a /source/fitz/draw-scale-simple.c | |
parent | 3d6cf4e4e543ce0d204db71ef8d0b9277219f250 (diff) | |
download | mupdf-f957eae764e6dbc74401b66d6a18ba3290fdb982.tar.xz |
Add spots to fz_pixmaps.
Update separations interface further to cope with whether spots
should be rendered separately, or as composite colors.
Diffstat (limited to 'source/fitz/draw-scale-simple.c')
-rw-r--r-- | source/fitz/draw-scale-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |