diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-06-01 16:06:07 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-06-06 14:53:23 +0200 |
commit | cc1fd2ff2a440a7fdb2a30ef66aba31043c4ba92 (patch) | |
tree | 52dc8114ef259825dad3d2c7cc929aa71fcc6c16 /include/mupdf/fitz/config.h | |
parent | ae64e55878766478f536a0b2158e0a29f5cf00ed (diff) | |
download | mupdf-cc1fd2ff2a440a7fdb2a30ef66aba31043c4ba92.tar.xz |
Add FZ_ENABLE_JS configuration define.
Diffstat (limited to 'include/mupdf/fitz/config.h')
-rw-r--r-- | include/mupdf/fitz/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/mupdf/fitz/config.h b/include/mupdf/fitz/config.h index 98262ac3..69f38292 100644 --- a/include/mupdf/fitz/config.h +++ b/include/mupdf/fitz/config.h @@ -30,6 +30,12 @@ /* #define FZ_ENABLE_GPRF 1 */ /* + Choose whether to enable JavaScript. + By default JavaScript is enabled both for mutool and PDF interactivity. +*/ +/* #define FZ_ENABLE_JS 1 */ + +/* Choose which fonts to include. By default we include the base 14 PDF fonts, DroidSansFallback from Android for CJK, and @@ -120,6 +126,9 @@ #define FZ_ENABLE_GPRF 0 #endif /* FZ_ENABLE_GPRF */ +#ifndef FZ_ENABLE_JS +#define FZ_ENABLE_JS 1 +#endif /* FZ_ENABLE_JS */ /* If Epub and HTML are both disabled, disable SIL fonts */ #if FZ_ENABLE_HTML == 0 && FZ_ENABLE_EPUB == 0 |