summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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