📄 changelog.22
字号:
* src/base/ftobjs.c (FT_Get_SubGlyph_Info): New function.
* src/autofit/afloader.c (af_loader_load_g): Compute lsb_delta and
rsb_delta correctly in edge cases.
2006-03-22 Werner Lemberg <wl@gnu.org>
* src/cache/ftccache.c, (ftc_node_mru_up, FTC_Cache_Lookup)
[!FTC_INLINE]: Compile conditionally.
* src/cache/ftccache.h: Updated.
* src/cache/ftcglyph.c (FTC_GNode_Init, FTC_GNode_UnselectFamily,
FTC_GNode_Done, FTC_GNode_Compare, FTC_Family_Init, FTC_GCache_New):
s/FT_EXPORT/FT_LOCAL/.
(FTC_GCache_Init, FTC_GCache_Done): Commented out.
(FTC_GCache_Lookup) [!FTC_INLINE]: Compile conditionally.
s/FT_EXPORT/FT_LOCAL/.
* src/cache/ftcglyph.h: Updated.
* src/cache/ftcimage.c (FTC_INode_Free, FTC_INode_New):
s/FT_EXPORT/FT_LOCAL/.
(FTC_INode_Weight): Commented out.
* src/cache/ftcimage.h: Updated.
* src/cache/ftmanag.c (FTC_Manager_Compress,
FTC_Manager_RegisterCache, FTC_Manager_FlushN):
s/FT_EXPORT/FT_LOCAL/.
* src/cache/ftmanag.h: Updated.
* src/cache/ftcsbits.c (FTC_SNode_Free, FTC_SNode_New,
FTC_SNode_Compare): s/FT_EXPORT/FT_LOCAL/.
(FTC_SNode_Weight): Commented out.
* src/cache/ftcsbits.h: Updated.
2006-03-22 Werner Lemberg <wl@gnu.org>
* src/cache/ftccache.c, src/cache/ftccache.h (FTC_Node_Destroy):
Remove, unused.
* src/cache/ftccmap.h: Remove, unused.
* src/cache/rules.mk (CACHE_DRV_H): Remove ftccmap.h.
2006-03-21 Zhe Su <james.su@gmail.com>
* src/base/ftoutln.c (FT_Outline_Get_Orientation): Improve
algorithm.
2006-03-21 Werner Lemberg <wl@gnu.org>
* src/cff/cfftypes.h (CFF_CharsetRec): Add `max_cid' member.
* src/cff/cffload.c (cff_charset_load): Set `charset->max_cid'.
* src/cff/cffgload.c (cff_slot_load): Change type of third parameter
to `FT_UInt'.
Check range of `glyph_index'.
* src/cff/cffgload.h: Updated.
* src/sfnt/ttcmap.c (tt_face_build_cmaps): Handle invalid offset
correctly.
* builds/freetype.mk (refdoc), docs/CHANGES, Jamfile (RefDoc),
README: s/2.1.10/2.2/.
2006-03-21 David Turner <david@freetype.org>
* src/autofit/aflatin.c (af_latin_metrics_scale): Fix small bug
that crashes the auto-hinter (introduced by previous patch).
2006-03-20 Werner Lemberg <wl@gnu.org>
* builds/freetype.mk (CACHE_DIR, CACHE_H): Remove.
(FREETYPE_H): Updated.
* src/cache/rules.mk (CACHE_H_DIR): Remove.
(CACHE_DRV_H): Updated.
2006-03-20 David Turner <david@freetype.org>
* include/freetype/cache/ftccache.h,
include/freetype/cache/ftccmap.h, include/freetype/cache/ftcglyph.h
include/freetype/cache/ftcimage.h include/freetype/cache/ftcmanag.h
include/freetype/cache/ftcmru.h include/freetype/cache/ftcsbits.h:
Move to...
* src/cache/ftccache.h, src/cache/ftcglyph.h, src/cache/ftcimage.h,
src/cache/ftcsbits.h, src/cache/ftcmanag.h, src/cache/ftccmap.h,
src/cache/ftcmru.h: This new location.
Update declarations according to the changes in the corresponding
source files.
Note that these files are not used by FreeType clients; all public
APIs of the cache module have been already moved to
`include/freetype/ftcache.h', and all FT_CACHE_INTERNAL_XXXX_H
macros resolve to it.
Reason for the move is to allow modifications of the internals
without interferences with rogue clients. Note that there are no
known clients that access the cache internals at the moment.
* builds/unix/install.mk (install): Don't install headers from
$(CACHE_H).
Remove `freetype/cache' from the target directory.
* include/freetype/config/ftheader.h (FT_CACHE_MANAGER_H,
FT_CACHE_INTERNAL_MRU_H, FT_CACHE_INTERNAL_MANAGER_H,
FT_CACHE_INTERNAL_CACHE_H, FT_CACHE_INTERNAL_GLYPH_H,
FT_CACHE_INTERNAL_IMAGE_H, FT_CACHE_INTERNAL_SBITS_H): Point to
FT_CACHE_H.
* src/cache/ftcbasic.c, src/cache/ftccache.h, src/cache/ftccback.h,
src/cache/ftccmap.c, src/cache/ftcglyph.c, src/cache/ftcglyph.h,
src/cache/ftcimage.c, src/cache/ftcimage.h, src/cache/ftcmanag.c,
src/cache/ftcmanag.h, src/cache/ftcmru.h, src/cache/ftcsbits.c,
src/cache/ftcsbits.h: Don't use the FT_CACHE_INTERNAL_XXX_H macros
but include the headers directly (which are now in `src/cache').
* src/cache/ftccache.c: Don't use the FT_CACHE_INTERNAL_XXX_H
macros but include the headers directly.
(FTC_Cache_Init, FTC_Cache_Done, FTC_Cache_NewNode,
FTC_Cache_Lookup, FTC_Cache_RemoveFaceID): Declare as FT_LOCAL_DEF.
* src/cache/ftccache.c: Don't use the FT_CACHE_INTERNAL_XXX_H
macros but include the headers directly.
(FTC_MruNode_Prepend, FTC_MruNode_Up, FTC_MruNode_Remove,
FTC_MruList_Init, FTC_MruList_Reset, FTC_MruList_Done,
FTC_MruList_New, FTC_MruList_Remove, FTC_MruList_RemoveSelection):
Declare as FT_LOCAL_DEF.
(FTC_MruListFind, FTC_MruList_Lookup) [!FTC_INLINE]: Compile
conditionally.
Declare as FT_LOCAL_DEF.
* builds/win32/visualc/freetype.dsp: Update project file, add
missing base source files (ftstroke.c, ftxf86.c, etc.).
* src/autofit/afcjk.c, src/autofit/aflatin.c, src/base/ftobjs.c,
src/cff/cffobjs.c, src/cid/cidobjs.c, src/pfr/pfrobjs.c,
src/sfnt/sfobjs.c, src/sfnt/ttmtx.c, src/type1/t1afm.c,
src/type1/t1objs.c: Remove compiler warnings when building with
Visual C++ 6 and /W4.
* src/autofit/aflatin.c (af_latin_hints_init): Disable horizontal
hinting for italic/oblique fonts.
* src/truetype/ttpload.c, src/truetype/ttpload.h
(tt_face_get_device_metrics): Change second argument to `FT_UInt'.
2006-03-06 David Turner <david@freetype.org>
* src/cache/ftcmanag.c (FTC_Manager_Lookup_Size): Prevent crashes in
Mozilla/FireFox print preview in Ubuntu Hoary.
2006-02-28 Chia-I Wu <b90201047@ntu.edu.tw>
* src/base/ftutil.c (ft_mem_qalloc) [FT_STRICT_ALIASING]: Do not
return error when size == 0.
2006-02-28 Chia-I Wu <b90201047@ntu.edu.tw>
* src/base/ftobjs.c (FT_Done_Library): Remove modules in reverse
order so that type42 module is removed before truetype module. This
avoids double free in some occasions.
2006-02-28 David Turner <david@freetype.org>
* Release candidate VER-2-2-0-RC4.
----------------------------------
* docs/CHANGES: Documentation updates.
2006-02-28 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* modules.cfg (BASE_EXTENSIONS): Compile in ftgxval.c by default to
build ftvalid in ft2demos. It works as dummy ABI if gxvalid is not
built.
2006-02-27 Werner Lemberg <wl@gnu.org>
* include/freetype/cache/ftccache.h
[FT_CONFIG_OPTION_OLD_INTERNALS]: Remove declaration of
ftc_node_done.
* src/cache/ftccache.c (ftc_node_destroy)
[!FT_CONFIG_OPTION_OLD_INTERNALS]: Mark as FT_LOCAL_DEF. This
should now fix all possible compilation options.
2006-02-27 David Turner <david@freetype.org>
* src/base/ftutil.c (ft_mem_alloc, ft_mem_qalloc, ft_mem_realloc,
ft_mem_qrealloc): Return an error if a negative size is passed in
parameters.
* src/cache/ftccache.c (ftc_node_destroy): Mark as FT_BASE_DEF since
it needs to be exported for rogue clients.
* src/pshinter/pshglob.c (psh_blues_set_zones_0): Prevent problems
with malformed fonts which have an odd number of blue values (these
are broken according to the specs).
* src/cff/cffload.c (cff_subfont_load), src/type1/t1load.c
(T1_Open_Face): Modify the loaders to force even-ness of
`num_blue_values'.
(cff_index_access_element): Ignore invalid entries in index files.
2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw>
* src/base/ftobjs.c (FT_Set_Char_Size): Check the case where width
or height is 0.
2006-02-27 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* builds/mac/FreeType.m68k_cfm.make.txt,
builds/mac/FreeType.m68k_far.make.txt,
builds/mac/FreeType.ppc_carbon.make.txt,
builds/mac/FreeType.ppc_classic.make.txt: Update to new header
inclusion introduced on 2006-02-16.
2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw>
* src/base/ftobjs.c (GRID_FIT_METRICS): New macro.
(ft_glyphslot_grid_fit_metrics, FT_Load_Glyph) [GRID_FIT_METRICS]:
Re-enable glyph metrics grid-fitting. It is now done in the base
layer.
(FT_Set_Char_Size, FT_Set_Pixel_Sizes): Make sure the width and
height are not too small or too large, just like we were doing in
2.1.10.
* src/autofit/afloader.c (af_loader_load_g): The vertical metrics
are not scaled.
2006-02-26 Werner Lemberg <wl@gnu.org>
* docs/release: Minor additions and clarifications.
* docs/CHANGES: Updated to reflect many fixes for backwards
compatibility. Still incomplete.
2006-02-26 David Turner <david@freetype.org>
* src/base/ftobjs.c (ft_recompute_scaled_metrics): Re-enable
conservative rounding of metrics to avoid breaking clients like
Pango (see http://bugzilla.gnome.org/show_bug.cgi?id=327852).
2006-02-25 Werner Lemberg <wl@gnu.org>
* devel/ftoption.h: Synchronize with
include/freetype/config/ftoption.h.
* src/cache/ftccache.c (ftc_node_destroy): Use FT_LOCAL_DEF (again).
2006-02-25 David Turner <david@freetype.org>
Fix compiler warnings as well as C++ compilation problems.
Add missing prototypes.
* src/autofit/afcjk.c, src/base/ftobjs.c, src/base/ftutil.c,
src/bdf/bdfdrivr.c, src/cff/cffcmap.c, src/cff/cffobjs.c,
src/psaux/afmparse.c,, src/psaux/t1cmap.c, src/smooth/ftgrays.c
src/tools/apinames.c, src/truetype/ttdriver.c: Add various casts,
initialize variables, and decorate functions with FT_CALLBACK_DEF,
etc., to fix compiler warnings (and C++ compiling errors).
* src/cache/ftcbasic.c: Fix `-Wmissing-prototypes' warnings with
gcc.
* builds/unix/ftsystem.c: Don't include FT_INTERNAL_OBJECTS_H but
FT_INTERNAL_STREAM_H.
* src/base/ftsystem.c: Include FT_INTERNAL_STREAM_H.
* include/freetype/config/ftheader.h (FT_PFR_H): New macro.
* include/freetype/config/ftoption.h (FT_STRICT_ALIASING): Don't
define for C++.
* include/freetype/internal/services/svotval.h: Don't include
FT_OPENTYPE_VALIDATE_H but FT_INTERNAL_VALIDATE_H.
* include/freetype/internal/services/svpfr.h: Include FT_PFR_H.
* src/gzip/ftgzip.c: Include FT_GZIP_H.
* src/lzw/ftlzw.c, src/lzw/ftlzw2.c: Include FT_LZW_H.
* src/sfnt/ttbdf.c (tt_face_load_bdf_props): Rearrange code.
2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw>
* src/base/ftoutln.c (FT_OUTLINE_GET_CONTOUR, ft_contour_has,
ft_contour_enclosed, ft_outline_get_orientation): Commented out. We
have to wait until `FT_GlyphSlot_Own_Bitmap' is stabilized.
(FT_Outline_Embolden): Use `FT_Outline_Get_Orientation'.
2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw>
* include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Update
documentation.
* include/freetype/ftsynth.h (FT_GlyphSlot_Own_Bitmap),
src/base/ftsynth.c (FT_GlyphSlot_Own_Bitmap): New function to make
sure a glyph slot owns its bitmap. It is also marked experimental
and due to change.
(FT_GlyphSlot_Embolden): Undo the last change. It turns out that
rendering the outline confuses some applications.
2006-02-24 David Turner <david@freetype.org>
* Release candidate VER-2-2-0-RC3.
----------------------------------
* src/cache/ftcbasic.c: Correct compatibility hack bug.
2006-02-24 Chia-I Wu <b90201047@ntu.edu.tw>
* include/freetype/freetype.h (FT_Size_RequestRec): Change the type
of `width' and `height' to `FT_Long'.
(enum FT_Size_Request_Type), src/base/ftobjs.c (FT_Request_Metrics):
New request type `FT_SIZE_REQUEST_TYPE_SCALES' to specify the scales
directly.
2006-02-23 David Turner <david@freetype.org>
Two BDF patches from Debian libfreetype6 for 2.1.10.
* src/bdf/bdflib.c (_bdf_parse_glyphs): Fix a bug with zero-width
glyphs.
Fix a problem with large encodings.
Fix binary compatibility issues for gnustep-back (GNUstep backend
module) which still crashes under Sarge.
* src/cache/ftccmap.c (FTC_OldCMapType, FTC_OldCMapIdRec,
FTC_OldCMapDesc) [FT_CONFIG_OPTION_OLD_INTERNALS]: New data
structures and enumerations.
(FTC_CMapCache_Lookup) [FT_CONFIG_OPTION_OLD_INTERNALS]: New
compatibility code.
* src/cache/ftcbasic.c: Fix a silly bug that prevented our `hack' to
support rogue clients compiled against 2.1.7 to work correctly.
This probably explains the GNUstep crashes with the second release
candidate.
2006-02-23 Chia-I Wu <b90201047@ntu.edu.tw>
* include/freetype/ftoutln.h (enum FT_Orientation): New value
`FT_ORIENTATION_NONE'.
* src/base/ftoutln.c (FT_OUTLINE_GET_CONTOUR, ft_contour_has,
ft_contour_enclosed, ft_outline_get_orientation): Another version of
`FT_Outline_Get_Orientation'. This version differs from the public
one in that each part (contour not enclosed in another contour) of the
outline is checked for orientation.
(FT_Outline_Embolden): Use `ft_outline_get_orientation'.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -