summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-12 15:38:40 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-13 17:11:11 +0900
commit93e76a510ce07a9c1a2f01e9e431d9b6726ff49a (patch)
treea476d8087aaa0cbb940dd00b321381d651b37be9
parent5ad845771a7389e72e4868dd1d4f0986f812b705 (diff)
downloadfreetype2-93e76a510ce07a9c1a2f01e9e431d9b6726ff49a.tar.gz
devel/ftoption.h: disable some too expensive features for 16bit platform.
-rw-r--r--devel/ftoption.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/ftoption.h b/devel/ftoption.h
index 9f9cac129..402ae14fa 100644
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -175,7 +175,7 @@ FT_BEGIN_HEADER
/* */
/* Define this macro if you want to enable this `feature'. */
/* */
-#define FT_CONFIG_OPTION_USE_LZW
+/* #define FT_CONFIG_OPTION_USE_LZW */
/*************************************************************************/
@@ -190,7 +190,7 @@ FT_BEGIN_HEADER
/* Define this macro if you want to enable this `feature'. See also */
/* the macro FT_CONFIG_OPTION_SYSTEM_ZLIB below. */
/* */
-#define FT_CONFIG_OPTION_USE_ZLIB
+/* #define FT_CONFIG_OPTION_USE_ZLIB */
/*************************************************************************/
@@ -227,7 +227,7 @@ FT_BEGIN_HEADER
/* */
/* Define this macro if you want to enable this `feature'. */
/* */
-#define FT_CONFIG_OPTION_USE_BZIP2
+/* #define FT_CONFIG_OPTION_USE_BZIP2 */
/*************************************************************************/
@@ -252,7 +252,7 @@ FT_BEGIN_HEADER
/* */
/* Define this macro if you want to enable this `feature'. */
/* */
-#define FT_CONFIG_OPTION_USE_PNG
+/* #define FT_CONFIG_OPTION_USE_PNG */
/*************************************************************************/
@@ -265,7 +265,7 @@ FT_BEGIN_HEADER
/* */
/* Define this macro if you want to enable this `feature'. */
/* */
-#define FT_CONFIG_OPTION_USE_HARFBUZZ
+/* #define FT_CONFIG_OPTION_USE_HARFBUZZ */
/*************************************************************************/
@@ -702,7 +702,9 @@ FT_BEGIN_HEADER
/* and avar tables). This has many similarities to Type 1 Multiple */
/* Masters support. */
/* */
+#if FT_UINT_MAX > 0xFFFFUL
#define TT_CONFIG_OPTION_GX_VAR_SUPPORT
+#endif
/*************************************************************************/