From 35efb103fee44fcacb657e1dc5896e32ac99d295 Mon Sep 17 00:00:00 2001 From: Armin Hasitzka Date: Thu, 30 Aug 2018 14:30:46 +0200 Subject: [PATCH] [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. --- ChangeLog | 8 ++++++++ devel/ftoption.h | 13 +++++++++++++ include/freetype/config/ftoption.h | 13 +++++++++++++ 3 files changed, 34 insertions(+) diff --git a/ChangeLog b/ChangeLog index bcd6b4790..70bc8a105 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2018-08-30 Armin Hasitzka + + [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 [errors] Introduce `FT_Error_String'. 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 */ + + /*************************************************************************/ /*************************************************************************/ /**** ****/ diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h index b5c6fe29b..6b745719a 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 */ + + /*************************************************************************/ /*************************************************************************/ /**** ****/