From 0798f0c3ecfa52322498c58ceeaa4ee0aa0cc3c1 Mon Sep 17 00:00:00 2001 From: Graham Asher Date: Fri, 25 Apr 2003 11:36:44 +0000 Subject: [PATCH] If unpatented hinting is compiled the TrueType face object acquires a new element, "FT_Bool unpatented_hinting". --- include/freetype/internal/tttypes.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/freetype/internal/tttypes.h b/include/freetype/internal/tttypes.h index 4097ac8f5..0bcd2018a 100644 --- a/include/freetype/internal/tttypes.h +++ b/include/freetype/internal/tttypes.h @@ -1456,6 +1456,9 @@ FT_BEGIN_HEADER /* interpreters field is also used to hook */ /* the debugger in `ttdebug'. */ /* */ + /* unpatented_hinting :: If true, use only unpatented methods in */ + /* the bytecode interpreter. */ + /* */ /* extra :: Reserved for third-party font drivers. */ /* */ typedef struct TT_FaceRec_ @@ -1559,6 +1562,10 @@ FT_BEGIN_HEADER /* used to hook the debugger for the `ttdebug' utility. */ TT_Interpreter interpreter; +#ifdef TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING + /* Use unpatented hinting only. */ + FT_Bool unpatented_hinting; +#endif /***********************************************************************/ /* */