summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/config.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-07-31 11:40:26 +0100
committerRobin Watts <robin.watts@artifex.com>2017-10-24 15:16:35 +0100
commit874cd7a3b8b803702f1d6ccb8c674e8662002e9b (patch)
treed3d1e403eb4cfa3c64af0c13ec9683649b5cbbc1 /include/mupdf/fitz/config.h
parentb9ed019811830bea9add8c36a10ae4a1badd93d3 (diff)
downloadmupdf-874cd7a3b8b803702f1d6ccb8c674e8662002e9b.tar.xz
Add FZ_ENABLE_SPOT_RENDERING define.
Diffstat (limited to 'include/mupdf/fitz/config.h')
-rw-r--r--include/mupdf/fitz/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/mupdf/fitz/config.h b/include/mupdf/fitz/config.h
index 82f926b2..7fc38c88 100644
--- a/include/mupdf/fitz/config.h
+++ b/include/mupdf/fitz/config.h
@@ -3,6 +3,12 @@
#define FZ_CONFIG_H
/*
+ Enable the following for spot (and hence overprint/overprint
+ simulation) capable rendering. This forces FZ_PLOTTERS_N on.
+*/
+#define FZ_ENABLE_SPOT_RENDERING
+
+/*
Choose which plotters we need.
By default we build all the plotters in. To avoid building
plotters in that aren't needed, define the unwanted
@@ -83,6 +89,11 @@
/* ---------- DO NOT EDIT ANYTHING UNDER THIS LINE ---------- */
+#ifndef FZ_ENABLE_SPOT_RENDERING
+#undef FZ_PLOTTERS_N
+#define FZ_PLOTTERS_N 1
+#endif /* FZ_ENABLE_SPOT_RENDERING */
+
#ifndef FZ_PLOTTERS_G
#define FZ_PLOTTERS_G 1
#endif /* FZ_PLOTTERS_G */