📄 changelog
字号:
2007-04-09 Werner Lemberg <wl@gnu.org> * Version 2.3.4 released. ========================= Tag sources with `VER-2-3-4'. * docs/CHANGES, docs/VERSION.DLL: Update documentation and bump version number to 2.3.4. * README, Jamfile (RefDoc), builds/win32/visualc/index.html, builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj: s/2.3.3/2.3.4/, s/233/234/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 4. * builds/unix/configure.raw (version_info): Set to 9:15:3.2007-04-09 Martin Horak <horakm@centrum.cz> * src/truetype/ttgload.c (load_truetype_glyph): Save and restore memory stream to avoid a crash with the incremental memory interface (Savannah bug #19260).2007-04-06 David Turner <david@freetype.org> * src/base/ftbimap.c (ft_bitmap_assure_buffer): Fix buffer-overwrite bug (Savannah bug #19536).2007-04-04 Werner Lemberg <wl@gnu.org> * Version 2.3.3 released. ========================= Tag sources with `VER-2-3-3'. * docs/CHANGES: Mention CVE-2007-1351.2007-04-03 David Turner <david@freetype.org> * src/base/ftobjs.c (FT_Set_Char_Size): As suggested by James Cloos, if one of the resolution values is 0, treat it as if it were the same as the other value.2007-04-02 David Turner <david@freetype.org> Add special code to detect `extra-light' fonts and do not snap their stem widths too much to avoid bizarre hinting effects. * src/autofit/aflatin.h (AF_LatinAxisRec): Add `standard_width' and `extra_light' members. * src/autofit/aflatin.c (af_latin_metrics_init_widths): Initialize them. (af_latin_metrics_scale_dim): Set `extra_light'. (af_latin_compute_stem_width): Use `extra_light'.2007-03-28 David Turner <david@freetype.org> * src/base/ftbitmap.c (ft_bitmap_assure_buffer): Fix zero-ing of the padding.2007-03-28 Werner Lemberg <wl@gnu.org> * src/bdf/bdflib.c (setsbit, sbitset): Handle values >= 128 gracefully. (_bdf_set_default_spacing): Increase `name' buffer size to 256 and issue an error for longer names. This fixes CVE-2007-1351. (_bdf_parse_glyphs): Limit allowed number of glyphs in font to the number of code points in Unicode. * builds/win32/visualc/index.html, builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj, README: s/2.3.2/2.3.3/, s/232/233/. * docs/CHANGES: Mention ftdiff.2007-03-26 David Turner <david@freetype.org> * src/truetype/ttinterp.c [FIX_BYTECODE]: Remove it and corresponding code. (Ins_MD): Last regression fix. * src/autofit/aflatin.c (af_latin_metrics_init_blues): Fix blues computations in order to ignore single-point contours. These are never rasterized and correspond in certain fonts to mark-attach points that are very far from the glyph's real outline, ruining the computation. * src/autofit/afloader.c (af_loader_load_g): In the case of monospaced fonts, always set `rsb_delta' and `lsb_delta' to 0. Otherwise code that uses them will most certainly ruin the fixed advance property. * docs/CHANGES, docs/VERSION.DLL, README, Jamfile (RefDoc): Update documentation and bump version number to 2.3.3. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 3. * builds/unix/configure.raw (version_info): Set to 9:14:3.2007-03-26 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * builds/unix/ftconfig.in: Disable Carbon framework dependency on 64bit ABI on Mac OS X 10.4.x (ppc & i386). Found by Sean McBride. * builds/vms/ftconfig.h: Ditto. * include/freetype/config/ftconfig.h: Ditto.2007-03-22 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * builds/unix/ftsystem.c (FT_Stream_Open): Temporary fix to prevent 32bit unsigned long overflow by 64bit filesize on LP64 platform, as proposed by Sean McBride: http://lists.gnu.org/archive/html/freetype-devel/2007-03/msg00032.html2007-03-22 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * builds/unix/ftconfig.in: Suppress SGI compiler's warning against setjmp, proposed by Sean McBride: http://lists.gnu.org/archive/html/freetype-devel/2007-03/msg00032.html2007-03-19 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * builds/unix/configure.raw: Dequote `OS_INLINE' in comment of conftest.c, to avoid unexpected shell evaluation. Possibly it is a bug or undocumented behaviour of autoconf.2007-03-18 David Turner <david@freetype.org> * src/truetype/ttinterp.c (Ins_MDRP): Another bytecode regression fix; testing still needed. * src/truetype/ttinterp.c (Ins_MD): Another bytecode regression fix.2007-03-17 David Turner <david@freetype.org> * src/truetype/ttinterp.c (Ins_IP): Fix wrong handling of the (undocumented) twilight zone special case.2007-03-09 Werner Lemberg <wl@gnu.org> * Version 2.3.2 released. ========================= Tag sources with `VER-2-3-2'. * builds/win32/visualc/index.html, builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj, README: s/2.3.1/2.3.2/, s/231/232/.2007-03-08 David Turner <david@freetype.org> * docs/CHANGES, docs/VERSION.DLL: Updated for upcoming release. * builds/unix/configure.raw (version_info): Set to 9:13:3. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 2. * README, Jamfile (RefDoc): s/2.3.1/2.3.2/. * src/base/ftutil.c (ft_mem_strcpyn): Fix a bug that prevented the function to work properly, over-writing user-provided buffers in some cases. Reported by James Cloos <cloos@jhcloos.com>.2007-03-05 Werner Lemberg <wl@gnu.org> * include/freetype/config/ftstdlib.h (ft_strstr): New wrapper macro for `strstr'. * src/truetype/ttobjs.c (tt_face_init): Use ft_strstr for scanning `trick_names', as suggested by Ivan Nincic.2007-03-05 David Turner <david@freetype.org> * src/base/ftinit.c (FT_Init_FreeType): Fix a small memory leak in case FT_Init_FreeType fails for some reason. Problem reported by Maximilian Schwerin <maximilian.schwerin@buelowssiege.de>. * src/truetype/ttobs.c (tt_size_init_bytecode): Clear the `x_ppem' and `y_ppem' fields of the `TT_Size.metrics' structure, not those of `TT_Size.root.metrics'. Problem reported by Daniel Glöckner <daniel-gl@gmx.net>. * src/type1/t1afm.c (T1_Read_PFM): Read kerning values as 16-bit signed values, not unsigned ones. Problem reported by Johannes Walther <joh_walt@yahoo.de>.2007-02-21 David Turner <david@freetype.org> * src/pshinter/pshalgo.c (psh_hint_align): Fix a bug in the hinting of small and ghost stems in the Postscript interpreter.2007-02-20 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftmac.c (FT_GetFileRef_From_Mac_ATS_Name): Fix memory leak, patch by "Jjgod Jiang" <gzjjgod@gmail.com>. * builds/mac/ftmac.c (FT_GetFileRef_From_Mac_ATS_Name): Ditto.2007-02-16 Werner Lemberg <wl@gnu.org> * src/truetype/ttinterp.c (Ins_MD): Remove unused variable. * src/autofit/aflatin.c (af_latin_hints_link_segments): Ditto.2007-02-14 David Turner <david@freetype.org> It seems that the following changes fix most of the known interpreter problems with my fonts, but more testing is needed, though. * src/truetype/ttinterp.c (FIX_BYTECODE): Activate. (TT_MulFix14): Rewrite. (Ins_MD, Ins_MDRP, Ins_IP) [FIX_BYTECODE]: Improved and updated. (Ins_MIRP): Ditto.2007-02-12 Werner Lemberg <wl@gnu.org> * src/truetype/ttinterp.c (Project_x, Project_y): Remove compiler warnings. * src/pcf/pcfread.c (pcf_interpret_style), src/bdf/bdfdrivr.c (bdf_interpret_style): Ditto.2007-02-12 David Turner <david@freetype.org> Simplify projection and dual-projection code interface. * src/truetype/ttinterp.h (TT_Project_Func): Use `FT_Pos', not FT_Vector' as argument type. * src/truetype/ttinterp.c (CUR_Func_project, CUR_Func_dualproj): Updated. (CUR_fast_project, CUR_fast_dualproj): New macros. (Project, Dual_Project, Project_x, Project_y): Updated. (Ins_GC, Ins_SCFS, Ins_MDAP, Ins_MIAP, Ins_IP): Use new `fast' macros. * src/autofit/afloader.c (af_loader_load_g): Improve spacing adjustments for the non-light auto-hinted modes. Gets rid of `inter-letter spacing is too wide' problems. * src/autofit/aflatin.c (af_latin_hints_link_segments, af_latin_hints_compute_edges): Slight optimization of the segment linker and better handling of serif segments to get rid of broken `9' in Arial at 9pt (96dpi). Introduce new string functions and the corresponding macros to get rid of various uses of strcpy and other `evil' functions, as well as to simplify a few things. * include/freetype/internal/ftmemory.h (ft_mem_strdup, ft_mem_dup, ft_mem_strcpyn): New declarations. (FT_MEM_STRDUP, FT_STRDUP, FT_MEM_DUP, FT_DUP, FT_STRCPYN): New macros. * src/base/ftutil.c (ft_mem_dup, ft_mem_strdup, ft_mem_strcpyn): New functions. * src/bfd/bfddrivr.c (bdf_interpret_style, BDF_Face_Init), src/bdf/bdflib.c (_bdf_add_property), src/pcf/pcfread.c (pcf_get_properties, pcf_interpret_style, pcf_load_font), src/cff/cffdrivr.c (cff_get_glyph_name), src/cff/cffload.c (cff_index_get_sid_string), src/cff/cffobjs.c (cff_strcpy), src/sfnt/sfdriver.c (sfnt_get_glyph_name), src/type1/t1driver.c (t1_get_glyph_name), src/type42/t42drivr.c (t42_get_glyph_name, t42_get_name_index): Use new functions and simplify code. * builds/mac/ftmac.c (FT_FSPathMakeSpec): Don't use FT_MIN.2007-02-11 Werner Lemberg <wl@gnu.org> * src/autofit/afloader.c (af_loader_load_g): Don't change width for non-spacing glyphs.2007-02-07 Tom Parker <palfrey@tevp.net> * src/cff/cffdrivr.c (cff_get_name_index): Protect against NULL pointer.2007-02-05 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * include/freetype/ftmac.h (FT_DEPRECATED_ATTRIBUTE): Introduce __attribute((deprecated))__ to warn functions which use non-ANSI data types in its interfaces. (FT_GetFile_From_Mac_Name): Deprecated, using FSSpec. (FT_GetFile_From_Mac_ATS_Name): Deprecated, using FSSpec. (FT_New_Face_From_FSSpec): Deprecated, using FSSpec. (FT_New_Face_From_FSRef): Deprecated, using FSRef. * src/base/ftmac.c: Predefine FT_DEPRECATED_ATTRIBUTE as void to avoid warning in building FreeType. * builds/mac/ftmac.c: Ditto.2007-02-05 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftbase.c: Fix to use builds/mac/ftmac.c, if configured `--with-fsspec' etc. Replace #include "ftmac.c" with #include <ftmac.c>.2007-02-05 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * include/freetype/ftmac.h (FT_GetFilePath_From_Mac_ATS_Name): Introduced as replacement of FT_GetFile_From_Mac_ATS_Name. * src/base/ftmac.c (FT_GetFilePath_From_Mac_ATS_Name): Ditto. (FT_GetFile_From_Mac_ATS_Name): Rewritten as wrapper of FT_GetFilePath_From_Mac_ATS_Name. * builds/mac/ftmac.c: Ditto.2007-02-05 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * include/freetype/ftmac.h: Fixed wrong comment: FSSpec of FT_GetFile_From_Mac_Name, FT_GetFile_From_Mac_ATS_Name are for passing to FT_New_Face_From_FSSpec.2007-02-05 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * builds/unix/configure.raw: Check whether Mac OS X system headers can be built under ANSI C mode. * src/base/ftmac.c (OS_INLINE): Redefine OS_INLINE by a version compatible to ANSI C in case system headers are ANSI C incompatible. * builds/mac/ftmac.c (OS_INLINE): Ditto.2007-02-01 Werner Lemberg <wl@gnu.org> * include/freetype/ttnameid.h (TT_MS_LANGID_DZONGHKA_BHUTAN): Explain why applications shouldn't use it. Found by Alexei.2007-02-01 Alexei Podtelezhnikov <apodtele@gmail.com> * builds/unix/freetype2.m4 (AC_CHECK_FT2): Fix spelling of warning message. * src/gxvalid/gxvmort1.c (gxv_mort_subtable_type1_substTable_validate): Fix debugging message.2007-01-31 Werner Lemberg <wl@gnu.org> * Version 2.3.1 released. ========================= Tag sources with `VER-2-3-1-FINAL'. * builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj: s/230/231/. * builds/win32/visualc/index.html: s/221/231/. * vms_make.com: Add `ftgasp'.2007-01-30 David Turner <david@freetype.org> Tag sources with VER-2-3-1 to prepare release. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. * docs/VERSION.DLL, docs/release, README, Jamfile (RefDoc): s/2.3.0/2.3.1/. * builds/unix/configure.raw (version_info): Set to 9:12:3. * src/autofit/aftypes.h (AF_USE_WARPER), src/autofit/afloader.c (af_loader_load_g): Disable the warper (i.e., the light hinting improvements) to make a 2.3.1 bugfix release before introducing a new feature. This should give us more time to tune and improve the warper for the next release. * docs/CHANGES: Update accordingly.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -