Formatting.

CFF encoding tables moved back from cffload.c to cffload.h.
This commit is contained in:
Werner Lemberg 2001-12-19 22:26:12 +00:00
parent 4937a3ebd2
commit 0d535112fd
7 changed files with 1041 additions and 1052 deletions

View File

@ -1,27 +1,26 @@
2001-12-19 David Turner <david@freetype.org>
* src/truetype/ttgload.c (TT_Load_Glyph), src/base/ftobjs.c
(FT_Load_Glyph): "fixed" the bug that prevented embedded bitmaps from
begin loaded when the auto-hinter is used.. This actually is a hack
but will be enough until the internal re-design scheduled for
FreeType 2.1
* include/freetype/cache/ftcache.h: Added comments to indicate that
some of the exported functions should only be used by applications
that need to implement custom cache types.
* src/truetype/ttgload.c (cur_to_org, org_to_cur): Fixed a nasty bug
that prevented composites from loading correctly, due to missing
parentheses around macro parameters.
* include/freetype/cache/ftcache.h: added comments to indicate that
some of the exported functions should only be used by applications
that need to implement custom cache types
* src/sfnt/sfobjs.c (SFNT_Load_Face): Make the "post" and "name"
tables optional to load PCL fonts properly.
* src/truetype/ttgload.c: fixed a nasty bug that prevent composites
from loading correctly. Believe it or not, this was due to an invalid
macro definition !!
* src/truetype/ttgload.c (TT_Load_Glyph), src/base/ftobjs.c
(FT_Load_Glyph), include/freetype/freetype.h (FT_LOAD_SBITS_ONLY):
"Fixed" the bug that prevented embedded bitmaps to be loaded when
the auto-hinter is used. This actually is a hack but will be enough
until the internal re-design scheduled for FreeType 2.1.
* src/sfnt/sfobjs.c (SFNT_Load_Face): make the "post" and "name"
tables optional to load PCL fonts properly
* src/raster/ftrend1.c (ft_raster1_render): Fixed a nasty outline
shifting bug in the monochrome renderer.
* src/raster/ftrend1.c (ft_raster1_render): fixed a nasty outline
shifting bug in the monochrome renderer.
* README: updated version numbers to 2.0.6
* README: Updated version numbers to 2.0.6.
2001-12-17 Werner Lemberg <wl@gnu.org>

View File

@ -2068,8 +2068,8 @@ FT_BEGIN_HEADER
/* */
#define FT_LOAD_LINEAR_DESIGN 8192
/* temporary hack !! */
#define FT_LOAD_SBITS_ONLY 16384
/* temporary hack! */
#define FT_LOAD_SBITS_ONLY 16384
/*************************************************************************/

View File

@ -851,7 +851,7 @@
driver = face->driver;
/* when the flag NO_RECURSE is set, we disable hinting and scaling */
/* if the flag NO_RECURSE is set, we disable hinting and scaling */
if ( load_flags & FT_LOAD_NO_RECURSE )
{
/* disable scaling, hinting, and transformation */
@ -883,10 +883,10 @@
FT_AutoHinter_Interface* hinting;
/* try to load embedded bitmaps first when available */
/* XXX: this is really a temporary hack that should disappear */
/* promptly with FreeType 2.1 !! */
/* try to load embedded bitmaps first if available */
/* */
/* XXX: This is really a temporary hack that should disappear */
/* promptly with FreeType 2.1! */
/* */
if ( FT_HAS_FIXED_SIZES( face ) )
{

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -301,9 +301,10 @@
LOAD_( charmaps ) )
goto Exit;
/* the following tables are optional in PCL fonts, don't check for errors */
(void) LOAD_( names );
(void) LOAD_( psnames );
/* the following tables are optional in PCL fonts -- */
/* don't check for errors */
(void)LOAD_( names );
(void)LOAD_( psnames );
/* do not load the metrics headers and tables if this is an Apple */
/* sbit font file */

View File

@ -1411,7 +1411,7 @@
#endif /* TT_CONFIG_OPTION_EMBEDDED_BITMAPS */
/* return immediately if we only wanted the embedded bitmaps */
/* return immediately if we only want the embedded bitmaps */
if ( load_flags & FT_LOAD_SBITS_ONLY )
return FT_Err_Invalid_Argument;