Commit Graph

1248 Commits

Author SHA1 Message Date
Tom Kacvinsky 40da4e401b * builds/unix/ftsystem.c (FT_New_Memory): Added a missing `}'. 2001-10-24 14:45:15 +00:00
Tom Kacvinsky 7bb9276686 In function FT_New_Memory, added a missing `}'. 2001-10-24 14:43:40 +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 5a1de37e7e replaced liberal uses of "memset" by the "MEM_Set" macro call
(some platforms don't provide this ANSI function !!)

some changes to "ftsystem.c" implementations in order to use
the new memory debugger on Unix, VMS and Amiga too !!
2001-10-24 07:32:55 +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 8dc0fb855e updating debug manager 2001-10-22 20:15:29 +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 dfa4568432 In function CFF_Done_Font, make sure that subfonts are freed only if
we are working with a CID keyed CFF font.  This is to avoid freeing a
variable that might not have been allocated.
2001-10-21 20:26:59 +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
Tom Kacvinsky 98289a2a65 In function CFF_Done_Font, make sure to free the subfonts array to
avoid a memory leak.
2001-10-21 16:29:16 +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 629bf286e7 In function parse_encoding, add a test to make sure that custom
encodings (i.e., neither StandardEncoding nor ExpertEncoding) are not
loaded twice when the Type 1 font is synthetic.
2001-10-20 20:46:36 +00:00
Tom Kacvinsky 3beab5bd13 Added entries for changes to t1load.c. 2001-10-20 17:53:22 +00:00
Tom Kacvinsky 48f26bc748 In functions parse_font_name and parse_subrs, added a test for when
loading synthetic fonts to make sure that the font name and
subrotuines are not loaded twice.  This is to remove a memory leak
that occurs because the original allocation for these objects is not
deallocated when the objects are read the second time.
2001-10-20 17:44:48 +00:00
Werner Lemberg 620ec14955 renaming todo -> TODO 2001-10-20 01:29:38 +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 afa3854202 documentation update 2001-10-18 13:22:01 +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 c55099de40 changing pixel size computations for better accuracy (experimental) 2001-10-18 11:57:52 +00:00
David Turner 540e7cd6c6 Adding glyph hinter debugging program.
WARNING:
You cannot compile this program without a (yet) unavailable
third-party library named "Nirvana".. this is reserved for FreeType
development exclusively..
2001-10-18 11:50:31 +00:00
David Turner 5893c1bb2a add support for new postscript hinter 2001-10-18 11:49:26 +00:00
David Turner 573a98d048 add support for new postscript hinter 2001-10-18 11:46:25 +00:00