summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/config.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-10-10 12:53:32 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-10-25 15:50:27 +0200
commitc7535ca8ef92af5adcb58d1b33e15933c27951c5 (patch)
tree0f872a7c2c2d447901c04b0b93a7e420c6afd479 /include/mupdf/fitz/config.h
parentf0367fc24d95a2172ed0ebb38adc0632de9fb7ce (diff)
downloadmupdf-c7535ca8ef92af5adcb58d1b33e15933c27951c5.tar.xz
Rename NO_ICC to FZ_ENABLE_ICC=0|1 to match other config.h options.
Diffstat (limited to 'include/mupdf/fitz/config.h')
-rw-r--r--include/mupdf/fitz/config.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/mupdf/fitz/config.h b/include/mupdf/fitz/config.h
index 3beb3b58..c894c577 100644
--- a/include/mupdf/fitz/config.h
+++ b/include/mupdf/fitz/config.h
@@ -34,6 +34,11 @@
/* #define FZ_ENABLE_GPRF 1 */
/*
+ Choose whether to enable ICC color profiles.
+*/
+/* #define FZ_ENABLE_ICC 1 */
+
+/*
Choose whether to enable JPEG2000 decoding.
By default, it is enabled, but due to frequent security
issues with the third party libraries we support disabling
@@ -79,9 +84,6 @@
/* To skip the SIL fonts, enable: */
/* #define TOFU_SIL */
-/* To skip the ICC profiles, enable: */
-/* #define NO_ICC */
-
/* To skip the Base14 fonts, enable: */
/* #define TOFU_BASE14 */
/* (You probably really don't want to do that except for measurement purposes!) */
@@ -159,6 +161,10 @@
#define FZ_ENABLE_JS 1
#endif /* FZ_ENABLE_JS */
+#ifndef FZ_ENABLE_ICC
+#define FZ_ENABLE_ICC 1
+#endif /* FZ_ENABLE_ICC */
+
/* If Epub and HTML are both disabled, disable SIL fonts */
#if FZ_ENABLE_HTML == 0 && FZ_ENABLE_EPUB == 0
#undef TOFU_SIL