* 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
This commit is contained in:
parent
730b7b1f79
commit
0529ba8d25
@ -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
|
||||
|
@ -549,31 +549,12 @@ 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
|
||||
|
@ -549,31 +549,12 @@ 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
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user