📄 changelog
字号:
* 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.52006-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.2006-12-08 Vladimir Volovich <vvv@vsu.ru> * src/tools/apinames (State): Remove final comma in structure -- xlc v5 under AIX 4.3 doesn't like this.2006-12-07 David Turner <david@freetype.org> * src/autofit/afloader.c (af_loader_load_g): Small adjustment to the spacing of auto-fitted glyphs. This only impacts rare cases (e.g., Arial Bold at rather small character sizes).2006-12-03 Werner Lemberg <wl@gnu.org> * src/sfnt/rules.mk (SFNT_DRV_SRC): Add ttsbit0.c.2006-12-01 Werner Lemberg <wl@gnu.org> * src/sfnt/sfobjs.c (tt_face_get_name): All Unicode strings are encoded in UTF-16BE. Patch from Rajeev Pahuja <rpahuja@esri.com>. (tt_name_entry_ascii_from_ucs4): Removed. * include/freetype/ftxf86.h: Fix and extend comment so that it appears in the documentation. * include/freetype/ftchapters.h: Add `font_format' section. * src/tools/docmaker/tohtml.py (HtmlFormatter::index_exit): Add link to TOC in index page.2006-11-28 David Turner <david@freetype.org> * src/smooth/ftgrays.c (gray_raster_render): Return 0 when we are trying to render into a zero-width/height bitmap, not an error code. * src/truetype/ttobjs.c (tt_face_init): Fix typo in previous patch. * src/smooth/ftgrays.c: Remove hard-coded error values; use FreeType ones instead. * src/autofit/afhints.c (af_glyph_hints_dump_segments): Remove unused variable.2006-11-26 Pierre Hanser <hanser@club-internet.fr> * src/truetype/ttobjs.c (tt_face_init): Protect against NULL pointer.2006-11-25 David Turner <david@freetype.org> * src/autofit/afhints.c (af_glyph_hints_dump_points, af_glyph_hints_dump_segments, af_glyph_hints_dumpedges) [!AF_DEBUG]: Add stubs to link the `ftgrid' test program when debugging is disabled in the auto-hinter.2006-11-23 David Turner <david@freetype.org> * src/autofit/afhints.c, src/autofit/afhints.h, src/autofit/aflatin.c, src/autofit/aftypes.h: Miscellaneous auto-hinter improvements. * src/autofit/afhints.c (af_glyph_hints_dump_segments) [AF_DEBUG]: Emit more sensible information. * src/autofit/afhints.h (AF_SegmentRec): Add `height' member. * src/autofit/aflatin.c (af_latin_metrics_scale_dim): Improve rounding of blue values. (af_latin_hints_compute_segments): Hint segment heights. (af_latin_hints_link_segments): Reduce `len_score' value. (af_latin_hints_compute_edges): Increase `segment_length_threshold' value and use `height' member for comparisons. (af_latin_hint_edges): Extend logging message. Improve handling of remaining edges.2006-11-22 Werner Lemberg <wl@gnu.org> Fix Savannah bug #15553. * src/truetype/ttgload.c (tt_loader_init): Re-execute the CVT program after a change from mono to grayscaling (and vice versa). Use correct constant for comparison to get `exec->grayscale'.2006-11-18 Werner Lemberg <wl@gnu.org> Because FT_Load_Glyph expects CID values for CID-keyed fonts, the test for a valid glyph index must be deferred to the font drivers. This patch fixes Savannah bug #18301. * src/base/ftobjs.c (FT_Load_Glyph): Don't check `glyph_index'. * src/bdf/bdfdrivr.c (BDF_Glyph_Load), src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c (cid_slot_load_glyph), src/pcf/pcfdrivr.c (PCF_Glyph_Load), src/pfr/pfrobjs.c (pfr_slot_load), src/truetype/ttdriver.c (Load_Glyph), src/type1/t1gload.c (T1_Load_Glyph), src/winfonts/winfnt.c (FNT_Load_Glyph): Check validity of `glyph_index'.2006-11-13 David Turner <david@freetype.org> * src/truetype/ttinterp.c (FIX_BYTECODE): Undefine. The interpreter `enhancements' are still too buggy for general use. * src/base/ftlcdfil.c: Add support for FT_FORCE_LIGHT_LCD_FILTER and FT_FORCE_LEGACY_LCD_FILTER at compile time. Define these macros when building the library to change the default LCD filter to be used. This is only useful for experimentation. * include/freetype/ftlcdfil.h: Update documentation.2006-11-10 David Turner <david@freetype.org> * src/smooth/ftsmooth.c: API change for the LCD filter. The FT_LcdFilter value is an enumeration describing which filter to apply, with new values FT_LCD_FILTER_LIGHT and FT_LCD_FILTER_LEGACY (the latter implements the LibXft original algorithm which produces strong color fringes for everything except very-well hinted text). * include/freetype/ftlcdfil.h (FT_Library_SetLcdFilter): Change second parameter to an enum type. * src/base/ftlcdfil.c (USE_LEGACY): Define. (_ft_lcd_filter): Rename to... (_ft_lcd_filter_fir): This. Update parameters. (_ft_lcd_filter_legacy) [USE_LEGACY]: New filter function. (FT_Library_Set_LcdFilter): Update parameters. Handle new filter modes. * include/internal/ftobjs.h: Include FT_LCD_FILTER_H. (FT_Bitmap_LcdFilterFunc): Change third argument to `FT_Library'. (FT_LibraryRec) [FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Add filtering callback and update other fields. * src/smooth/ftsmooth.c (ft_smooth_render_generic) [FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Update. Other minor improvements. * src/autofit/aflatin.c: Various tiny improvements that drastically improve the handling of serif fonts and of LCD/LCD_V hinting modes. (af_latin_hints_compute_edges): Fix typo. (af_latin_compute_stem_width): Take better care of diagonal stems.2006-11-09 David Turner <david@freetype.org> * src/pshinter/pshalgo.c (psh_glyph_compute_inflections): Fix typo which created a variable-used-before-initialized bug.2006-11-07 Zhe Su <james.su@gmail.com> * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Handle vertical layout also.2006-11-03 Werner Lemberg <wl@gnu.org> * src/base/ftcalc.c: Don't use `long long' but `FT_Int64'.2006-11-02 David Turner <david@freetype.org> Add a few tweaks to better handle serif fonts. Add more debugging messages. * src/autofit/aflatin.c (af_latin_hints_compute_edges): Ignore segments that are less than 1.5 pixels high. This gets rid of *many* corner cases with serifs. (af_latin_align_linked_edge): Add logging message. (af_latin_hint_edges): Use AF_HINTS_DO_BLUES. Add logging messages. Handle AF_EDGE_FLAG flag specially. * src/autofit/afmodule.c [AF_DEBUG]: Add _af_debug, _af_debug_disable_blue_hints, and _af_debug_hints variables. * src/autofit/aftypes.h (AF_LOG) [AF_DEBUG]: Use _af_debug. Update external declarations. (af_corner_orientation, af_corner_is_flat): Replaced by... * include/freetype/internal/ftcalc.h (ft_corner_orientation, ft_corner_is_flat): These declarations. * src/autofit/afangles.c (af_corner_orientation, af_corner_is_flat): Comment out. Replaced by... * src/base/ftcalc.h (ft_corner_orientation, ft_corner_is_flat): These functions. Update all callers. (FT_Add64) [!FT_LONG64]: Simplify. * src/autofit/afhints.c: Include FT_INTERNAL_CALC_H. (af_direction_compute): Add a missing FT_ABS call. This bug caused production of garbage by missing lots of segments. * src/autofit/afhints.h (AF_HINTS_DO_BLUES): New macro. * src/autofit/afloader.c (af_loader_init, af_loader_done) [AF_DEBUG]: Set _af_debug_hints. * src/pshinter/pshalgo.c: Include FT_INTERNAL_CALC_H. (psh_corner_is_flat, psh_corner_orientation): Use ft_corner_is_flat and ft_corner_orientation. * src/gzip/inftrees.c (huft_build): Remove compiler warning.2006-10-24 Werner Lemberg <wl@gnu.org> * src/cff/cffload.c (cff_encoding_load): Remove unused variable. * src/base/ftobjs.c (FT_Select_Charmap): Disallow FT_ENCODING_NONE as argument.2006-10-23 Zhe Su <zsu@novell.com> * src/base/ftoutln.c (FT_Outline_Get_Orientation): Re-implement to better deal with broken Asian fonts with strange glyphs, having self-intersections and other peculiarities. The used algorithm is based on the nonzero winding rule.2006-10-23 David Turner <david@freetype.org> Speed up the CFF font loader. With some large CFF fonts, FT_Open_Face is now more than three times faster. * src/cff/cffload.c (cff_get_offset): Removed. (cff_new_index): Inline functionality of `cff_get_offset'. (cff_charset_compute_cids, cff_charset_free_cids): New functions. (cff_charset_done): Call `cff_charset_free_cids'. (cff_charset_load): Call `cff_charset_compute_cids'. (cff_encoding_load) <Populate>: Ditto, to replace inefficient loop. * src/sfnt/ttmtx.c (tt_face_load_hmtx): Replace calls to FT_GET_XXX with FT_NEXT_XXX. Speed up the Postscript hinter, with more than 100% speed increase on my machine. * src/pshinter/pshalgo.c (psh_corner_is_flat, psh_corner_orientation): New functions. (psh_glyph_compute_inflections): Merge loops for efficiency. Use `psh_corner_orientation'. (psh_glyph_init): Use `psh_corner_is_flat'. (psh_hint_table_find_strong_point): Renamed to... (psh_hint_table_find_strong_points): This. Rewrite, adding argument to handle all points at once. Update all callers. (PSH_MAX_STRONG_INTERNAL): New macro. (psh_glyph_interpolate_normal_points): Rewrite for efficiency.2006-10-15 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * src/base/ftmac.c (FT_New_Face_From_FOND): Initialize variable `error' with FT_Err_Ok.2006-10-14 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * docs/INSTALL.CROSS: New document file for cross-building. * builds/unix/configure.raw: Preliminary cross-building support. Find native C compiler and pass it by CC_BUILD, and find suffix for native executable and pass it by EXEEXT_BUILD. Also suffix for target executable is passed by EXEEXT. * builds/unix/unix-cc.in (CCraw_build, E_BUILD): New variables to build `apinames' which runs on building system. They are set by CC_BUILD and EXEEXT_BUILD. * builds/exports.mk (APINAMES_EXE): Change the extension for apinames from the suffix for target (E) to that for building host (E_BUILD).2006-10-12 Werner Lemberg <wl@gnu.org> * docs/INSTALL.UNX, docs/UPGRADE.UNX: Renamed to... * docs/INSTALL.UNIX, docs/UPGRADE.UNIX: This. Update all documents which reference those files.2006-10-12 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> * builds/unix/configure.raw (FT2_EXTRA_LIBS): New variable. It is embedded in freetype2.pc and freetype-config. Use it to record Carbon dependency of MacOSX. * builds/unix/freetype2.in: Embed FT2_EXTRA_LIBS. * builds/unix/freetype-config.in: Ditto.2006-10-11 Werner Lemberg <wl@gnu.org> * devel/ftoption.h (FT_CONFIG_OPTION_SUBPIXEL_RENDERING): Define for development.2006-10-03 Jens Claudius <jens.claudius@yahoo.com> * include/freetype/config/ftstdlib.h: Cast away volatileness from argument to ft_setjmp. * include/freetype/internal/ftvalid.h: Add comment that ft_validator_run must not be used.2006-10-01 Werner Lemberg <wl@gnu.org> * src/base/ftbase.c: Undo change from 2006-09-30.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -