From 35efb103fee44fcacb657e1dc5896e32ac99d295 Mon Sep 17 00:00:00 2001 From: Armin Hasitzka Date: Thu, 30 Aug 2018 14:30:46 +0200 Subject: [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. --- devel/ftoption.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'devel') 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 */ + + /*************************************************************************/ /*************************************************************************/ /**** ****/ -- cgit v1.2.1