summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorArmin Hasitzka <prince.cherusker@gmail.com>2018-08-30 14:30:46 +0200
committerArmin Hasitzka <prince.cherusker@gmail.com>2018-08-30 14:30:46 +0200
commit35efb103fee44fcacb657e1dc5896e32ac99d295 (patch)
tree32dc9277569bc41e947234b208b2bf72e096fe5a /devel
parentd20dc3928b9d3ee075106b7684dab6111d6a5899 (diff)
downloadfreetype2-35efb103fee44fcacb657e1dc5896e32ac99d295.tar.gz
[errors] Introduce a macro to control `FT_Error_String'.
* devel/ftoption.h (FT_CONFIG_OPTION_ERROR_STRINGS), include/freetype/config/ftoption.h (FT_CONFIG_OPTION_ERROR_STRINGS): New macro.
Diffstat (limited to 'devel')
-rw-r--r--devel/ftoption.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/ftoption.h b/devel/ftoption.h
index accb24521..ab7968d32 100644
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -497,6 +497,19 @@ FT_BEGIN_HEADER
#undef FT_CONFIG_OPTION_USE_MODULE_ERRORS
+ /**************************************************************************
+ *
+ * Error Strings
+ *
+ * If this macro is set, `FT_Error_String' will return meaningful
+ * descriptions. This is not enabled by default to reduce the overall
+ * size of FreeType.
+ *
+ * More details can be found in the file fterrors.h.
+ */
+/* #define FT_CONFIG_OPTION_ERROR_STRINGS */
+
+
/*************************************************************************/
/*************************************************************************/
/**** ****/