📄 changelog
字号:
* 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.2007-01-25 David Turner <david@freetype.org> For light auto-hinting, improve glyph advance widths and resurrect normal/full hinting to its normal quality. * src/autofit/afhints.h (AF_GlyphHintsRec): New members `xmin_delta' and `xmax_delta'. * src/autofit/afhints.c (af_glyph_hints_reload): Reset `xmin_delta' and `xmax_delta'. * src/autofit/afloader.c (af_loader_load_g) <AF_USE_WARPER>: Replace preprocessor conditional with if-clause, handling both light and normal mode. * src/autofit/afwarp.c (AF_WarpScore): Fine-tune again. (af_warper_compute): Handle `xmin_delta' and `xmax_delta'.2007-01-25 Werner Lemberg <wl@gnu.org> * docs/release: Updated -- Savannah uses a new uploading scheme.2007-01-25 David Turner <david@freetype.org> * src/cff/cffload.c (cff_index_get_pointers): Improve previous fix. * src/cff/cffgload.c (cff_decoder_parse_charstrings) <cff_op_callsubr, cff_op_callgsubr>: Fix sanity check for empty functions. * docs/CHANGES: Document light auto-hinting improvement.2007-01-25 Werner Lemberg <wl@gnu.org> * src/cff/cffload.c (cff_index_get_pointers): Handle last entry correctly in a sanity check. Since this function is only used to load local and global functions, any charstring that called the last local/global function would fail otherwise. This fixes Savannah bug #18867. * docs/CHANGES: Document it.2007-01-23 David Turner <david@freetype.org> * src/truetype/ttobjs.c (tt_size_ready_bytecode): Fix typo that prevented compilation when disabling both the unpatented and the bytecode interpreter in the TrueType font driver. Fix and enable the warper to improve `light' hinting mode. This is not necessarily a final version, but it seems to work well. * src/autofit/aflatin.c (af_latin_hints_init) [AF_USE_WARPER]: Disable code. (af_latin_hints_apply) [AF_USE_WARPER]: Handle FT_RENDER_MODE_LIGHT. * src/autofit/aftypes.h: Activate AF_USE_WARPER. * src/autofit/afwarp.c (AF_WarpScore): Tune table. (af_warper_compute_line_best): Fix array size of `scores'. (af_warper_compute): Better handling of border cases. * src/autofit/afwarp.h (AF_WarperRec): Remove unused members `X1' and `X2'.2007-01-21 Werner Lemberg <wl@gnu.org> * ChangeLog: Split off older entries into... * ChangeLog.22: This new file.2007-01-21 Werner Lemberg <wl@gnu.org> * docs/CHANGES: Document SHZ fix.2007-01-21 George Williams <gww@silcom.com> * src/truetype/ttinterp.c (Ins_SHZ): SHZ doesn't move phantom points.2007-01-21 Werner Lemberg <wl@gnu.org> * src/sfnt/ttmtx.c (tt_face_get_metrics) [!FT_CONFIG_OPTION_OLD_INTERNALS]: Fix limit check.2007-01-17 Werner Lemberg <wl@gnu.org> * Version 2.3.0 released. ========================= Tag sources with `VER-2-3-0-FINAL'.2007-01-17 Werner Lemberg <wl@gnu.org> * docs/release: Updated.2007-01-16 David Turner <david@freetype.org> * src/autofit/aflatin.c (af_latin_hints_compute_segments), src/cff/cffdriver.c (cff_ps_get_font_info), src/truetype/ttobjs.c (tt_face_init), src/truetype/ttinterp.c (Ins_SHC): Fix compiler warnings.2007-01-15 Detlef Würkner <TetiSoft@apg.lahn.de> * builds/amiga/makefile, builds/amiga/makefile.os4, builds/amiga/smakefile: Add `ftgasp.c' and `ftlcdfil.c'. * builds/amiga/include/freetype/config/ftconfig.h: Synchronize.2007-01-14 Detlef Würkner <TetiSoft@apg.lahn.de> Fix various compiler warnings. * src/truetype/ttdriver.c (tt_size_select), src/cff/cffobjs.h, src/cff/cffobjs.c (cff_size_request), src/type42/t42objs.h: s/index/strike_index/. * src/base/ftobjs.c (FT_Match_Size): s/index/size_index/. * src/gxvalid/gxvmorx5.c (gxv_morx_subtable_type5_InsertList_validate): s/index/table_index/. * src/truetype/ttinterp.c (Compute_Point_Displacement), src/pcf/pcfread.c (pcf_seek_to_table_type): Avoid possibly uninitialized variables.2007-01-13 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * docs/CHANGES, docs/INSTALL.MAC: Improvements.2007-01-13 Werner Lemberg <wl@gnu.org> * src/type1/t1afm.c (T1_Read_Metrics): MS Windows allows PFM versions up to 0x3FF without complaining.2007-01-13 Derek Clegg <dclegg@apple.com> Add FT_Get_PS_Font_Info interface to CFF driver. * src/cff/cfftypes.h: Include FT_TYPE1_TABLES_H. (CFF_FontRec): Add `font_info' field. * src/cff/cffload.c: Include FT_TYPE1_TABLES_H. (cff_font_done): Free font->font_info if necessary. * src/cff/cffdrvr.c (cff_ps_get_font_info): New function. (cff_service_ps_info): Register cff_ps_get_font_info.2007-01-13 Werner Lemberg <wl@gnu.org> * src/base/ftoutln.c (FT_Outline_Get_Orientation): Fix compilation with C++ compiler. * src/autofit/afhints.c (af_glyph_hints_dump_segments, af_glyph_hints_dump_edges): Ditto. * src/base/rules.mk (BASE_SRC): Remove ftgasp.c (it's already in `modules.cfg'). * src/sfnt/ttsbit0.h: Remove. * src/sfnt/rules.mk (SFNT_DRV_SRC): Don't include ttsbit0.c.2007-01-12 David Turner <david@freetype.org> * src/base/ftbitmap.c (ft_bitmap_assure_buffer): Fix memory stomping bug in the bitmap emboldener if the pitch of the source bitmap is much larger than its width. * src/truetype/ttinterp.c (Update_Max): Fix aliasing-related compilation warning.2007-01-12 Werner Lemberg <wl@gnu.org> * builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from `automake' CVS module from sources.redhat.com.2007-01-11 Werner Lemberg <wl@gnu.org> * src/type1/t1load.c (is_space): Removed. (parse_encoding, parse_charstrings): Use IS_PS_DELIM. (parse_charstrings): Use IS_PS_TOKEN. * autogen.sh: Avoid bash specific syntax.2007-01-11 David Turner <david@freetype.org> * docs/CHANGES: Small update. * builds/unix/configure.raw (version_info): Set to 9:11:3. * src/base/ftobjs.c (IsMacResource): Fix a small bug that caused a crash with some Mac OS X .dfont files. Submitted by Masatake Yamato. * autogen.sh: Small fix to get it working on Mac OS X properly: The issue is that GNU libtool is called `glibtool' on this platform, and we must call `glibtoolize', since `libtoolize' doesn't exist.2007-01-10 David Turner <david@freetype.org> * all-sources: Tag all sources with VER-2-3-0-RC1 and VER-2-3-0. * Jamfile (RefDoc), README, builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj, docs/VERSION.DLL: Update version number to 2.3.0. * include/freetype/freetype.h (FREETYPE_MINOR): Set to 3. (FREETYPE_PATCH): Set to 0. * include/freetype/ftchapters.h, include/freetype/ftgasp.h,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -