ref: 0529ba8d2579dcff1c287c40ea491ebc39fa24f5
parent: 730b7b1f79c447f6812fe95c8b2f9ec684752d81
author: David Turner <[email protected]>
date: Sun Apr 3 18:09:41 EDT 2005
* 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
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-04-04 David Turner <[email protected]>
+
+ * 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 <[email protected]>
* src/type1/t1parse.c (T1_New_Parser): Relax the check for a valid
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -550,30 +550,11 @@
/* */
/*
- * 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
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -550,30 +550,11 @@
/* */
/*
- * 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
--- 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;