ChangeLog


Log

Author Commit Date CI Message
David Turner f2c56515 2001-11-20T01:29:34 * 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..
David Turner adf07a93 2001-10-30T23:51:24 * 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
David Turner 75133bff 2001-10-27T17:36:04 fixed a small performance bug in the new cache sub-system implementation
Tom Kacvinsky 8d14d472 2001-10-26T18:02:15 Changed a minor typo.
Tom Kacvinsky 0805ec25 2001-10-26T18:01:32 Changed tjk@ams.org to tkacvins@freetype.org.
David Turner cd605b63 2001-10-26T16:58:27 _major_ re-design of the caching sub-system. Still using the same API though :-)
Leonard Rosenthol 91ff4225 2001-10-26T13:23:38 Added changes about MacOS stuff
Leonard Rosenthol 2f553a2c 2001-10-25T16:04:24 Added change about ftlib.prj
David Turner dcb2b27e 2001-10-24T23:33:31 updated comment explaining how to use project-specific option (and module) files
Tom Kacvinsky 40da4e40 2001-10-24T14:45:15 * builds/unix/ftsystem.c (FT_New_Memory): Added a missing `}'.
David Turner aa007cd2 2001-10-24T08:04:00 * 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..
David Turner 3a65746f 2001-10-24T07:31:03 replaced liberal uses of "memset" by the "MEM_Set" macro call (some platforms don't provide this ANSI function !!)
David Turner 6e34ec93 2001-10-23T20:19:01 updating the debugging memory manager to run on Unix, VMS and Amiga too (since they use a custom version of "ftsystem.c" !!)
David Turner 88cdbb34 2001-10-22T15:24:32 removed bogus warnings
David Turner 950c6690 2001-10-22T14:50:41 * 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 ??
David Turner 869fc490 2001-10-22T08:32:21 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"
Tom Kacvinsky a006a0f5 2001-10-21T20:30:54 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.
Tom Kacvinsky 726a4fa6 2001-10-21T16:30:59 2001-10-21 Tom Kacvinsky <tjk@ams.org> * src/cff/cffload.c (CFF_Done_Font): Free the subfonts array to avoid a memory leak.
David Turner 12d40dac 2001-10-21T15:41:11 * 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)
Tom Kacvinsky e6eaadf6 2001-10-20T20:49:58 Added another entry for t1load.c related to synthetic fonts: make sure that custom encodings are not loaded twice (thus avoiding a memory leak).
Tom Kacvinsky 3beab5bd 2001-10-20T17:53:22 Added entries for changes to t1load.c.
David Turner 7e4b52d1 2001-10-19T09:17:49 getting rid of compiler warnings
David Turner 3b9f1e09 2001-10-19T08:15:28 another small test of the CVS loginfo setup
David Turner 0d7ccf1d 2001-10-19T07:34:20 adding or updating files to the old build system to compile the library with the Postscript hinter correctly..
David Turner b3e1b292 2001-10-18T15:02:47 just testing the CVS loginfo setup
David Turner 043be66c 2001-10-18T14:58:45 just testing the CVS loginfo setup
David Turner b347aaa2 2001-10-18T14:57:28 just testing the CVS loginfo setup
David Turner ec3c28a8 2001-10-18T14:54:49 just testing the CVS loginfo setup
David Turner 8e005d50 2001-10-18T14:50:01 just testing the CVS loginfo setup
David Turner 6043d2bc 2001-10-18T14:49:12 just testing the CVS loginfo setup
David Turner d5fb3512 2001-10-18T14:45:28 just testing the CVS loginfo setup
David Turner 0ad006b7 2001-10-18T14:36:46 just testing the CVS loginfo setup
David Turner 12c68306 2001-10-18T14:35:52 just testing the CVS loginfo setup
David Turner 8d6aae02 2001-10-18T14:33:11 just testing the CVS loginfo setup
David Turner 83536854 2001-10-18T14:31:41 just testing the CVS loginfo setup
David Turner a0b314c0 2001-10-18T14:27:43 just testing the CVS loginfo setup
David Turner 3b25cc7b 2001-10-18T14:25:38 just testing the CVS loginfo setup
David Turner 6ea520aa 2001-10-18T14:12:44 just testing the CVS loginfo setup
David Turner 3cb25009 2001-10-18T14:10:23 just testing the CVS loginfo setup
David Turner 5a4c1ff3 2001-10-18T14:07:06 just testing the CVS loginfo setup
David Turner 02f3b488 2001-10-18T14:02:15 just testing the CVS loginfo setup
David Turner 730d0540 2001-10-18T14:00:54 just testing the CVS loginfo setup
David Turner 0ebf28c7 2001-10-18T13:58:05 just testing the CVS loginfo setup
David Turner 29d5a0ec 2001-10-18T13:52:47 just testing the CVS loginfo setup
David Turner f373e2d9 2001-10-18T13:20:01 rewrote "glnames.py" to fix a rather nasty bug that made FreeType return incorrect glyph names for certain glyph indices..
David Turner c9349c93 2001-10-18T11:59:08 updating ChangeLog and Jamfile for the new Postscript hinter
David Turner 39bea028 2001-10-18T10:27:56 fixed typo
David Turner 1c5802a4 2001-10-18T09:51:09 updated FT_Div64by32
David Turner 034a1932 2001-10-17T13:57:02 documentation update for 2.0.5
David Turner 23bcde19 2001-10-17T13:48:10 implementing a new function named "FT_Get_Postscript_Name" to retrieve a face's "unique" Postscript name
David Turner 40d006af 2001-10-17T11:33:01 tagging files, checking new CVS -> mail script
Werner Lemberg 80b8d770 2001-10-10T19:56:42 Fixed a bug in `glnames.py' that prevented it from generating correct glyph names tables. This resulted in the unavailability of certain glyphs like `Cacute', `cacute' and `lslash' in Unicode charmaps, even if these were present in the font (causing problems for Polish users). * src/tools/glnames.py (mac_standard_names): Fixed. (t1_standard_strings): Some fixes and renamed to ... (sid_standard_names): This. (t1_expert_encoding): Fixed. (the_adobe_glyph_list): Renamed to ... (adobe_glyph_names): This. (the_adobe_glyphs): Renamed to ... (adobe_glyph_values): This. (dump_mac_indices, dump_glyph_list, dump_unicode_values, main): Updated. * src/psnames/pstables.h: Regenerated. * src/psnames/psmodule.c (PS_Unicode_Value): Fix offset. Fix return value. Use `sid_standard_table' and `ps_names_to_unicode' instead of `t1_standard_glyphs' and `names_to_unicode'. (PS_Macintosh_Name): Use `ps_glyph_names' instead of `standard_glyph_names'. (PS_Standard_Strings): Use `sid_standard_names' instead of `t1_standard_glyphs'. * doc/BUGS, doc/TODO: New documents. * src/cache/ftlru.c (FT_Lru_Lookup_Node): Fixed a bug that prevented correct LRU behaviour. setjmp() and longjmp() are now used for rollback (i.e. when memory pool overflow occurs). Function names are now all uniformly prefixed with `gray_'. * src/smooth/ftgrays.c: Include <setjmp.h>. (ErrRaster_MemoryOverflow): New macro. (TArea): New type to store area values in each cell (using `int' was too small on 16-bit systems). <limits.h> is included to properly get the needed data type. (TCell, TRaster): Use it. (TRaster): New element `jump_buffer'. (gray_compute_cbox): Use `RAS_ARG' as the only parameter and get `outline' from it. (gray_record_cell): Use longjmp(). (gray_set_cell): Use gray_record_cell() for error handling. (gray_render_line, gray_render_conic, gray_render_cubic): Simplify. (gray_convert_glyph_inner): New function, using setjmp(). (gray_convert_glyph): Use it. Provide a public API to manage multiple size objects for a given FT_Face in the new header file `ftsizes.h'. * include/freetype/ftsizes.h: New header file, * include/freetype/internal/ftobjs.h: Use it. Remove declarations of FT_New_Size and FT_Done_Size (moved to ftsizes.h). * include/freetype/config/ftheader.h (FT_SIZES_H): New macro. * src/base/ftobjs.c (FT_Activate_Size): New function. * src/cache/ftcmanag.c: Include ftsizes.h. (ftc_manager_init_size, ftc_manager_flush_size): Use FT_Activate_Size.
David Turner b4b96260 2001-10-08T21:18:11 * src/psnames/pstables.h, src/psnames/psmodule.c, src/tools/glnames.py: fixed a bug in 'glnames.py' that prevented it from generating correct glyph names table. This resulted in the unavailability of certain glyphs like "Cacute", "cacute" and "lslash" in Unicode charmaps, even if these were present in the font (causing problems for Polish users).
David Turner b3ba40dd 2001-10-07T13:30:26 * include/freetype/ftsizes.h, src/base/ftobjs.c, src/cache/ftcmanag.c: added a new header, named "ftsizes.h" (FT_SIZES_H) to provide a public API to manage multiple size objects for a given FT_Face.
David Turner 5b1e8141 2001-10-07T11:06:07 * src/cache/ftlru.c (FT_Lru_Lookup_Node): fixed a bug that prevented correct LRU behaviour
David Turner c4f622c3 2001-10-07T10:39:03 * src/smooth/ftgrays: "setjmp/longjmp" is now used for rollback (i.e. when memory pool overflow occurs), function names are now all prefixed with "gray_", and a new type (TArea) is defined to store area value in each cell (using "int" was too small on 16-bit systems)..
Werner Lemberg 4667dd6d 2001-09-20T12:01:09 Add ChangeLog entry.
Werner Lemberg 817a85a8 2001-09-15T10:05:12 * src/type1/t1afm.c (T1_Done_AFM): Free `afm'.
Werner Lemberg 20abe742 2001-09-10T13:11:52 * src/sfnt/ttcmap.c (code_to_index2): Handle code values with hi-byte == 0 correctly. * builds/link-std.mk ($(PROJECT_LIBRARY)): Fix typo.
Werner Lemberg ec342907 2001-09-10T06:55:43 formatting
David Turner 8ab0add6 2001-08-30T07:59:28 Martin Muskens bufixes: - reallocation bug in T1_Table_Add - increased accuracy of units per EM computation in T1 fonts - support "+" as valid font name character (used in embedded fonts)
David Turner 26160d5b 2001-08-30T06:56:03 fixed Type1 kerning flag setting when reading AFM file
Werner Lemberg bcf8d4b4 2001-08-24T23:11:34 * src/sfnt/ttload.c (TT_Load_CMap): Fix frame length of `cmap_rec_fields'. * include/freetype/fterrors.h [!FT_CONFIG_OPTION_USE_MODULE_ERRORS]: Undefine FT_ERR_BASE before defining again.
Werner Lemberg 28df3070 2001-08-22T18:35:06 * src/truetype/ttinterp.h: Fix prototype of TT_Move_Func. Some formatting
Werner Lemberg a0d32dc1 2001-08-21T15:49:24 * builds/dos/dos-def.mk (NO_OUTPUT): Don't use `&>' but `>'.
David Turner 67750c8f 2001-08-21T08:50:45 updating the definition of FT_CONFIG_OPTION_USE_MODULE_ERRORS to _undefined_ (source compatibility breaking issue) + updated its comment back from holidays, woohoo :-)
Werner Lemberg 6870f4cf 2001-08-18T05:09:42 * src/base/ftcalc.c (FT_MulDiv): Fixed serious typo.
Werner Lemberg 5dea4443 2001-08-13T11:44:29 Updating to OpenType 1.3. * include/freetype/internal/tttypes.h (TT_CMap0, TT_CMap2, TT_CMap4, TT_CMap6): Adding field `language'. (TT_CMapTable): Removing field `language'. Type of `length' field changed to FT_ULong. Adding fields for cmaps format 8, 10, and 12. (TT_CMapGroup): New auxiliary structure. (TT_CMap8_12, TT_CMap10): New structures. * include/freetype/tttables.h (TT_HoriHeader, TT_VertHeader): Removed last element of `Reserved' array. * include/freetype/ttnameid.h (TT_PLATFORM_CUSTOM, TT_MS_ID_UCS_4, TT_NAME_ID_CID_FINDFONT_NAME): New macros. * src/sfnt/ttcmap.c (TT_CharMap_Load): Updated loading of `language' field to the new structures. Fixed freeing of arrays in case of unsuccessful loads. Added support for loading format 8, 10, and 12 cmaps. (TT_CharMap_Free): Added support for freeing format 8, 10, and 12 cmaps. (code_to_index4): Small improvement. (code_to_index6): Ditto. (code_to_index8_12, code_to_index10): New functions. * src/sfnt/ttload.c (TT_Load_Metrics_Header): Updated to new structure. (TT_Load_CMap): Ditto. * src/sfnt/sfobjs.c (tt_encodings): Add MS UCS4 table (before MS Unicode). * src/type1/t1driver.c (t1_get_name_index): Fix compiler warning.
Tom Kacvinsky 32949c1b 2001-08-09T01:21:24 Added entries for chnages to t1driver.c (new name_index function, function name change) Added entries for cffdrivr.c (documentation fix, function name change)
Tom Kacvinsky 2eaadd5a 2001-08-08T11:18:13 Added entries for changes to CFF driver (moved some assignments from source file to header and added glyph name index requestor function). Added entries for chnages to FreeType includes for new function FT_Get_Name_Index.
Werner Lemberg 7dabafd6 2001-07-26T13:17:21 * builds/cygwin/*: Removed. Use the unix stuff instead. * builds/vms/ftconfig.h (FT_CALLBACK_DEF): Updated to change dated 2001-06-27.
Werner Lemberg 49f3cf65 2001-07-17T12:44:49 Add ChangeLog entry.
Werner Lemberg 36af3ea6 2001-07-17T12:37:54 * include/freetype/internal/psaux.h (PS_Table): Use FT_Offset for `cursor' and `capacity'. * src/psaux/psobjc.c (reallocate_t1_table): Use FT_Long for second parameter. (PS_Table_Add): Use FT_Offset for `new_size'. * src/base/ftsynth.c: Include ftcalc.h unconditionally.
Werner Lemberg 2b6248ba 2001-07-07T23:24:02 formatting
David Turner 3b7049fe 2001-07-07T16:12:14 removed pedantic compiler warnings when the bytecode interpreter is compiled in the library
David Turner ca90a2c4 2001-07-06T13:52:36 * include/internal/ftstream.h: modified the definitions of the FT_GET_XXXX and NEXT_XXXX macros for 16-bit correctness
Werner Lemberg a560a1e0 2001-07-03T12:45:24 * src/autohint/ahhint.c (ah_hinter_align_weak_points): Remove unused variable `edges'. (ah_hinter_load): Remove unused variables `old_width' and `new_width'. * src/cid/cidload.c (cid_decrypt): Use `U' for constant (again). * src/psaux/psobjs.c (T1_Decrypt): Ditto. * src/type1/t1parse.c (T1_Get_Private_Dict): Ditto.
Werner Lemberg 99b74416 2001-06-27T17:06:28 * src/cid/cidload.c, src/cid/cidload.h (cid_decrypt): Use FT_Offset instead of FT_Int as type for `length' parameter. * include/freetype/internal/psaux.h (PSAux_Interface): Updated. * src/psaux/psobjs.c, src/psaux/psobjs.h (T1_Decrypt): Use FT_Offset instead of FT_Int as type for `length' parameter.
Werner Lemberg f814d0fa 2001-06-27T16:18:10 First round in converting type foo ( ... ) to type foo ( ... ) Other minor formatting issues.
David Turner 9a554eb2 2001-06-27T12:40:46 the SFNT Kerning table loader now ensures that the table is correctly sorted.
David Turner f77581f6 2001-06-27T10:54:13 changed the definition of FT_CALLBACK_DEF
David Turner dee78134 2001-06-27T09:26:46 * include/freetype/ftconfig.h, src/*/*.c: changed the definition and uses of the FT_CALLBACK_DEF macro in order to support 16-bit compilers
Werner Lemberg 890f313b 2001-06-26T05:57:19 * include/freetype/internal/ftstream.h (FT_GET_OFF3_LE): Fix typo. * src/base/ftcalc.c (ft_div64by32): Fixed the source to work correctly on 16-bit systems. * docs/PATENTS: Added patents disclaimer. This one was missing! * docs/CHANGES, docs/todo: Updated for the upcoming 2.0.4 release.
David Turner 2bf99344 2001-06-24T17:23:45 fixed the 64-bits division computation for 16-bits systems
Werner Lemberg 3974a605 2001-06-23T22:06:00 Formatting.
David Turner c5341fb9 2001-06-23T07:44:51 adding Debian build directory
Werner Lemberg 0fe97631 2001-06-22T17:08:26 Add cast in pcfread.c.
David Turner 995ff204 2001-06-22T08:45:31 updated documentation for the 2.0.4 release
Werner Lemberg 38364152 2001-06-20T08:06:50 * include/freetype/config/ftconfig.h: Add two more `L's to constants. Add missing semicolons. * builds/toplevel.mk: Do similar change as for builds/unix/detect.mk. * include/freetype/freetype.h (FT_ENC_TAG): New version to make it easier to redefine. * include/freetype/ftimage.h (FT_IMAGE_TAG): Ditto. * include/freetype/freetype.h (FT_New_Memory_Face): Updated
Werner Lemberg 8eb0353f 2001-06-19T23:03:41 Formatting.
David Turner 0b3a9915 2001-06-19T15:45:48 * builds/win32/visualc/freetype.dsp, builds/win32/visualc/index.html: updated the Visual C++ project (for the 2.0.4 release) * builds/unix/detect.mk: added rule for AIX detection (which uses /usr/sbin/init instead of /sbin/init, go figure..)
David Turner 61f06856 2001-06-19T13:41:59 * include/freetype/fterrors.h: updated some of the error macros to simplify Werner's latest tricks :o)
Werner Lemberg cf24d515 2001-06-18T14:23:45 Minor cleanups to remove compiler warnings. * include/freetype/cache/ftcmanag.h (FTC_MAX_BYTES_DEFAULT): Use `L' for constant. * include/freetype/config/ftoption.h (FT_RENDER_POOL_SIZE): Ditto. * src/base/ftcalc.c (FT_MulDiv): Use `L' for constant. * src/base/ftglyph.c (FT_Glyph_Get_CBox): Remove `error' variable. * src/base/fttrigon.c (ft_trig_arctan_table): Use `L' for constants. * src/base/ftobjs.c (FT_Done_Size): Fix return value. (FT_Set_Char_Size, FT_Set_Pixel_Sizes, FT_Get_Kerning): Remove unused `memory' variable. * src/autohint/ahglyph.c (ah_get_orientation): Use `L' for constant. * src/autohint/ahhint.c (ah_hint_edges_3, ah_hinter_align_edge_points): Remove unused `before' and `after' variables. (ah_hinter_align_weak_points): Remove unused `edge_limit' variable. (ah_hinter_load): Remove unused `new_advance', `start_contour', and `metrics' variables. * src/cff/cffload.c (CFF_Load_Encoding): Remove dead code to avoid compiler warning. * src/cff/cffobjs.c (CFF_Init_Face): Remove unused `base_offset' variable. * src/cff/cffgload.c (CFF_Parse_CharStrings): Remove unused `outline' variable. (cff_compute_bias): Use `U' for constant. * src/cid/cidload.c (cid_decrypt): Ditto. * src/psaux/psobjs.c (T1_Decrypt): Ditto. * src/psaux/t1decode.c (T1_Decoder_Parse_CharStrings): Ditto. * src/sfnt/ttload.c (TT_Load_Kern): Remove unused `version' variable. * src/sfnt/ttsbit.c (TT_Load_SBit_Image): Remove unused `top' variable. * src/truetype/ttgload.c (load_truetype_glyph): Remove unused `num_contours' and `ins_offset' variables. (compute_glyph_metrics): Remove unused `Top' and `x_scale' variables. (TT_Load_Glyph): Remove unused `memory' variable. * src/smooth/ftgrays.c (grays_raster_render): Use `L' for constants.
Werner Lemberg 00a2207f 2001-06-18T10:35:00 Make the new error scheme source compatible with older FT versions by introducing another layer. * include/freetype/fterrors.h (FT_ERRORDEF_, FT_NOERRORDEF_): New macros. (FT_NOERRORDEF): Removed. * include/*/*err*.h: Use FT_ERRORDEF_ and FT_NOERRORDEF_.
Werner Lemberg be5a5365 2001-06-16T11:20:41 * include/freetype/freetype.h (FT_ENC_TAG): New macro. (FT_Encoding_): Use it. * include/freetype/ftimage.h (FT_IMAGE_TAG): Define it conditionally.
Werner Lemberg 9e528d03 2001-06-16T07:48:30 formatting
David Turner ac6cc419 2001-06-14T12:34:00 modified the TrueType interpreter to let it use the new trigonometric functions provided in "fttrigon.h". This gets rid of some old 64-bit computation routines, as well as many warnings when compiling the library with the "long long" 64-bit integer type.
Werner Lemberg 1b3a0014 2001-06-11T13:26:11 * src/base/ftcalc.c (FT_MulDiv, FT_DivFix, FT_Sqrt64): Remove compiler warnings.
Werner Lemberg 79860707 2001-06-08T21:17:29 Increase `version_info' to 7:0:1. Fixed a bug that returned an invalid linear width for composite TrueType glyphs. * include/internal/tttypes.h (TT_Loader_): Two new elements `linear' and `linear_def'. * src/truetype/ttgload.c (load_truetype_glyph, compute_glyph_metrics): Use it. * include/fttypes.h (FT_ERROR_BASE): New macro. * src/base/ftobjs.c (FT_Open_Face, FT_Render_Glyph_Internal): Use it to make source code work with the new error scheme implemented by Werner. * src/base/ftoutln.c (FT_Outline_Render): Ditto.
David Turner 57d4de0e 2001-06-08T13:29:36 fixed a bug that returned an invalid linear width for composite TrueType glyphs fixed source code to work with the new error scheme implemented by Werner