diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-07-31 11:40:26 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-10-24 15:16:35 +0100 |
commit | 874cd7a3b8b803702f1d6ccb8c674e8662002e9b (patch) | |
tree | d3d1e403eb4cfa3c64af0c13ec9683649b5cbbc1 /source/fitz/draw-device.c | |
parent | b9ed019811830bea9add8c36a10ae4a1badd93d3 (diff) | |
download | mupdf-874cd7a3b8b803702f1d6ccb8c674e8662002e9b.tar.xz |
Add FZ_ENABLE_SPOT_RENDERING define.
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r-- | source/fitz/draw-device.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index 9ff734ec..6ba5a4cf 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -2680,7 +2680,11 @@ new_draw_device(fz_context *ctx, const fz_matrix *transform, fz_pixmap *dest, co * to trigger on later. */ if (dest->seps) +#ifdef FZ_ENABLE_SPOT_RENDERING dev->resolve_spots = 1; +#else + fz_throw(ctx, FZ_ERROR_GENERIC, "Spot rendering (and overprint/overprint simulation) not available in this build"); +#endif fz_try(ctx) { |