📄 changelog
字号:
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>
* src/sfnt/sfobjs.c: Add documentation comment.
2006-12-31 Masatake YAMATO <jet@gyve.org>
* src/gxvalid/gxvkern.c (gxv_kern_subtable_fmt0_pairs_validate): New
function.
Check uniqueness of the gid pairs.
(gxv_kern_subtable_fmt0_validate): Move some code to
`gxv_kern_subtable_fmt0_pairs_validate'.
2006-12-22 David Turner <david@freetype.org>
* src/autofit/aflatin.c, src/truetype/ttgload.c: Remove compiler
warnings.
* builds/win32/visualc/freetype.vcproj: Add _CRT_SECURE_NO_DEPRECATE
to avoid deprecation warnings with Visual C++ 8.
2006-12-16 Anders Kaseorg <anders@kaseorg.com>
* src/base/ftlcdfil.c (FT_Library_SetLcdFilter)
[FT_FORCE_LIGHT_LCD_FILTER]: Fix typo.
2006-12-15 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* include/freetype/internal/services/svotval.h: Add `volatile' to
sync with the modification by Jens Claudius on 2006-08-22; cf.
http://cvs.savannah.gnu.org/viewcvs/freetype/freetype2/src/otvalid/otvmod.c?r1=1.4&r2=1.5
2006-12-15 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* src/base/ftmac.c: Specialized for Mac OS X only.
* builds/unix/ftconfig.in: Fixed for ppc64 missing Carbon framework.
* builds/unix/configure.raw: Ditto. When explicit switches for
FSSpec/FSRef/QuickDraw/ATS availability are given to configure,
builds/mac/ftmac.c is used instead of default src/base/ftmac.c.
2006-12-15 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* builds/mac/ftmac.c: Copied src/base/ftmac.c for legacy system.
* builds/mac/FreeType.m68k_cfm.make.txt: Fix to use builds/mac/ftmac.c
instead of src/base/ftmac.c
* builds/mac/FreeType.ppc_carbon.make.txt: Ditto.
* builds/mac/FreeType.ppc_classic.make.txt: Ditto.
* builds/mac/FreeType.m68k_far.make.txt: Ditto, and exclude gxvalid.c
that cannot be built at present.
2006-12-15 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* src/base/ftobjs.c: Improvement of resource fork handler for
POSIX, cf.
http://lists.gnu.org/archive/html/freetype-devel/2006-10/msg00025.html
(Mac_Read_sfnt_Resource): Count only `sfnt' resource of suitcase font
format or .dfont, to simulate the face index number counted by ftmac.c.
(IsMacResource): Return the number of scalable faces correctly.
2006-12-10 Werner Lemberg <wl@gnu.org>
* builds/toplevel.mk (version): Protect against `distclean' target.
2006-12-09 Werner Lemberg <wl@gnu.org>
* builds/*/*def.mk, builds/*/detect.mk (CAT): Define to either `cat'
or `type'.
* builds/freetype.mk (version): Extracted from freetype.h, using
GNU make's built-in string functions.
(refdoc): Use $(version) instead of static version number.
2006-12-08 Werner Lemberg <wl@gnu.org>
* builds/toplevel.mk (dist): Extract version number from freetype.h.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -