* include/freetype/config/ftoption.h: commenting the definition of FT_OPTIMIZE_MEMORY for the upcoming 2.1.10 release * src/autofit/afhints.c: small tweak to use a bit less heap memory within the auto-fitter
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
diff --git a/ChangeLog b/ChangeLog
index 60ff07b..64a2347 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-04-04 David Turner <david@freetype.org>
+
+ * include/freetype/config/ftoption.h: commenting the definition of
+ FT_OPTIMIZE_MEMORY for the upcoming 2.1.10 release
+
+ * src/autofit/afhints.c: small tweak to use a bit less heap memory
+ within the auto-fitter
+
2005-04-03 Werner Lemberg <wl@gnu.org>
* src/type1/t1parse.c (T1_New_Parser): Relax the check for a valid
diff --git a/devel/ftoption.h b/devel/ftoption.h
index c7dbf1b..f523403 100644
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -550,30 +550,11 @@ FT_BEGIN_HEADER
/* */
/*
- * The FT_CONFIG_OPTION_CHESTER_XXXX macros are used to toggle some recent
- * improvements to the auto-hinter contributed by David Chester. They will
- * most likely disappear completely in the next release. For now, you
- * should always keep them defined.
- *
- */
-#define FT_CONFIG_OPTION_CHESTER_HINTS
-
-#ifdef FT_CONFIG_OPTION_CHESTER_HINTS
-
-#define FT_CONFIG_CHESTER_SMALL_F
-#define FT_CONFIG_CHESTER_ASCENDER
-#define FT_CONFIG_CHESTER_SERIF
-#define FT_CONFIG_CHESTER_STEM
-#define FT_CONFIG_CHESTER_BLUE_SCALE
-
-#endif /* FT_CONFIG_OPTION_CHESTER_HINTS */
-
-/*
* This temporary macro is used to control various optimizations for
* reducing the heap footprint of memory-mapped TrueType files.
*
*/
-#define FT_OPTIMIZE_MEMORY
+/* #define FT_OPTIMIZE_MEMORY */
FT_END_HEADER
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index 7c162cc..17d8797 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -550,30 +550,11 @@ FT_BEGIN_HEADER
/* */
/*
- * The FT_CONFIG_OPTION_CHESTER_XXXX macros are used to toggle some recent
- * improvements to the auto-hinter contributed by David Chester. They will
- * most likely disappear completely in the next release. For now, you
- * should always keep them defined.
- *
- */
-#define FT_CONFIG_OPTION_CHESTER_HINTS
-
-#ifdef FT_CONFIG_OPTION_CHESTER_HINTS
-
-#define FT_CONFIG_CHESTER_SMALL_F
-#define FT_CONFIG_CHESTER_ASCENDER
-#define FT_CONFIG_CHESTER_SERIF
-#define FT_CONFIG_CHESTER_STEM
-#define FT_CONFIG_CHESTER_BLUE_SCALE
-
-#endif /* FT_CONFIG_OPTION_CHESTER_HINTS */
-
-/*
* This temporary macro is used to control various optimizations for
* reducing the heap footprint of memory-mapped TrueType files.
*
*/
-#define FT_OPTIMIZE_MEMORY
+/* #define FT_OPTIMIZE_MEMORY */
FT_END_HEADER
diff --git a/src/autofit/afhints.c b/src/autofit/afhints.c
index ade4fd3..d81df01 100644
--- a/src/autofit/afhints.c
+++ b/src/autofit/afhints.c
@@ -42,7 +42,7 @@
goto Exit;
}
- new_max += ( new_max >> 1 ) + 4;
+ new_max += ( new_max >> 2 ) + 4;
if ( new_max < old_max || new_max > big_max )
new_max = big_max;
@@ -85,7 +85,7 @@
goto Exit;
}
- new_max += ( new_max >> 1 ) + 4;
+ new_max += ( new_max >> 2 ) + 4;
if ( new_max < old_max || new_max > big_max )
new_max = big_max;