summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2019-09-05 12:14:03 +0200
committerWerner Lemberg <wl@gnu.org>2019-09-05 12:14:03 +0200
commit87f5225256969e59dec7ea64c96067776d8a2f2d (patch)
treeb8e49673b331f1757b13409642afb6c617edcaaf /include
parent12351eeefa677de3dee4c3a3c9c91ba3b5fb6855 (diff)
downloadfreetype2-87f5225256969e59dec7ea64c96067776d8a2f2d.tar.gz
Fix handling of `AF_CONFIG_OPTION_INDIC'.
* devel/ftoption.h, include/freetype/config/ftoption.h: `AF_CONFIG_OPTION_INDIC' needs `AF_CONFIG_OPTION_CJK'.
Diffstat (limited to 'include')
-rw-r--r--include/freetype/config/ftoption.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index c3fd181ff..721e2c9b1 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -887,9 +887,11 @@ FT_BEGIN_HEADER
*
* Compile 'autofit' module with fallback Indic script support, covering
* some scripts that the 'latin' submodule of the 'autofit' module doesn't
- * (yet) handle.
+ * (yet) handle. Currently, this needs option `AF_CONFIG_OPTION_CJK`.
*/
+#ifdef AF_CONFIG_OPTION_CJK
#define AF_CONFIG_OPTION_INDIC
+#endif
/**************************************************************************