summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-11 19:31:32 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2017-09-13 17:11:13 +0900
commita645228790f7d4d1fe31eb5f6051189497a008e4 (patch)
tree1b4da33eeea2452f6f7c01a98c6397620bbfdcc7
parent79b806fef82ab0437b58067305796c02b7ec4593 (diff)
downloadfreetype2-a645228790f7d4d1fe31eb5f6051189497a008e4.tar.gz
disable TrueTypeGX Variant for 16bit systems in temporal,
due to the limitation that internal face_index is typed int.
-rw-r--r--include/freetype/config/ftoption.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index 2fbe80b9b..4bddfc5c8 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -711,7 +711,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
/*************************************************************************/