diff --git a/headers/libs/freetype2/freetype/config/ftoption.h b/headers/libs/freetype2/freetype/config/ftoption.h index 759b3a3b3b..2e49d13d7a 100644 --- a/headers/libs/freetype2/freetype/config/ftoption.h +++ b/headers/libs/freetype2/freetype/config/ftoption.h @@ -92,8 +92,9 @@ FT_BEGIN_HEADER /* This is done to allow FreeType clients to run unmodified, forcing */ /* them to display normal gray-level anti-aliased glyphs. */ /* */ -/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ - +#if HAIKU_INCLUDE_PATENTED_CODE +# define FT_CONFIG_OPTION_SUBPIXEL_RENDERING +#endif /*************************************************************************/ /* */ @@ -495,8 +496,9 @@ FT_BEGIN_HEADER /* Do not #undef this macro here, since the build system might */ /* define it for certain configurations only. */ /* */ -/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ - +#if HAIKU_INCLUDE_PATENTED_CODE +# define FT_CONFIG_OPTION_SUBPIXEL_RENDERING +#endif /*************************************************************************/ /* */