shithub: freetype+ttf2subf

Download patch

ref: 35efb103fee44fcacb657e1dc5896e32ac99d295
parent: d20dc3928b9d3ee075106b7684dab6111d6a5899
author: Armin Hasitzka <[email protected]>
date: Thu Aug 30 10:30:46 EDT 2018

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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2018-08-30  Armin Hasitzka  <[email protected]>
 
+	[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  <[email protected]>
+
 	[errors] Introduce `FT_Error_String'.
 
 	* include/freetype/fterrors.h (FT_Error_String),
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -497,6 +497,19 @@
 #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 */
+
+
   /*************************************************************************/
   /*************************************************************************/
   /****                                                                 ****/
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -493,6 +493,19 @@
 #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 */
+
+
   /*************************************************************************/
   /*************************************************************************/
   /****                                                                 ****/