Commit 35efb103fee44fcacb657e1dc5896e32ac99d295

Armin Hasitzka 2018-08-30T14:30:46

[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.

diff --git a/ChangeLog b/ChangeLog
index bcd6b47..70bc8a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2018-08-30  Armin Hasitzka  <prince.cherusker@gmail.com>
 
+	[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.
+
+2018-08-30  Armin Hasitzka  <prince.cherusker@gmail.com>
+
 	[errors] Introduce `FT_Error_String'.
 
 	* include/freetype/fterrors.h (FT_Error_String),
diff --git a/devel/ftoption.h b/devel/ftoption.h
index accb245..ab7968d 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 */
+
+
   /*************************************************************************/
   /*************************************************************************/
   /****                                                                 ****/
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index b5c6fe2..6b74571 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -493,6 +493,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 */
+
+
   /*************************************************************************/
   /*************************************************************************/
   /****                                                                 ****/