summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2003-06-04 07:59:58 +0000
committerWerner Lemberg <wl@gnu.org>2003-06-04 07:59:58 +0000
commit124d3334411e6c06c9d023330960b993eb451e0f (patch)
tree2c9f98b4963959aac6d5f06558270ac0043c1fd1 /include
parent1c524796422a86b4099c66293c9f76511e640e74 (diff)
downloadfreetype2-124d3334411e6c06c9d023330960b993eb451e0f.tar.gz
* src/truetype/ttgload.c (load_truetype_glyph)
[TT_CONFIG_OPTION_BYTECODE_INTERPRETER]: Call FT_GlyphLoader_CheckPoints before adding phantom points. This fixes a segfault bug with fonts (e.g. htst3.ttf) which have nested subglyphs more than one level deep. Reported by Anthony Fok. * include/freetype/config/ftoption.h: Define TT_CONFIG_OPTION_BYTECODE_INTERPRETER, TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING, and TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING to make it the new default.
Diffstat (limited to 'include')
-rw-r--r--include/freetype/config/ftoption.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index c55404b25..21f2c9a54 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -291,7 +291,7 @@ FT_BEGIN_HEADER
/* should define FT_DEBUG_MEMORY here. */
/* */
/* Note that the memory debugger is only activated at runtime when */
- /* when the _environment_ variable "FT_DEBUG_MEMORY" is also defined! */
+ /* when the _environment_ variable "FT2_DEBUG_MEMORY" is defined also! */
/* */
/* Do not #undef this macro here since the build system might define */
/* it for certain configurations only. */
@@ -399,18 +399,19 @@ 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 */
+#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 (in addition to */
+ /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER) 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_COMPILE_UNPATENTED_HINTING
/*************************************************************************/
@@ -423,7 +424,7 @@ FT_BEGIN_HEADER
/* 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_FORCE_UNPATENTED_HINTING
/*************************************************************************/