Branch :
2001-12-20 Werner Lemberg <wl@gnu.org> * src/cache/ftccache.c (ftc_node_destroy, ftc_cache_lookup): Fix tracing strings. * src/cache/ftccmap.c (ftc_cmap_family_init): Ditto. * src/cache/ftcmanag.c (ftc_family_table_alloc, ftc_family_table_free, FTC_Manager_Check): Ditto. * src/cache/ftcsbits.c (ftc_sbit_node_load): Ditto. 2001-12-20 David Turner <david@freetype.org> * include/freetype/config/ftoption.h: Disabling bytecode interpreter for new release. * docs/CHANGES: Updated for 2.0.6 release. * src/cff/cffload.h, src/cff/cffload.c, src/cff/cffgload.c: Updated to mode the definition of encoding tables within "cffload.c" instead of making them part of a shared header (causing problems in "multi" builds). * docs/TODO: Added "stem3 and counter hints support" to the TODO list for the Postscript hinter. * docs/BUGS: Closed the AUTOHINT-NO-SBITS bug. * src/pshinter/pshrec.c (t2_hint_stems), src/cff/cffobjs.h, src/cff/cffobjs.c, src/cff/cffload.c, src/cff/cffload.h, src/cff/cffgload.c, src/cff/cffgload.h, src/cff/cffdriver.c, include/freetype/internal/cfftypes.h: added Postscript hinter support to the CFF driver. * src/base/ftobjs.c (FT_Done_Library): Fixed a stupid bug that crashed the library on exit. * src/type1/t1gload.c (T1_Load_Glyph): Enable font matrix transform on hinted glyphs. * src/cid/cidgload.c, src/cid/cidobjs.c, src/cid/cidobjs.h, src/cid/cidriver.c, include/freetype/internal/t1types.h: Added Postscript hinter support to the CID font driver. 2001-12-19 David Turner <david@freetype.org> * 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. * src/sfnt/sfobjs.c (SFNT_Load_Face): Make the "post" and "name" tables optional to load PCL fonts properly. * 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/raster/ftrend1.c (ft_raster1_render): Fixed a nasty outline shifting bug in the monochrome renderer. * README: Updated version numbers to 2.0.6. 2001-12-17 Werner Lemberg <wl@gnu.org> * src/truetype/ttgload.c (load_truetype_glyph): Fix test for invalid glyph header. 2001-12-15 Werner Lemberg <wl@gnu.org> * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Remove compiler warning. * include/freetype/ftcache.h (FTC_Node_Unref): Removed. It is already in ftcmanag.h. * src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused variable `gfam'. * src/cache/ftcmanag.c (ftc_family_table_alloc, * ftc_family_table_free): Use FT_EXPORT_DEF. * include/freetype/cache/ftcmanag.h: Updated. * src/cache/ftccache.c (ftc_node_destroy): Use FT_EXPORT_DEF. * src/cache/ftccmap.c (ftc_cmap_node_init): Remove unused variable `cfam'. Remove compiler warning. (FTC_CMapCache_Lookup): Remove compiler warnings. (ftc_cmap_family_init): Ditto. (FTC_CMapCache_Lookup): Ditto. * builds/unix/configure.ac: Increase `version_info' to 8:0:2. * builds/unix/configure: Regenerated. 2001-12-14 Werner Lemberg <wl@gnu.org> * builds/mac/README: Updated. 2001-12-14 Scott Long <scott@swiftview.com> * src/truetype/ttgload.c (load_truetype_glyph): Fixing crash when dealing with invalid fonts (i.e. glyph size < 10 bytes). 2001-12-14 Sam Latinga <slouken@devolution.com> * builds/mac/freetype.make: A new Makefile to build with MPW on MacOS classic. 2001-12-14 David Turner <david@freetype.org> * src/truetype/ttgload.c (TT_Load_Glyph), src/type1/t1gload.c (T1_Load_Glyph), src/cid/cidgload.c (CID_Load_Glyph), src/cff/cffgload.c (CFF_Load_Glyph): Fixed a serious bug common to all font drivers (the advance width was never hinted when it should). * include/freetype/freetype.h (FREETYPE_PATCH): New macro. * src/base/ftdbgmem.c (debug_mem_dummy) [!FT_DEBUG_MEMORY]: Don't use `extern' keyword. 2001-12-12 David Turner <david@freetype.org> * src/pshint/pshglob.c (psh_blues_scale_zones, psh_blues_snap_stem psh_globals_new): Adding correct BlueScale/BlueShift support, plus family blues processing. * src/pshint/pshglob.h (PSH_BluesRec): Updated. Started adding support for the Postscript hinter in the CFF module. * src/cff/cffgload.c: Include FT_INTERNAL_POSTSCRIPT_HINTS_H. (CFF_Parse_CharStrings): Implement it. * src/cff/cffgload.h: Updated. 2001-12-12 Werner Lemberg <wl@gnu.org> * builds/unix/freetype2.m4: Some portability fixes. 2001-12-11 Jouk Jansen <joukj@hrem.stm.tudelft.nl> * src/base/descrip.mms (OBJS): Add ftdebug.obj. 2001-12-11 Werner Lemberg <wl@gnu.org> * src/sfnt/ttload.c (TT_Load_Generic_Header): Typos. 2001-12-11 David Turner <david@freetype.org> * builds/unix/freetype-config.in: Modified the script to prevent passing "-L/usr/lib" to gcc. * docs/FTL.TXT: Simple fix (change "LICENSE.TXT" to "FTL.TXT"). * builds/unix/freetype2.m4: New file for checking configure paths. We need to install it in $(prefix)/share/aclocal/freetype2.m4 but I didn't modify builds/unix/install.mk yet. * INSTALL: Updated the instructions to build shared libraries with Jam. They were simply wrong. * src/base/fttrigon.c (FT_Cos): Fixed a small bug that caused slightly improper results for `FT_Cos' and `FT_Sin' (example: FT_Sin(0) == -1!). 2001-12-11 Detlef W