Formatting.
Cleaning up of ChangeLog.
* docs/license.txt: s/X Windows/X Window System/.
* src/raster/ftraster.c: Fix definition condition of MEM_Set().
* src/smooth/ftgrays.c (M_Y): Change value to 192.
* src/base/ftdbgmem.c (ft_mem_table_destroy): Fix printf() parameter.
Remove unused variable.
* src/cache/ftcimage.c (ftc_image_node_init,
ftc_image_node_compare): Remove unused variables.
* src/cache/ftcsbits.c (ftc_sbit_node_weight): Remove unused
variable.
* src/raster/ftraster.c (MEM_Set): Move definition down to avoid
compiler warning.
* src/autohint/ahhint.c (ah_hinter_hint_edges): Use UNUSED() to
avoid compiler warnings.
* src/pcf/pcfread.c (tableNames): Use `const'.
(pcf_read_TOC): Change counter name to avoid compiler warning.
Use `const'.
* src/pshinter/pshrec.c (ps_hints_close): Remove redundant
declaration.
* src/pshinter/pshalgo1.c (psh1_hint_table_init): Rename variables
to avoid shadowing.
* src/pshinter/pshalgo2.c (psh2_hint_table_activate_mask): Ditto.
* src/type1/t1objs.h: Remove double declarations of `T1_Size_Init()'
and `T1_Size_Done()'.
diff --git a/ChangeLog b/ChangeLog
index 3524083..8721293 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,121 +1,178 @@
-2001-11-20 Antoine Leca <antoineleca@multimania.com>
+2001-12-05 David Krause <freetype@davidkrause.com>
+
+ * docs/license.txt: s/X Windows/X Window System/.
+
+2001-12-04 Werner Lemberg <wl@gnu.org>
+
+ * src/raster/ftraster.c: Fix definition condition of MEM_Set().
+ * src/smooth/ftgrays.c (M_Y): Change value to 192.
+ * src/base/ftdbgmem.c (ft_mem_table_destroy): Fix printf() parameter.
+ Remove unused variable.
+ * src/cache/ftcimage.c (ftc_image_node_init,
+ ftc_image_node_compare): Remove unused variables.
+ * src/cache/ftcsbits.c (ftc_sbit_node_weight): Remove unused
+ variable.
+ * src/raster/ftraster.c (MEM_Set): Move definition down to avoid
+ compiler warning.
+ * src/autohint/ahhint.c (ah_hinter_hint_edges): Use UNUSED() to
+ avoid compiler warnings.
+ * src/pcf/pcfread.c (tableNames): Use `const'.
+ (pcf_read_TOC): Change counter name to avoid compiler warning.
+ Use `const'.
+ * src/pshinter/pshrec.c (ps_hints_close): Remove redundant
+ declaration.
+ * src/pshinter/pshalgo1.c (psh1_hint_table_init): Rename variables
+ to avoid shadowing.
+ * src/pshinter/pshalgo2.c (psh2_hint_table_activate_mask): Ditto.
+ * src/type1/t1objs.h: Remove double declarations of `T1_Size_Init()'
+ and `T1_Size_Done()'.
+
+2001-11-20 Antoine Leca <antoineleca@multimania.com>
* include/freetype/ttnameid.h: Added some new Microsoft language
- codes and LCIDs as found in MSDN (Passport SDK). Also added
- comments about the meaning of bit 57 of OS/2 (TT_UCR_SURROGATES)
- which with OpenType v.1.3 now means "there is a character beyond
- FFFF in this font". Thanks to Detlef Wuerkner <TetiSoft@apg.lahn.de>
- for noticing this.
+ codes and LCIDs as found in MSDN (Passport SDK). Also added
+ comments about the meaning of bit 57 of the `OS/2' table
+ (TT_UCR_SURROGATES) which (with OpenType v.1.3) now means "there is
+ a character beyond 0xFFFF in this font". Thanks to Detlef Würkner
+ <TetiSoft@apg.lahn.de> for noticing this.
-2001-11-20 David Turner <david@freetype.org>
+2001-11-20 David Turner <david@freetype.org>
- * src/pshinter/{pshalgo2.c, pshalgo1.c}: fixed stupid bug in sorting
- routine that created nasty alignment artefacts.
+ * src/pshinter/{pshalgo2.c, pshalgo1.c}: Fixed stupid bug in sorting
+ routine that created nasty alignment artefacts.
- * src/pshinter/pshrec.c, tests/gview.c: debugging updates..
+ * src/pshinter/pshrec.c, tests/gview.c: Debugging updates.
- * src/smooth/ftgrays.c: de-activated experimental gamme support,
- apparently, "optimal" gamma tables depend on the monitor type,
- resolution and general karma, so it's better to compute them outside
- of the rasterizer itself..
+ * src/smooth/ftgrays.c: De-activated experimental gamma support.
+ Apparently, `optimal' gamma tables depend on the monitor type,
+ resolution and general karma, so it's better to compute them outside
+ of the rasterizer itself.
+ (gray_convert_glyph): Use `volatile' keyword.
+2001-10-29 David Turner <david@freetype.org>
-2001-10-29 David Turner <david@freetype.org>
+ Adding experimental `gamma' support. This produces smoother glyphs
+ at small sizes for very little cost.
- * src/smooth/ftgrays.c: adding experimental "gamma" support. This
- produces smoother glyphs at small sizes for very little cost
+ * src/smooth/ftgrays.c (grays_init_gamma): New function.
+ (gray_raster_new): Use it.
- * src/autohint/ahglyph.c, src/autohint/ahhint.c: various fixes to
- the auto-hinter. They merely improve the output of sans-serif fonts.
- Note that there are still problems with serifed fonts and composites
- (accented characters)
+ Various fixes to the auto-hinter. They merely improve the output of
+ sans-serif fonts. Note that there are still problems with serifed
+ fonts and composites (accented characters).
- * tests/gview.c: updated the debugging glyph viewer to show the
- hints generated by the "autohint" module
+ * src/autohint/ahglyph.c (ah_outline_load,
+ ah_outline_link_segments): Implement it.
+ Fix typos.
+ (ah_outline_save, ah_outline_compute_segments): Fix typos.
+ * src/autohint/ahhint.c (ah_align_serif_edge): New argument
+ `vertical'. Implement improvement.
+ (ah_hint_edges_3, ah_hinter_hint_edges): Implement it.
+ Fix typos.
+ (ah_hinter_align_strong_points, ah_hinter_align_weak_points): Fix
+ typos.
+ (ah_hinter_load): Set `ah_debug_hinter' if DEBUG_HINTER is defined.
+ * src/autohint/ahmodule.c: Implement support for DEBUG_HINTER macro.
+ * src/autohint/ahtypes.h: Ditto.
+ (AH_Hinter): Remove `disable_horz_edges' and `disable_vert_edges'
+ (making them global as `ah_debug_disable_horz' and
+ `ah_debug_disable_vert').
+ Fix typos.
+ * tests/gview.c: Updated the debugging glyph viewer to show the
+ hints generated by the "autohint" module.
-2001-10-27 David Turner <david@freetype.org>
+2001-10-27 David Turner <david@freetype.org>
- * src/cache/ftchunk.c (ftc_chunk_cache_lookup): fixed a bug that
+ * src/cache/ftcchunk.c (ftc_chunk_cache_lookup): Fixed a bug that
considerably lowered the performance of the abstract chunk cache.
-2001-10-26 David Turner <david@freetype.org>
+2001-10-26 David Turner <david@freetype.org>
- * include/freetype/ftcache.h, include/freetype/cache/*.h,
- src/cache/*.c: Major re-design of the cache sub-system to provide
- better performance as well as an "Acquire"/"Release" API..
-
- seems to work well here.. but probably needs a bit more testing..
-
+ * include/freetype/ftcache.h, include/freetype/cache/*.h,
+ src/cache/*.c: Major re-design of the cache sub-system to provide
+ better performance as well as an "Acquire"/"Release" API. Seems to
+ work well here, but probably needs a bit more testing.
2001-10-26 Leonard Rosenthol <leonardr@lazerware.com>
- * updated Mac OS README (builds/mac/) to reflect my taking over
- the project and that is now being actively maintained.
+ * builds/mac/README: Updated to reflect my taking over the project
+ and that is now being actively maintained.
- * Applied patches from Paul Miller (<paulm@profoundeffects.com>)
- to /src/base/ftmac.c to support loading a face other than the
+ * src/base/ftmac.c (parse_fond): Applied patches from Paul Miller
+ <paulm@profoundeffects.com> to support loading a face other than the
first from a FOND resource.
-
+ (FT_New_Face_From_FOND): Updated.
2001-10-25 Leonard Rosenthol <leonardr@lazerware.com>
- * update CodeWarrior project for Mac OS (builds/mac/ftlib.prj)
- for latest version (7) of CWPro and for recent changes to the
- FT source tree.
-
+ * builds/mac/ftlib.prj: Update of CodeWarrior project file for Mac
+ OS for latest version (7) of CWPro and for recent changes to the FT
+ source tree.
2001-10-25 David Turner <david@freetype.org>
- * include/freetype/config/ftoption.h: updated comment to explain
+ * include/freetype/config/ftoption.h: Updated comments to explain
precisely how to use project-specific macro definitions without
- modifying this file manually..
+ modifying this file manually.
+ (FT_CONFIG_FORCE_INT64): Define.
-2001-10-24 Tom Kacvinsky <tkacvins@freetype.org>
+ (FT_DEBUG_MEMORY): New macro.
- * builds/unix/ftsystem.c (FT_New_Memory): Added a missing `{'.
+2001-10-24 Tom Kacvinsky <tkacvins@freetype.org>
+ * builds/unix/ftsystem.c (FT_New_Memory): Added a missing `{'.
2001-10-23 David Turner <david@freetype.org>
* include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c:
- improvements to the memory debugger to report more information in
- case of errors. Also, some allocations that occured through
- REALLOC couldn't be previously catched correctly..
+ Improvements to the memory debugger to report more information in
+ case of errors. Also, some allocations that occured through REALLOC
+ couldn't be previously catched correctly.
+ * src/autohint/ahglyph.c (ah_outline_compute_segments,
+ ah_outline_compute_edges), src/raster/ftraster.c (ft_black_new),
+ src/smooth/ftgrays.c (gray_render_span, gray_raster_new): Replaced
+ liberal uses of memset() by the MEM_Set() macro.
- * src/autohint/ahglyph.c, src/raster/ftraster.c,
- src/smooth/ftgrays.c: replaced liberal uses of "memset" by the
- MEM_Set macro instead..
+2001-10-23 David Turner <david@freetype.org>
+ * src/raster/ftraster.c (Update): Removed to be inlined in ...
+ (Sort): Updated.
2001-10-22 David Turner <david@freetype.org>
- * builds/unix/ftsystem.c, builds/vms/ftsystem.c,
- builds/amiga/ftsystem.c, src/base/ftdbgmem.c: updated the memory
- debugger and platform-specific implementations of 'ftsystem' in order
- to be able to debug memory allocations on Unix, VMS and Amiga too !!
+ * builds/unix/ftsystem.c (FT_New_Memory, FT_Done_Memory),
+ builds/vms/ftsystem.c (FT_New_Memory, FT_Done_Memory),
+ builds/amiga/ftsystem.c (FT_New_Memory, FT_Done_Memory),
+ src/base/ftdbgmem.c: Updated the memory debugger and
+ platform-specific implementations of `ftsystem' in order to be able
+ to debug memory allocations on Unix, VMS and Amiga too!
- * src/pshinter/pshalgo2.c (psh2_hint_table_record_mask): removed some
- bogus warnings..
+ * src/pshinter/pshalgo2.c (psh2_hint_table_record_mask): Removed
+ some bogus warnings.
- * include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c: modified
- the debugging memory manager to report the location (source file name
- + line number) where leaked memory blocks are allocated in the source
- file.. funny, isn't it ??
+ * include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c:
+ Modified the debugging memory manager to report the location (source
+ file name + line number) where leaked memory blocks are allocated in
+ the source file.
- * src/base/ftdbgmem.c: new debugging memory manager. You must define
- the FT_DEBUG_MEMORY macro in "ftoption.h" to enable it. It will record
- every memory block allocated and report simple errors like memory
- leaks and double deletes.
+ * src/base/ftdbgmem.c: New debugging memory manager. You must
+ define the FT_DEBUG_MEMORY macro in "ftoption.h" to enable it. It
+ will record every memory block allocated and report simple errors
+ like memory leaks and double deletes.
- * include/freetype/config/ftoption.h: added the FT_DEBUG_MEMORY macro
- definition
+ * src/base/Jamfile: Include ftdbgmem.
+ * src/base/rules.mk: Ditto.
+ * src/base/ftbase.c: Include ftdbgmem.c.
- * src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory): modified the
+ * include/freetype/config/ftoption.h: Added the FT_DEBUG_MEMORY
+ macro definition.
+
+ * src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory): Modified the
base component to use the debugging memory manager when the macro
- FT_DEBUG_MEMORY is defined..
+ FT_DEBUG_MEMORY is defined.
2001-10-21 Tom Kacvinsky <tkacvins@freetype.org>
@@ -129,12 +186,11 @@
* src/cff/cffload.c (CFF_Done_Font): Free the subfonts array to
avoid a memory leak.
-2001-10-21 David Turner <david@freetype.org>
+2001-10-21 David Turner <david@freetype.org>
* src/pshinter/pshalgo2.c, src/pshinter/pshalgo1.c,
- src/pshinter/pshglob.c: removing compiler warnings in pedantic modes
- (in multi-object compilation mode, mainly)
-
+ src/pshinter/pshglob.c: Removing compiler warnings in pedantic modes
+ (in multi-object compilation mode, mainly).
2001-10-20 Tom Kacvinsky <tkacvins@freetype.org>
@@ -150,91 +206,90 @@
objects were not deallocated when the objects were parsed the
second time.
+2001-10-19 David Turner <david@freetype.org>
-2001-10-19 David Turner <david@freetype.org>
+ * src/smooth/ftgrays.c, src/pshinter/pshglob.h,
+ src/pshinter/pshrec.c, src/pshinter/pshalgo2.c: Getting rid of
+ compiler warnings.
- * src/smooth/ftgrays.c, src/pshinter/pshglob.h, src/pshinter/pshrec.c,
- src/pshinter/pshalgo2.c: getting rid of compiler warnings
+ * src/pshinter/module.mk, src/pshinter/rules.mk: Adding control
+ files to build the PostScript hinter with the "old" build system.
- * src/pshinter/module.mk, src/pshinter/rules.mk: adding control files
- to build the postscript hinter with the "old" build system
+2001-10-19 Jacob Jansen <joukj@hrem.stm.tudelft.nl>
-2001-10-19 Jacob Jansen <joukj@hrem.stm.tudelft.nl>
-
- * descrip.mms, src/pshinter/descrip.mms: updates to the VMS build
+ * descrip.mms, src/pshinter/descrip.mms: Updates to the VMS build
files.
2001-10-18 David Turner <david@freetype.org>
- * src/psnames/pstables.h, src/tools/glnames.py: rewrote the "glnames.py"
- script used to generate the "pstables.h" header file. The old one
- contained a bug (yes !!) that made FreeType return incorrect glyph
- names for certain glyphs..
+ * src/psnames/pstables.h, src/tools/glnames.py: Rewrote the
+ "glnames.py" script used to generate the "pstables.h" header file.
+ The old one contained a serious bug that made FreeType return
+ incorrect glyph names for certain glyphs.
- * src/truetype/ttdriver.c: changing computation of pixel size from
- character size to use rounding. This is an experiment to see if this
- gives values similar to Windows for scaled ascent/descent/etc..
+ * src/truetype/ttdriver.c (Set_Char_Sizes): Changing computation of
+ pixel size from character size to use rounding. This is an
+ experiment to see whether this gives values similar to Windows for
+ scaled ascent/descent/etc.
- * src/base/ftcalc.c (FT_Div64by32): changed the implementation
- slightly since the original code was mis-compiled on Mac machines
- using the MPW C compiler..
+ * src/base/ftcalc.c (FT_Div64by32): Changed the implementation
+ slightly since the original code was mis-compiled on Mac machines
+ using the MPW C compiler.
- * src/base/ftobjs.c (FT_Realloc): when a memory block was grown
- through FT_Realloc, the new bytes were not set to 0, which created
- some strange bugs in the Postscript hinter
+ * src/base/ftobjs.c (FT_Realloc): When a memory block was grown
+ through FT_Realloc(), the new bytes were not set to 0, which created
+ some strange bugs in the PostScript hinter.
+ (destroy_face): Don't deallocate unconditionally.
- * src/cid/cidgload.c: adding support to new postscript hinter
+ * src/cid/cidgload.c (CID_Compute_Max_Advance, CID_Load_Glyph):
+ Adding support to new PostScript hinter.
- * include/freetype/internal/psglobal.h,
- include/freetype/internal/pshints.h,
- include/freetype/config/ftmodule.h,
- src/pshinter/Jamfile,
- src/pshinter/pshalgo.h,
- src/pshinter/pshalgo1.h,
- src/pshinter/pshalgo1.c,
- src/pshinter/pshalgo2.h,
- src/pshinter/pshalgo2.c,
- src/pshinter/pshglob.h,
- src/pshinter/pshglob.c,
- src/pshinter/pshinter.c,
- src/pshinter/pshmod.c,
- src/pshinter/pshmod.h,
- src/pshinter/pshrec.c,
- src/pshinter/pshrec.h : Adding new postscript hinter module
+ * include/freetype/internal/psglobal.h,
+ include/freetype/internal/pshints.h,
+ include/freetype/config/ftmodule.h, src/pshinter/Jamfile,
+ src/pshinter/pshalgo.h, src/pshinter/pshalgo1.h,
+ src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.h,
+ src/pshinter/pshalgo2.c, src/pshinter/pshglob.h,
+ src/pshinter/pshglob.c, src/pshinter/pshinter.c,
+ src/pshinter/pshmod.c, src/pshinter/pshmod.h, src/pshinter/pshrec.c,
+ src/pshinter/pshrec.h: Adding new PostScript hinter module.
- * include/freetype/internal/ftobjs.h,
- include/freetype/internal/internal.h,
- include/freetype/internal/psaux.h,
- include/freetype/internal/t1types.h,
- src/psaux/psobjs.c,
- src/psaux/psobjs.h,
- src/psaux/t1decode.h,
- src/psaux/t1decode.c,
- src/type1/t1driver.c,
- src/type1/t1gload.c,
- src/type1/t1objs.c,
- src/type1/t1objs.h : updates to use the new postscript hinter
+ * include/freetype/internal/ftobjs.h,
+ include/freetype/internal/internal.h,
+ include/freetype/internal/psaux.h,
+ include/freetype/internal/t1types.h, src/psaux/psobjs.c,
+ src/psaux/psobjs.h, src/psaux/t1decode.h, src/psaux/t1decode.c,
+ src/type1/t1driver.c, src/type1/t1gload.c, src/type1/t1objs.c,
+ src/type1/t1objs.h: Updates to use the new PostScript hinter.
- * tests/Jamfile, tests/gview.c: Adding a new glyph hinting
- viewer/debugger to the source tree. Note that you will _not_ be
- able to compile it since it depends on an unavailable graphics
- library named "Nirvana" to render vector images..
-
-
+ * tests/Jamfile, tests/gview.c: Adding a new glyph hinting
+ viewer/debugger to the source tree. Note that you will _not_ be
+ able to compile it since it depends on an unavailable graphics
+ library named "Nirvana" to render vector images.
2001-10-17 David Turner <david@freetype.org>
+
* Version 2.0.5 released.
=========================
+
* include/freetype/freetype.h, include/internal/ftobjs.h,
- src/base/ftobjs.c, src/sfnt/sfdriver.c, type1/t1driver.c,
- cid/cidriver.c: Adding a new function named 'FT_Get_Postscript_Name' to
- retrieve the Postscript name of a given font. Should work with all
- formats except pure CFF/CEF fonts (this will be added soon).
+ src/base/ftobjs.c, src/type1/t1driver.c: Adding a new function named
+ 'FT_Get_Postscript_Name' to retrieve the PostScript name of a given
+ font. Should work with all formats except pure CFF/CEF fonts (this
+ will be added soon).
- * README, docs/CHANGES: updated for 2.0.5 release
+ * src/cid/cidriver (cid_get_postscript_name): New function.
+ (CID_Get_Interface): Handle `postscript_name' interface.
+ * src/sfnt/sfdriver.c (get_sfnt_postscript_name): New function.
+ (SFNT_Get_Interface): Handle `postscript_name' interface.
+
+ * src/type1/t1driver.c (t1_get_ps_name): New function.
+ (Get_Interface): Handle `postscript_name' interface.
+
+ * README, docs/CHANGES: Updated for 2.0.5 release.
2001-10-08 David Turner <david@freetype.org>
@@ -1418,7 +1473,7 @@
2001-01-01 Francesco Zappa Nardelli <francesco.zappa.nardelli@ens.fr>
* src/pcf/*: New driver module for PCF font format (used in
- X Windows).
+ X Window System).
* include/freetype/internal/ftdebug.h (FT_Trace): Added values for
PCF driver.
* include/freetype/internal/pcftypes.h: New file.
@@ -1665,9 +1720,11 @@
2000-12-01 David Turner <david.turner@freetype.org>
+
* Version 2.0.1 released.
=========================
+
* builds/unix/configure.in, builds/unix/configure,
builds/cygwin/configure.in, builds/cygwin/configure: Setting
"version_info" to 6:1:0 for the 2.0.1 release.
@@ -1873,6 +1930,7 @@
2000-11-09 David Turner <david@freetype.org>
+
* Version 2.0 released.
=======================