From 7ea970ba5b343ad4e934bd2d510ccbb2c2d6d53f Mon Sep 17 00:00:00 2001 From: Graham Asher Date: Fri, 25 Apr 2003 11:34:18 +0000 Subject: [PATCH] Added configuration macros (not defined, but in comments) for the unpatented hinting system. --- include/freetype/config/ftoption.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h index 13e70ee0c..6b4ae8fed 100644 --- a/include/freetype/config/ftoption.h +++ b/include/freetype/config/ftoption.h @@ -389,6 +389,30 @@ FT_BEGIN_HEADER /* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ + /*************************************************************************/ + /* */ + /* Define TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING to compile the */ + /* unpatented work-around hinting system. You must define this if you */ + /* want either to force the use of the unpatented hinting system by also */ + /* defining TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING, or if you want to */ + /* select it at run time using the FT_PARAM_TAG_UNPATENTED_HINTING tag. */ + /* */ +/* #define TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING */ + + + /*************************************************************************/ + /* */ + /* Define TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING to restrict the */ + /* TrueType bytecode interpreter to actions not protected by patents. */ + /* This enables some fonts, for example mingliu.ttc from Dynalab, to */ + /* work properly. They use hinting to make large changes to the glyph */ + /* shape, without which the glyph is unrecognisable. */ + /* For this to work you must also define */ + /* TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING. */ + /* */ +/* #define TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING */ + + /*************************************************************************/ /* */ /* Define TT_CONFIG_OPTION_INTERPRETER_SWITCH to compile the TrueType */