summaryrefslogtreecommitdiff
path: root/scripts/slimftoptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/slimftoptions.h')
-rw-r--r--scripts/slimftoptions.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/slimftoptions.h b/scripts/slimftoptions.h
new file mode 100644
index 00000000..066ee377
--- /dev/null
+++ b/scripts/slimftoptions.h
@@ -0,0 +1,14 @@
+/* custom ftoption.h which selects the minimum features needed by mupdf */
+
+#include <freetype/config/ftoption.h>
+#undef FT_CONFIG_OPTION_USE_LZW
+#undef FT_CONFIG_OPTION_USE_ZLIB
+#undef FT_CONFIG_OPTION_MAC_FONTS
+#undef FT_CONFIG_OPTION_INCREMENTAL
+#undef TT_CONFIG_OPTION_EMBEDDED_BITMAPS
+#undef TT_CONFIG_OPTION_GX_VAR_SUPPORT
+#undef TT_CONFIG_OPTION_BDF
+#undef T1_CONFIG_OPTION_NO_AFM
+#undef T1_CONFIG_OPTION_NO_MM_SUPPORT
+
+#undef FT_CONFIG_OPTION_OLD_INTERNALS