📄 changelog
字号:
2007-07-02 Werner Lemberg <wl@gnu.org> * Version 2.3.5 released. ========================= Tag sources with `VER-2-3-5'. * docs/CHANGES, docs/VERSION.DLL: Update documentation and bump version number to 2.3.5. * README, Jamfile (RefDoc), builds/win32/visualc/index.html, builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj, builds/win32/visualce/index.html, builds/win32/visualce/freetype.dsp, builds/win32/visualce/freetype.vcproj: s/2.3.4/2.3.5/, s/234/235/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 5. * builds/unix/configure.raw (version_info): Set to 9:16:3.2007-07-01 David Turner <david@freetype.org> * include/freetype/freetype.h, src/base/ftpatent.c (FT_Face_SetUnpatentedHinting): New function to dynamically change the setting after a face is created. * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Fix a small bug that created distortions in the bytecode interpreter results.2007-06-30 David Turner <david@freetype.org> * src/truetype/ttinterp.c (Ins_IUP): Add missing variable initialization. * src/autofit/aflatin.c (af_latin_metric_init_blues): Get rid of an infinite loop in the case of degenerate fonts.2007-06-26 Rahul Bhalerao <b.rahul.pm@gmail.com> Add autofit module for Indic scripts. This currently just reuses the CJK-specific functions. * include/freetype/config/ftoption.h (AF_CONFIG_OPTION_INDIC): New macro. * devel/ftoption.h: Synchronize with include/freetype/config/ftoption.h. * src/autofit/afindic.c, src/autofit/afindic.h: New files. * src/autofit/afglobal.c, src/autofit/aftypes.h, src/autofit/autofit.c: Updated. * src/autofit/Jamfile (_sources), * src/autofit/rules.mk (AUTOF_DRV_SRC): Updated.2007-06-23 David Turner <david@freetype.org> * src/truetype/ttgload.c (TT_Load_Simple): Fix change from 2007-06-16 that prevented the TrueType module from loading most glyphs.2007-06-20 Werner Lemberg <wl@gnu.org> * src/cff/cffgload.c (cff_slot_load): Fix logic of 2007-05-28 change.2007-06-19 Werner Lemberg <wl@gnu.org> * src/type1/t1load.c (parse_encoding): Handle one more error.2007-06-19 Dmitry Timoshkov <dmitry@codeweavers.com> * src/winfonts/winfnt.c (fnt_face_get_dll_font): Return error FNT_Err_Invalid_File_Format if file format was recognized but the file doesn't contain any FNT(NE) or RT_FONT(PE) resources. Add verbose debug logs to make it easier to debug failing load attempts. (FNT_Face_Init): A single FNT font can't contain more than 1 face, so return an error if requested face index is > 0. Do not do further attempt to load fonts if a previous attempt has failed but returned error FNT_Err_Invalid_File_Format, i.e., the file format has been recognized but no fonts found in the file.2007-07-19 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftmac.c: Apply patches proposed by Sean McBride. (FT_GetFile_From_Mac_Name): Insert FT_UNUSED macros to fix the compiler warnings against unused arguments. (FT_ATSFontGetFileReference): Ditto. (FT_GetFile_From_Mac_ATS_Name): Ditto. (FT_New_Face_From_FSSpec): Ditto. (lookup_lwfn_by_fond): Fix wrong comment. Replace `const StringPtr' by more appropriate type `ConstStr255Param'. FSRefMakePathPath always returns UTF8 POSIX pathname in Mach-O, thus HFS pathname support is dropped. (count_faces): Remove HLock and HUnlock which is not required on Mac OS X anymore. (FT_New_Face_From_SFNT): Ditto. (FT_New_Face_From_FOND): Ditto. * builds/mac/ftmac.c: Synchronize to src/base/ftmac.c, except of HFS pathname support and HLock/HUnlock. They are required on classic CFM environment.2007-06-18 Werner Lemberg <wl@gnu.org> * src/psaux/psobjs.c (ps_parser_skip_PS_token): Remove incorrect assertion. (ps_parser_to_bytes): Fix error message. * src/type42/t42objs.c (T42_Open_Face): Handle one more error. * src/type42/t42parse.c (t42_parse_sfnts): s/alloc/allocated/. Don't allow mixed binary and hex strings. Handle string_size == 0 and string_buf == 0. (t42_parse_encoding): Handle one more error.2007-06-18 Werner Lemberg <wl@gnu.org> * src/psaux/psobjs.c (ps_tofixedarray, ps_tocoordarray): Fix exit logic. (ps_parser_load_field) <T1_FIELD_TYPE_BBOX>: Skip delimiters correctly. (ps_parser_load_field_table): Use `fields->array_max' instead of T1_MAX_TABLE_ELEMENTS to limit the number of arguments. * src/cff/cffgload.c (cff_decoder_prepare): Fix change from 2007-06-06.2007-06-17 Werner Lemberg <wl@gnu.org> * src/tools/ftrandom.c (font_size): New global variable. (TestFace): Use it. (main): Handle new option `--size' to set `font_size'. (Usage): Updated. * src/winfonts/winfnt.c (fnt_face_get_dll_font): Exit in case of invalid font. (FNT_Load_Glyph): Protect against invalid bitmap width.2007-06-16 David Turner <david@freetype.org> * src/smooth/ftgrays.c (gray_find_cell, gray_set_cell, gray_hline): Prevent integer overflows when rendering very large outlines. * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Check the well-formedness of the contours array when loading a glyph. * src/truetype/ttinterp.c (TT_Load_Context): Initialize `zp0', `zp1', and `zp2'. (Ins_IP): Check argument ranges to reject bogus operations properly. (IUP_WorkerRec): Add `max_points' member. (_iup_worker_interpolate): Check argument ranges. (Ins_IUP): Ignore empty outlines.2007-06-16 Dmitry Timoshkov <dmitry@codeweavers.com> * src/winfonts/winfnt.h: Add necessary structures for PE resource parsing. (WinPE32_HeaderRec): New structure. (WinPE32_SectionRec): New structure. (WinPE_RsrcDirRec): New structure. (WinPE_RsrcDirEntryRec): New structure. (WinPE_RsrcDataEntryRec): New structure. (FNT_FontRec): Remove unused `size_shift' field. * src/winfonts/winfnt.c (fnt_face_get_dll_font): Add support for loading bitmap .fon files in PE format.2007-06-15 Dmitry Timoshkov <dmitry@codeweavers.com> * builds/win32/ftdebug.c: Unify debug level handling with other platforms.2007-06-14 Dmitry Timoshkov <dmitry@codeweavers.com> * builds/win32/ftdebug.c (FT_Message): Send debug output to the console as well as to the debugger.2007-06-14 Werner Lemberg <wl@gnu.org> * src/autofit/aflatin.c (af_latin_uniranges): Expand structure to cover all ranges which could possibly be handled by the aflatin module (since the default fallback for unknown ranges is now the afcjk module). It might be necessary to fine-tune this further by splitting off modules for Greek, Cyrillic, or other blocks.2007-06-11 David Turner <david@freetype.org> * src/autofit/aflatin.c (af_latin_hints_link_segments): Fix incorrect segment linking computation. This was the root cause of Savannah bug #19565. * src/autofit/* [FT_OPTION_AUTOFIT2]: Some very experimental changes to improve the Latin auto-hinter. Note that the new code is disabled by default since it is not stabilized yet. * src/autofit/aflatin2.c, src/autofit/aflatin2.h: New files (disabled currently). * src/autofit/afhints.c: Remove dead code. (af_axis_hints_new_edge): Add argument to handle segment directions. (af_edge_flags_to_string): New function. (af_glyph_hints_dump_segments, af_glyph_hints_dump_edges): Handle option flags. (af_glyph_hints_reload): Add argument to handle inflections. Simplify. (af_direction_compute): Fine tuning. (af_glyph_hints_align_edge_points): Fix logic. (af_glyph_hints_align_strong_points): Do linear search for small edge counts. (af_glyph_hints_align_weak_points): Skip any touched neighbors. (af_iup_shift): Handle zero `delta'. * src/autofit/afhints.h: Updated. (AF_SORT_SEGMENTS): New macro (disabled). (AF_AxisHintsRec) [AF_SORT_SEGMENTS]: New member `mid_segments'. * src/autofit/afglobal.c (af_face_globals_get_metrics): Add argument to pass option flags for handling scripts. * src/autofit/afglobal.h: Updated. * src/autofit/afcjk.c: Updated. * src/autofit/aflatin.c: Updated. (af_latin_metrics_scale_dim): Don't reduce scale by 2%. (af_latin_hints_compute_segments) [AF_HINT_METRICS]: Remove dead code. (af_latin_hints_compute_edges) [AF_HINT_METRICS]: Remove dead code. Don't set `edge->dir' (af_latin_hint_edges): Add more logging. * src/autofit/afloader.c: Updated.2007-06-11 Werner Lemberg <wl@gnu.org> * docs/CHANGES: Document FT_Face_CheckTrueTypePatents.2007-06-10 David Turner <david@freetype.org> * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Slight speed-up to the TrueType glyph loader. * include/freetype/config/ftoption.h: Clarify documentation regarding unpatented hinting. Add new `FT_Face_CheckTrueTypePatents' API. * include/freetype/freetype.h (FT_Face_CheckTrueTypePatents): New declaration. * include/freetype/internal/services/svttglyf.h, src/base/ftpatent.c: New files. * include/freetype/internal/ftserv.h (FT_SERVICE_TRUETYPE_GLYF_H): New macro. * src/truetype/ttdriver.c: Include FT_SERVICE_TRUETYPE_GLYF_H and `ttpload.h'. (tt_service_truetype_glyf): New service structure. (tt_services): Register it. * modules.cfg (BASE_EXTENSIONS), src/base/Jamfile (_sources): Add `ftpatent.c'.2007-06-08 Werner Lemberg <wl@gnu.org> * src/sfnt/sfobjs.c (sfnt_load_face): Undo change from 2007-04-28. Fonts without a cmap must be handled correctly by FreeType (anything else would be a bug). * src/psaux/t1decode.c (t1_decoder_parse_charstrings) [FT_DEBUG_LEVEL_TRACE]: Improve tracing message.2007-06-07 Werner Lemberg <wl@gnu.org> * src/sfnt/ttsbit0.c (tt_sbit_decoder_init, tt_sbit_decoder_load_image): Protect against integer overflows. * src/pfr/pfrgload.c (pfr_glyph_load_simple): More bounding checks for `x_control' and `y_control'.2007-06-06 Werner Lemberg <wl@gnu.org> * src/base/ftoutln.c (FT_Outline_Decompose): Check `last'. * src/pfr/pfrcmap.c (pfr_cmap_init): Convert assertion into normal FreeType error. * src/winfonts/winfnt.c (fnt_face_get_dll_font): Do a rough check of `font_count'. * src/type1/t1load.c (parse_font_matrix): Check `temp_scale'. * src/cff/cffgload.c (cff_decoder_prepare): Change return type to `FT_Error'. Check `fd_index'. (cff_slot_load): Updated. * src/cff/cffgload.h: Updated.2007-06-05 Werner Lemberg <wl@gnu.org> * src/pfr/pfrgload.c (pfr_glyph_done): Comment out unused code. (pfr_glyph_load_simple): Convert assertion into normal FreeType error. Check `idx'. (pfr_glyph_load_compound, pfr_glyph_curve_to, pfr_glyph_line_to): Convert assertion into normal FreeType error. * src/pfr/pfrtypes.h (PFR_GlyphRec): Comment out unused code. * src/winfonts/winfnt.c (FNT_Face_Init): Check `family_size'. * src/psaux/psobjs.c (ps_tocoordarray, ps_tofixedarray): Return -1 in case of parsing error. (ps_parser_load_field): Updated. * src/type1/t1load.c (parse_font_matrix): Updated.2007-06-04 Werner Lemberg <wl@gnu.org> * src/cid/cidgload.c (cid_load_glyph): Check `fd_select'. * src/tools/ftrandom/Makefile: Depend on `libfreetype.a'.2007-06-03 Werner Lemberg <wl@gnu.org> * src/tools/ftrandom/*: Add the `ftrandom' test program written by George Williams (with some modifications).2007-06-03 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (destroy_charmaps), src/type1/t1objs.c (T1_Face_Done), src/winfonts/winfnt.c (FNT_Face_Done): Check for face == NULL. Suggested by Graham Asher.2007-06-03 Ismail Dönmez <ismail@pardus.org.tr> * src/base/ftobjs.c (FT_Request_Metrics): Fix compiler warning.2007-06-02 Werner Lemberg <wl@gnu.org> * include/freetype/fterrdef.h (FT_Err_Corrupted_Font_Header, FT_Err_Corrupted_Font_Glyphs): New error codes for BDF files. * src/bdf/bdflib.c (bdf_load_font): Use them. * src/bdf/bdflib.c (_bdf_parse_start): Check `FONT' better.2007-06-01 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Request_Metrics), src/cache/ftccmap.c (FTC_CMapCache_Lookup): Remove unused code.2007-06-01 Sean McBride <sean@rogue-research.com> * src/truetype/ttinterp.c (Null_Vector, NULL_Vector): Removed, unused.2007-06-01 Werner Lemberg <wl@gnu.org> * src/cid/cidparse.c (cid_parser_new): Don't continue second search pass for `StartData' if an error has occurred. Exit properly if no `StartData' has been seen at all. * builds/unix/ftsystem.c (FT_Stream_Open): Don't use ULONG_MAX but LONG_MAX to avoid compiler warning. Suggested by Sean McBride.2007-05-30 Werner Lemberg <wl@gnu.org> * src/type1/t1load.c (parse_subrs, parse_charstrings): Protect against too small binary data strings. * src/bdf/bdflib.c (_bdf_parse_glyphs): Check `STARTCHAR' better.2007-05-28 David Turner <david@freetype.org> * src/cff/cffgload.c (cff_slot_load): Do not apply the identity
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -