From a645228790f7d4d1fe31eb5f6051189497a008e4 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Mon, 11 Sep 2017 19:31:32 +0900 Subject: [PATCH] disable TrueTypeGX Variant for 16bit systems in temporal, due to the limitation that internal face_index is typed int. --- include/freetype/config/ftoption.h | 2 ++ 1 file changed, 2 insertions(+) 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 /*************************************************************************/