📄 changelog
字号:
transformation. This significantly reduces the loading time of CFF glyphs. * docs/CHANGES: Updated. * src/autofit/afglobal.c (AF_SCRIPT_LIST_DEFAULT): Change default hinting script to CJK, since it works well with more scripts than latin. Thanks to Rahul Bhalerao <b.rahul.pm@gmail.com> for pointing this out!2007-05-25 Werner Lemberg <wl@gnu.org> * docs/CHANGES: Updated.2007-05-24 Werner Lemberg <wl@gnu.org> * src/truetype/ttobjs.h (tt_size_ready_bytecode): Move declaration into TT_USE_BYTECODE_INTERPRETER preprocessor block.2007-05-24 Graham Asher <graham.asher@btinternet.com> * src/truetype/ttobjs.c (tt_size_ready_bytecode) [!TT_USE_BYTECODE_INTERPRETER]: Removed. Unused.2007-05-22 David Turner <david@freetype.org> * src/truetype/ttgload.c (load_truetype_glyph): Fix last change to avoid crashes in case the bytecode interpreter is not used. Avoid heap blowup with very large .Z font files. This fixes Savannah bug #19910. * src/lzw/ftzopen.h (FT_LzwStateRec): Remove `in_cursor', `in_limit', `pad', `pad_bits', and `in_buff' members. Add `buf_tab', `buf_offset', `buf_size', `buf_clear', and `buf_total' members. * src/lzw/ftzopen.c (ft_lzwstate_get_code): Rewritten. It now takes only one argument. (ft_lzwstate_refill, ft_lzwstate_reset, ft_lzwstate_io): Updated.2007-05-20 Ismail Dönmez <ismail@pardus.org.tr> * src/pshinter/pshrec.c (ps_mask_table_set_bits): Add `const'. (ps_dimension_set_mask_bits): Remove `const'.2007-05-19 Werner Lemberg <wl@gnu.org> * src/sfnt/ttmtx.c (tt_face_get_metrics) [!FT_CONFIG_OPTION_OLD_INTERNALS]: Another type-punning fix.2007-05-19 Derek Clegg <dclegg@apple.com> Savannah patch #5929. * include/freetype/tttables.h, src/base/ftobjcs.c (FT_Get_CMap_Format): New function. * include/freetype/internal/services/svttcmap.c (TT_CMapInfo): Add `format' member. * src/sfnt/ttcmap.c (tt_cmap{0,2,4,6,8,10,12}_get_info): Set cmap_info->format.2007-05-19 Werner Lemberg <wl@gnu.org> * src/truetype/ttgload.c (load_truetype_glyph): Save graphics state before handling subglyphs so that it can be reinitialized each time. This fixes Savannah bug #19859.2007-05-16 Werner Lemberg <wl@gnu.org> * src/cache/ftccache.c (ftc_node_mru_link, ftc_node_mru_unlink), src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP), src/cache/ftcglyph.h (FTC_GCACHE_LOOKUP_CMP), src/pshinter/pshmod.c (ps_hinter_init), src/sfnt/ttmtx.c (tt_face_load_hmtx, tt_face_load_hhea, tt_face_get_metrics): Fix type-punning issues.2007-05-15 David Turner <david@freetype.org> * include/freetype/config/ftstdlib.h, include/freetype/internal/ftobjs.h: As suggested by Graham Asher, ensure that ft_isalnum, ft_isdigit, etc., use hard-coded values instead on relying on the locale-dependent functions provided by <ctypes.h>.2007-05-15 Graham Asher <graham.asher@btinternet.com> * src/autofit/afcjk.c (af_cjk_hints_compute_edges): Remove unused variable. * src/autofit/afloader.c (af_loader_load_g): Ditto. * src/base/ftobjs.c (ft_validator_error): Use `ft_jmp_buf'. (open_face_from_buffer): Initialize `stream'. (FT_Request_Metrics): Remove unused variable. Remove redundant `break' statements. (FT_Get_Track_Kerning): Remove unused variable. * src/psaux/afmparse.c (afm_parse_track_kern, afm_parse_kern_pairs, afm_parse_kern_data): Remove redundant `break' statements. (afm_parser_parse): Ditto. Don't use uninitialized variables. * src/psnames/psmodule.c (VARIANT_BIT): Define as unsigned long. Use `|' operator instead of `^' to set it. Update all users. * src/sfnt/ttcmap.c (tt_face_build_cmaps): Use `ft_jmp_buf'. * src/sfnt/ttkern.c (tt_face_load_kern): Remove unused variable. * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Remove redundant comparison. (TT_Process_Simple_Glyph): Use FT_UInt for `n_points' and `i'. (TT_Load_Glyph): Remove unused variable.2007-05-13 Derek Clegg <dclegg@apple.com> * src/base/ftobjs.c (FT_New_Library): Only allocate rendering pool if FT_RENDER_POOL_SIZE is > 0. From Savannah patch #5928.2007-05-11 David Turner <david@freetype.org> * src/cache/ftbasic.c, include/freetype/ftcache.h (FTC_ImageCache_LookupScaler, FTC_SBit_Cache_LookupScaler): Two new functions that allow us to look up glyphs using an FTC_Scaler object to specify the size, making it possible to use fractional pixel sizes. * src/truetype/ttobjs.c (tt_size_ready_bytecode): Set `size->cvt_ready'. Reported by Boris Letocha.2007-05-09 Graham Asher <graham.asher@btinternet.com> * src/truetype/ttinterp.c (Ins_IP), src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix compiler warnings.2007-05-06 Werner Lemberg <wl@gnu.org> * builds/win32/visualce/freetype.sln: Removed, as requested by Vincent.2007-05-04 Vincent RICHOMME <richom.v@free.fr> * builds/win32/visualce/*: Add Visual C++ project files for Pocket PC targets. * docs/CHANGES: Document them.2007-05-04 <harry@kdevelop.org> * builds/unix/ftsystem.c (FT_Stream_Open): Handle return value 0 of mmap (which might happen on some RTOS). From Savannah patch #5909.2007-05-03 Werner Lemberg <wl@gnu.org> * src/base/ftobjs.c (FT_Set_Char_Size): Simplify code. * include/freetype/freetype.h (FT_Set_Char_Size): Update documentation.2007-04-28 Victor Stinner <victor.stinner@inl.fr> * src/sfnt/sfobjs.c (sfnt_load_face): Check error code after loading `cmap'.2007-04-27 Werner Lemberg <wl@gnu.org> * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Check for negative number of points in contours. Problem reported by Victor Stinner <victor.stinner@haypocalc.com>. (TT_Process_Simple_Glyph): Synchronize variable types.2007-04-26 Werner Lemberg <wl@gnu.org> * src/base/ftglyph.c (FT_Glyph_Copy): Always set second argument to zero in case of error. This fixes Savannah bug #19689.2007-04-25 Boris Letocha <b.letocha@cz.gmc.net> * src/truetype/ttobjs.c: Fix a typo that created a speed regression in the TrueType bytecode loader.2007-04-10 Martin Horak <horakm@centrum.cz> * src/sfnt/sfobjs.c (sfnt_load_face) [FT_CONFIG_OPTION_INCREMENTAL]: Ignore `hhea' table. This fixes Savannah bug #19261.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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -