Commit Graph

251 Commits

Author SHA1 Message Date
Werner Lemberg c3b2160869 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()'.
2001-12-05 01:22:05 +00:00
Antoine Leca d0e6ad636f * 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.
2001-11-20 19:22:13 +00:00
David Turner f2c56515f5 * 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/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..
2001-11-20 01:29:34 +00:00
David Turner adf07a930c * src/smooth/ftgrays.c: adding experimental "gamma" support. This
produces smoother glyphs at small sizes for very little cost

	* 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)

	* tests/gview.c: updated the debugging glyph viewer to show the
	hints generated by the "autohint" module
2001-10-30 23:51:24 +00:00
David Turner 75133bff1d fixed a small performance bug in the new cache sub-system implementation 2001-10-27 17:36:04 +00:00
Tom Kacvinsky 8d14d4729c Changed a minor typo. 2001-10-26 18:02:15 +00:00
Tom Kacvinsky 0805ec2589 Changed tjk@ams.org to tkacvins@freetype.org. 2001-10-26 18:01:32 +00:00
David Turner cd605b6302 _major_ re-design of the caching sub-system. Still using the same API
though :-)
2001-10-26 16:58:27 +00:00
Leonard Rosenthol 91ff42258e Added changes about MacOS stuff 2001-10-26 13:23:38 +00:00
Leonard Rosenthol 2f553a2c38 Added change about ftlib.prj 2001-10-25 16:04:24 +00:00
David Turner dcb2b27ea8 updated comment explaining how to use project-specific
option (and module) files
2001-10-24 23:33:31 +00:00
Tom Kacvinsky 40da4e401b * builds/unix/ftsystem.c (FT_New_Memory): Added a missing `}'. 2001-10-24 14:45:15 +00:00
David Turner aa007cd2ed * 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..
2001-10-24 08:04:00 +00:00
David Turner 3a65746f1d replaced liberal uses of "memset" by the "MEM_Set" macro call
(some platforms don't provide this ANSI function !!)
2001-10-24 07:31:03 +00:00
David Turner 6e34ec93bc updating the debugging memory manager to run on Unix, VMS and
Amiga too (since they use a custom version of "ftsystem.c" !!)
2001-10-23 20:19:01 +00:00
David Turner 88cdbb34a2 removed bogus warnings 2001-10-22 15:24:32 +00:00
David Turner 950c669060 * 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 ??
2001-10-22 14:50:41 +00:00
David Turner 869fc49017 Added a new debugging memory manager implementation. See the
FT_DEBUG_MEMORY macro definition in "ftoption.h", as well as the
file "src/base/ftdbgmem.c"
2001-10-22 08:32:21 +00:00
Tom Kacvinsky a006a0f5ec 2001-10-21 Tom Kacvinsky <tjk@ams.org>
* src/cff/cffload.c (CFF_Done_Font): Free subfonts array only if
        we are working with a CID keyed CFF font.  Otherwise, a variable
        that was never allocated memory might freed.  This is a correction
        to the previous patch for freeing subfonts.
2001-10-21 20:30:54 +00:00
Tom Kacvinsky 726a4fa6f1 2001-10-21 Tom Kacvinsky <tjk@ams.org>
* src/cff/cffload.c (CFF_Done_Font): Free the subfonts array to
        avoid a memory leak.
2001-10-21 16:30:59 +00:00
David Turner 12d40dac42 * src/type1/t1load.c: fixed memory leak bugs that appeared with certain
synthetized fonts (e.g. CourierBoldOblique, a.k.a. "cobo_____.pfb")

	* src/pshinter/pshalgo2.c, src/pshinter/pshalgo1.c,
	src/pshinter/pshglob.c: removing compiler warnings in pedantic modes
	(in multi-object compilation mode, mainly)
2001-10-21 15:41:11 +00:00
Tom Kacvinsky e6eaadf683 Added another entry for t1load.c related to synthetic fonts: make sure
that custom encodings are not loaded twice (thus avoiding a memory
leak).
2001-10-20 20:49:58 +00:00
Tom Kacvinsky 3beab5bd13 Added entries for changes to t1load.c. 2001-10-20 17:53:22 +00:00
David Turner 7e4b52d17b getting rid of compiler warnings 2001-10-19 09:17:49 +00:00
David Turner 3b9f1e096d another small test of the CVS loginfo setup 2001-10-19 08:15:28 +00:00
David Turner 0d7ccf1d4e adding or updating files to the old build system to compile
the library with the Postscript hinter correctly..
2001-10-19 07:34:20 +00:00
David Turner b3e1b292cd just testing the CVS loginfo setup 2001-10-18 15:02:47 +00:00
David Turner 043be66c15 just testing the CVS loginfo setup 2001-10-18 14:58:45 +00:00
David Turner b347aaa206 just testing the CVS loginfo setup 2001-10-18 14:57:28 +00:00
David Turner ec3c28a847 just testing the CVS loginfo setup 2001-10-18 14:54:49 +00:00
David Turner 8e005d502d just testing the CVS loginfo setup 2001-10-18 14:50:01 +00:00
David Turner 6043d2bc5d just testing the CVS loginfo setup 2001-10-18 14:49:12 +00:00
David Turner d5fb3512b0 just testing the CVS loginfo setup 2001-10-18 14:45:28 +00:00
David Turner 0ad006b76f just testing the CVS loginfo setup 2001-10-18 14:36:46 +00:00
David Turner 12c6830662 just testing the CVS loginfo setup 2001-10-18 14:35:52 +00:00
David Turner 8d6aae02d8 just testing the CVS loginfo setup 2001-10-18 14:33:11 +00:00
David Turner 835368543f just testing the CVS loginfo setup 2001-10-18 14:31:41 +00:00
David Turner a0b314c044 just testing the CVS loginfo setup 2001-10-18 14:27:43 +00:00
David Turner 3b25cc7b03 just testing the CVS loginfo setup 2001-10-18 14:25:38 +00:00
David Turner 6ea520aad4 just testing the CVS loginfo setup 2001-10-18 14:12:44 +00:00
David Turner 3cb2500966 just testing the CVS loginfo setup 2001-10-18 14:10:23 +00:00
David Turner 5a4c1ff381 just testing the CVS loginfo setup 2001-10-18 14:07:06 +00:00
David Turner 02f3b4889c just testing the CVS loginfo setup 2001-10-18 14:02:15 +00:00
David Turner 730d0540a4 just testing the CVS loginfo setup 2001-10-18 14:00:54 +00:00
David Turner 0ebf28c73e just testing the CVS loginfo setup 2001-10-18 13:58:05 +00:00
David Turner 29d5a0ecbd just testing the CVS loginfo setup 2001-10-18 13:52:47 +00:00
David Turner f373e2d9bc rewrote "glnames.py" to fix a rather nasty bug that made FreeType
return incorrect glyph names for certain glyph indices..
2001-10-18 13:20:01 +00:00
David Turner c9349c9343 updating ChangeLog and Jamfile for the new Postscript hinter 2001-10-18 11:59:08 +00:00
David Turner 39bea028f8 fixed typo 2001-10-18 10:27:56 +00:00
David Turner 1c5802a4b2 updated FT_Div64by32 2001-10-18 09:51:09 +00:00