?? changelog.20
字號:
2001-10-27 David Turner <david@freetype.org> * 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> * 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> * builds/mac/README: Updated to reflect my taking over the project and that is now being actively maintained. * 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> * 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 comments to explain precisely how to use project-specific macro definitions without modifying this file manually. (FT_CONFIG_FORCE_INT64): Define. (FT_DEBUG_MEMORY): New macro.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 occurred 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.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 (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. * 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/Jamfile: Include ftdbgmem. * src/base/rules.mk: Ditto. * src/base/ftbase.c: Include ftdbgmem.c. * 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.2001-10-21 Tom Kacvinsky <tkacvins@freetype.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 Tom Kacvinsky <tkacvins@freetype.org> * src/cff/cffload.c (CFF_Done_Font): Free the subfonts array to avoid a memory leak.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).2001-10-20 Tom Kacvinsky <tkacvins@freetype.org> * src/type1/t1load.c (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. * src/type1/t1load.c (parse_font_name, 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 occurred because the original memory blocks for these objects were not deallocated when the objects were parsed the second time.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/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> * 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 serious bug that made FreeType return incorrect glyph names for certain glyphs. * 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/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 (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/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.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/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). * 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> 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.2001-10-07 Richard Barber <rich@solutionuk.com> * src/cache/ftlru.c (FT_Lru_Lookup_Node): Fixed a bug that prevented correct LRU behaviour.2001-10-07 David Turner <david@freetype.org> 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.2001-10-07 David Turner <david@freetype.org> 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.2001-09-20 Detlef Würkner <TetiSoft@apg.lahn.de> * builds/amiga/*: Added port to Amiga with the SAS/C compiler.2001-09-15 Detlef Würkner <TetiSoft@apg.lahn.de> * src/type1/t1afm.c (T1_Done_AFM): Free `afm'.2001-09-10 Yao Zhang <yzhang@sharemedia.com> * src/sfnt/ttcmap.c (code_to_index2): Handle code values with hi-byte == 0 correctly.2001-09-10 Werner Lemberg <wl@gnu.org> * builds/link-std.mk ($(PROJECT_LIBRARY)): Fix typo.2001-08-30 Martin Muskens <mmuskens@aurelon.com> * src/type1/t1load.c (parse_font_matrix): A new way to compute the units per EM with greater accuracy (important for embedded T1 fonts in PDF documents that were automatically generated from TrueType ones). * src/type1/t1load.c (is_alpha): Now supports `+' in font names; this is used in embedded fonts. * src/psaux/psobjs.c (PS_Table_Add): Fixed a reallocation bug that generated a dangling pointer reference.2001-08-30 Anthony Feik <afeick@hotmail.com> * src/type1/t1afm.c (T1_Read_Afm): Now correctly sets the flag FT_FACE_FLAG_KERNING when appropriate for Type1 + AFM files.2001-08-25 Werner Lemberg <wl@gnu.org> * 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.2001-08-22 Werner Lemberg <wl@gnu.org> * src/truetype/ttinterp.h: Fix prototype of TT_Move_Func.2001-08-21 Werner Lemberg <wl@gnu.org> * builds/dos/dos-def.mk (NO_OUTPUT): Don't use `&>' but `>'.2001-08-21 David Turner <david@freetype.org> * include/freetype/config/ftoption.h: Changed the default setting for FT_CONFIG_OPTION_USE_MODULE_ERRORS to undefined, since it breaks source compatibility in a few cases. Updated the comment to explain that too.2001-08-17 Martin Muskens <mmuskens@aurelon.com> * src/base/ftcalc.c (FT_MulDiv): Fixed serious typo.2001-08-12 Werner Lemberg <wl@gnu.org> 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.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -