summaryrefslogtreecommitdiff
path: root/scripts/freetype/slimftoptions.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-11-28 15:07:03 +0100
committerRobin Watts <robin@peeves.(none)>2013-11-28 08:10:52 -0800
commitd0d65fa2d6e1256d011982fe121ad0417e9014ca (patch)
tree085626d7c04445386df885ea108428c0cee40d0c /scripts/freetype/slimftoptions.h
parent81a97d655e373d7371e70f6a2051a41f606c62dc (diff)
downloadmupdf-d0d65fa2d6e1256d011982fe121ad0417e9014ca.tar.xz
Put thirdparty config headers in separate directories.
Only -I the config header directory if building the thirdparty library, not if using the system library. Fix bug 694808.
Diffstat (limited to 'scripts/freetype/slimftoptions.h')
-rw-r--r--scripts/freetype/slimftoptions.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/freetype/slimftoptions.h b/scripts/freetype/slimftoptions.h
new file mode 100644
index 00000000..066ee377
--- /dev/null
+++ b/scripts/freetype/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