📄 changelog
字号:
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, include/freetype/ftlcdfil.h: Update reference documentation with GASP support and LCD filtering sections. * src/pshinter/pshalgo.c (psh_glyph_compute_inflections): Fix a typo which created an endless loop with some malformed font files.2007-01-10 Derek Clegg <dclegg@apple.com> * src/type1/t1load.c (T1_Get_MM_Var): Always return fixed point values.2007-01-08 David Turner <david@freetype.org> * docs/CHANGES: Updated. * include/freetype/ftgasp.h, src/base/ftgasp.c: New files which add a new API `FT_Get_Gasp' to return entries of the `gasp' table corresponding to a given character pixel size. * src/sfnt/ttload.c (tt_face_load_gasp): Add version check for the `gasp' table, in order to avoid potential problems with later versions. * include/freetype/config/ftheader.h (FT_GASP_H): New macro for <freetype/ftgasp.h>. * src/base/rules.mk (BASE_SRC), src/base/Jamfile (_sources), modules.cfg (BASE_EXTENSIONS), builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj: Add src/base/ftgasp.c to the default build.2007-01-07 Werner Lemberg <wl@gnu.org> * src/cid/cidparse.c (cid_parser_new): Improve error message for Type 11 fonts. Scan for `/sfnts' token.2007-01-07 Werner Lemberg <wl@gnu.org> * src/cid/cidparse.c (cid_parser_new): Reject Type 11 fonts.2007-01-06 Werner Lemberg <wl@gnu.org> * src/cff/cffload.c (cff_index_init): Remove unused variable. (cff_index_read_offset): s/perror/errorp/ to avoid global shadowing.2007-01-04 David Turner <david@freetype.org> * src/pfr/pfrobjs.c (pfr_face_init): Detect non-scalable fonts correctly. This fixes Savannah bug #17876. Do not allocate interpreter-specific tables in memory if we are not going to load glyphs with the bytecode interpreter anyway. * src/truetype/ttgload.c (tt_loader_init): Load execution context only if glyph is hinted. Updated. * src/truetype/ttobjs.h (TT_SizeRec): Add members `bytecode_ready' and `cvs_ready'. Add `tt_size_ready_bytecode' declaration. * src/truetype/ttobjs.c (tt_size_done_bytecode, tt_size_init_bytecode, tt_size_ready_bytecode): New functions. (tt_size_init): Move most code into `tt_size_init_bytecode'. (tt_size_done): Move most code into `tt_size_done_bytecode'. (tt_size_reset): Move some code to `tt_size_ready_bytecode'. Don't extract the metrics table from the SFNT font file. Instead, reparse it on each glyph load. The runtime difference is not noticeable, and it can save a lot of heap memory when memory-mapped files are not used. * include/freetype/internal/tttypes.h (TT_FaceRec): Add members `horz_metrics_offset' and `vert_metrics_ofset'. * src/sfnt/ttmtx.c (tt_face_load_hmtx, tt_face_get_metrics): Updated. * src/sfnt/ttcmap.c (tt_cmap4_validate): Slight optimization. Do not load the CFF index offsets into memory, since this wastes a *lot* of heap memory with large Asian CFF fonts. There is no significant performance loss. * src/cff/cffload.h: Add `cff_charset_cid_to_gindex' declaration. * src/cff/cfftypes.h (CFF_IndexRec): Add fields `start' and `data_size'. (CFF_CharsetRec): Add field `num_glyphs'. * src/cff/cffload.c (cff_index_read_offset, cff_index_load_offsets, cff_charset_cid_to_gindex): New functions. (cff_new_index): Renamed to... (cff_index_init): This. Update all callers. Updated -- some code has been moved to `cff_index_load_offsets'. (cff_done_index): Renamed to... (cff_index_done): This. Update all callers. (cff_index_get_pointers, cff_index_access_element): Updated to use stream offsets. (cff_charset_compute_cids): Set `num_glyphs' field. (cff_encoding_load): Updated. * src/cff/cffgload.c (cff_slot_load): Updated.2007-01-04 David Turner <david@freetype.org> * docs/INSTALL.UNIX: Simplify some parts, add reference to autogen.sh and pointer to README.CVS. * README.CVS: Add common problem description and solution when running autogen.sh. * docs/INSTALL: Add reference to MacOS X. * docs/MAKEPP, docs/INSTALL.MAC: New documentation files. * docs/TODO: Remove obsolete items. * src/raster/ftraster.c: (TRaster_Instance): Replace it with... (TWorker): This. Remove `count_table' and `memory'. Make `grays' a pointer. (TRaster): New structure. (count_table): New static array. (RAS_ARGS, RAS_ARG, RAS_VARS, RAS_VAR, FT_UNUSED_RASTER, cur_ras, Vertical_Gray_Sweep_Step, ft_black_new, ft_black_done, ft_black_set_mode, ft_black_render): Updated. (ft_black_init): Don't initialize `count_table'. (ft_black_reset): Use the render pool. This saves about 6KB of heap space for each FT_Library instance. * src/smooth/ftgrays.c (TRaster): Replaced with... (TWorker): This. Remove `memory'. (TRaster): New structure. (RAS_ARG_, RAS_ARG, RAS_VAR_, RAS_VAR, ras, gray_render_line, gray_move_to, gray_line_to, gray_conic_to, gray_cubic_to, gray_render_span, gray_raster_render): Updated. (gray_raster_reset): Use the render pool. This saves about 6KB of heap space for each FT_Library instance. * src/sfnt/sfobjs.c, src/sfnt/ttkern.c, src/sfnt/ttkern.h, src/sfnt/ttmtx.c, src/sfnt/ttsbit.c, src/sfnt/ttsbit.h, src/truetype/ttpload.c, include/freetype/config/ftoption.h: Remove FT_OPTIMIZE_MEMORY macro (and code for !FT_OPTIMIZE_MEMORY) since the optimization is no longer experimental. * src/pshinter/pshalgo.c (psh_glyph_interpolate_normal_points): Remove a typo that results in no hinting and a memory leak with some large Asian CFF fonts. * src/base/ftobjs.c (FT_Done_Library): Remove a subtle memory leak which happens when FT_Done_Library is called with still opened CFF_Faces in it. We need to close all faces before destroying the modules, or else some bad things (memory leaks) may happen.2007-01-02 Werner Lemberg <wl@gnu.org> * src/gxvalid/gxvkern.c (gxv_kern_subtable_fmt0_pairs_validate): Remove compiler warning.2007-01-02 David Turner <david@freetype.org>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -