Some clean-up.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
diff --git a/ChangeLog b/ChangeLog
index 77382a1..d21203a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,32 +1,35 @@
2003-08-18 David Turner <david@freetype.org>
- * include/freetype/config/ftoption.h: disabling TrueType bytecode
- interpreter, until the UNPATENTED_HINTING works as advertised
+ * include/freetype/config/ftoption.h: Disabling TrueType bytecode
+ interpreter until the UNPATENTED_HINTING works as advertised.
- * src/autohint/ahhint.c (ah_hinter_load_glyph): fixed bug
+ * src/autohint/ahhint.c (ah_hinter_load_glyph): Use `|' for
+ setting `load_flags'.
- * Jamfile: adding the "refdoc" target to the Jamfile in order to
- build the API Reference in "docs/reference" automatically
+ * Jamfile: Adding the `refdoc' target to the Jamfile in order to
+ build the API Reference in `docs/reference' automatically.
- * include/freetype/t1tables.h, src/cid/cidtoken.h, src/type1/t1tokens.h,
- src/type42/t42parse.c:
+ * include/freetype/t1tables.h (PS_FontInfoRec), src/cid/cidtoken.h,
+ src/type1/t1tokens.h, src/type42/t42parse.c: Resetting the types of
+ `italic_angle', `underline_position', and `underline_thickness' to
+ their previous values (i.e., long, short, and ushort) in order to
+ avoid breaking binary compatibility.
- re-setting the types of "italic_angle", "underline_position" and
- "underline_thickness" to their previous values (i.e. long, short and
- ushort), in order to avoid breaking binary compatibility
+ * include/freetype/ttunpat.h: Fixing documentation comment.
- * include/freetype/ttunpath.h: fixing documentation comment
+ * include/freetype/config/ftoption.h, devel/ftoption.h
+ (TT_CONFIG_OPTION_OPTION_COMPILE_UNPATENTED_HINTING): Replaced
+ with...
+ (TT_CONFIG_OPTION_UNPATENTED_HINTING): This. Updated all users.
+ (TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING): Removed.
- * include/freetype/config/ftoption.h, devel/ftoption.h,
- include/freetype/internal/ftobjs.h, include/freetype/internal/tttypes.h,
- src/truetype/ttinterp.c, src/truetype/ttobjs.c, src/truetype/ttobjs.h:
+ * include/freetype/internal/ftobjs.h (FT_DEBUG_HOOK_TYPE1): Removed.
+ (FT_DEBUG_HOOK_UNPATENTED_HINTING): New macro. Use this with
+ `FT_Set_Debug_Hook' to get the same effect as the removed
+ TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING.
- changed the name of TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING to
- the simpler TT_CONFIG_OPTION_UNPATENTED_HINTING
-
- removed the macro TT_CONFIG_OPTION_FORCE_UNPATENTED_HINTING. Instead,
- the same effect can be used by setting a debug-hook with
- FT_DEBUG_HOOK_UNPATENTED_HINTING globally with FT_Set_Debug_Hook()
+ * src/truetype/ttobjs.c (tt_face_init): Use
+ `FT_DEBUG_HOOK_UNPATENTED_HINTING'.
2003-08-06 Werner Lemberg <wl@gnu.org>
diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c
index 3572c6a..e1e69cd 100644
--- a/src/truetype/ttobjs.c
+++ b/src/truetype/ttobjs.c
@@ -232,7 +232,7 @@
( library->debug_hooks[ FT_DEBUG_HOOK_UNPATENTED_HINTING ] != NULL );
{
- int i;
+ int i;
for ( i = 0; i < num_params && !face->unpatented_hinting; i++ )