History log of /external/freetype/src/cache/ftcbasic.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a0c22569deab933df21127e75db5c81f724f292 02-Jan-2018 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/cache/ftcbasic.c
39ce3ac499d4cd7371031a062f410953c8ecce29 16-Sep-2017 Werner Lemberg <wl@gnu.org> * Version 2.8.1 released.
=========================

Tag sources with `VER-2-8-1'.

* docs/VERSION.TXT: Add entry for version 2.8.1.
* docs/CHANGES: Updated.

* README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
builds/windows/vc2005/index.html,
builds/windows/vc2008/freetype.vcproj,
builds/windows/vc2008/index.html,
builds/windows/vc2010/freetype.vcxproj,
builds/windows/vc2010/index.html,
builds/windows/visualc/freetype.dsp,
builds/windows/visualc/freetype.vcproj,
builds/windows/visualc/index.html,
builds/windows/visualce/freetype.dsp,
builds/windows/visualce/freetype.vcproj,
builds/windows/visualce/index.html,
builds/wince/vc2005-ce/freetype.vcproj,
builds/wince/vc2005-ce/index.html,
builds/wince/vc2008-ce/freetype.vcproj,
builds/wince/vc2008-ce/index.html: s/2.8/2.8.1/, s/28/281/.

* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.

* builds/unix/configure.raw (version_info): Set to 21:0:15.
* CMakeLists.txt (VERSION_PATCH): Set to 1.
/external/freetype/src/cache/ftcbasic.c
7cb6f2173a00e506d544f7acfe53d6786048ff87 14-Sep-2017 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/cache/ftcbasic.c
5ad845771a7389e72e4868dd1d4f0986f812b705 13-Sep-2017 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [cache] Fix a possible overflow by signed integer comparison.

Improve the code by 5d3ff05615dda6d1325ed612381a17a0df04c975 ,
issues are found by Behdad Esfahbod and Werner Lemberg.

* src/cache/ftcbasic.c (FTC_ImageCache_Lookup): Replace
a subtraction to check higher bit by a bit operation,
and cpp-conditionalize for appropriate systems. Add better
documentation to the comment.
(FTC_ImageCache_LookupScaler): Ditto.
(FTC_SBitCache_Lookup): Ditto.
(FTC_SBitCache_LookupScaler): Ditto.
/external/freetype/src/cache/ftcbasic.c
563ae780229aef5b6f6ae361211d5fb733de8321 04-Jan-2017 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/cache/ftcbasic.c
c95b7652d8db19530c91e80d23c288bbf27f1b72 17-Sep-2016 Werner Lemberg <wl@gnu.org> s/0/NULL/ for function pointers; comments, formatting.
/external/freetype/src/cache/ftcbasic.c
9adeab6452a220270c311f756d55acd734fd52ea 13-Jan-2016 Werner Lemberg <wl@gnu.org> Update copyright year.
/external/freetype/src/cache/ftcbasic.c
24e4e96aff8885c2b5666c2f5fe6d1f112275d4e 25-Feb-2015 Werner Lemberg <wl@gnu.org> [cache] Signedness fixes.

* src/cache/ftcbasic.c, src/cache/ftccmap.c, src/cache/ftcimage.c,
src/cache/ftcmanag.c, src/cache/ftcsbits.c: Apply.
/external/freetype/src/cache/ftcbasic.c
3aaebe3a91e55021d99b06f95594c5ff9181968a 23-Feb-2015 Werner Lemberg <wl@gnu.org> [cache] Replace `FT_PtrDist' with `FT_Offset'.

* src/cache/ftccache.h (FTC_NodeRec): `FT_Offset' (a.k.a. `size_t')
is a better choice for `hash' to hold a pointer than `FT_PtrDist'
(a.k.a. `ptrdiff_t'), especially since the latter is signed,
causing zillions of signedness warnings. [Note that `hash' was of
type `FT_UInt32' before the change to `FT_PtrDist.]
Update all users.

* src/cache/ftcbasic.c, src/cache/ftccache.c, src/cache/ftccmap.c,
src/cache/ftcglyph.c, src/cache/ftcglyph.h: Updated.
/external/freetype/src/cache/ftcbasic.c
f57fc59e016217687362b6fbbc4842fab932175c 17-Jan-2015 Werner Lemberg <wl@gnu.org> Run `src/tools/update-copyright'.
/external/freetype/src/cache/ftcbasic.c
a593a04277bd5017b7620b55ebd70bf2013aaeee 26-Nov-2014 Werner Lemberg <wl@gnu.org> * src/cache/ftcbasic.c: Use single calls to `FT_TRACE'.
/external/freetype/src/cache/ftcbasic.c
87628724a9a5d4e1caf5574a2a32f0c205445770 18-Mar-2014 Sean McBride <sean@rogue-research.com> Fix clang warnings.

* src/autofit/aflatin.c (af_latin_metrics_init_blues): Initialize
some variables.

* src/base/ftcalc.c (FT_MulFix): Only use code if
`FT_MULFIX_INLINED' is not defined.

* src/bdf/bdfdrivr.c (bdf_cmap_class), src/cache/ftcbasic.c
(ftc_basic_image_family_class, ftc_basic_image_cache_class,
ftc_basic_sbit_family_class, ftc_basic_sbit_cache_class),
src/cache/ftccmap.c (ftc_cmap_cache_class), src/cache/ftcmanag.c
(ftc_size_list_class, ftc_face_list_class), src/pcf/pcfdrivr.c
(pcf_cmap_class), src/pfr/pfrdrivr.c (pfr_metrics_service_rec): Make
function static.

* src/type1/t1driver.c (t1_ps_get_font_value): Remove redundant
code.
/external/freetype/src/cache/ftcbasic.c
f6aa089f12ce3a7b7ee3d1b548969c2cb879b893 10-May-2013 Werner Lemberg <wl@gnu.org> */* [FT_CONFIG_OPTION_OLD_INTERNALS]: Remove macro and guarded code.
/external/freetype/src/cache/ftcbasic.c
059bc335ce42220b222763379e89d0cbf2b949eb 14-Mar-2013 Werner Lemberg <wl@gnu.org> */*: Use `FT_THROW'.

This is essentially a mechanical conversion, adding inclusion of
`FT_INTERNAL_DEBUG_H' where necessary, and providing the macros for
stand-alone compiling modes of the rasterizer modules.

To convert the remaining occurrences of FT_Err_XXX and friends it is
necessary to rewrite the code. Note, however, that it doesn't harm
if some cases are not handled since FT_THROW is a no-op.
/external/freetype/src/cache/ftcbasic.c
1749d8bc6af8108df5a6555a894ed474138f2552 16-Jan-2012 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> Remove trailing spaces.
/external/freetype/src/cache/ftcbasic.c
c52f44d4fdb6ea11cb1ab316f1924a5dd1bf7444 30-Nov-2011 Werner Lemberg <wl@gnu.org> Whitespace.
/external/freetype/src/cache/ftcbasic.c
3757b1e1c1ff64ccdaf8793c901359a033cea0ad 13-Jan-2011 Werner Lemberg <wl@gnu.org> Cleanup/formatting.
/external/freetype/src/cache/ftcbasic.c
38b272ffbbdaae276d636aec4ef84af407d16181 09-Jan-2011 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [cache] Notice if a cache query induced the node list change.

Some node comparators (comparing the cache node content and
the properties specified by the query) can flush the cache
node to prevent the cache inflation. The change may
invalidate the pointers to the node obtained before the node
comparison, so the change should be noticed to the caller.
The problem caused by the cache node changing is reported by
Harsha, see Savannah bug #31923.

* src/cache/ftccache.h (FTC_Node_CompareFunc): Add new
argument `FT_Bool* list_changed' to indicate the change of
the cached nodes to the caller.
(FTC_CACHE_LOOKUP_CMP): Watch the change of the cached nodes
by `_list_changed'.
(FTC_CACHE_TRYLOOP_END): Take new macro argument `_list_changed'
and update it when FTC_Manager_FlushN() flushes any nodes.

* src/cache/ftccback.h (ftc_snode_compare): Updated to fit
with new FTC_Node_CompareFunc type. (ftc_gnode_compare): Ditto.

* src/cache/ftcbasic.c: Include FT_INTERNAL_OBJECTS_H to
use TRUE/FALSE macros. (ftc_basic_gnode_compare_faceid):
New argument `FT_Bool* list_changed' to indicate the change
of the cache nodes, anyway, it is always FALSE.

* src/cache/ftccmap.c: Include FT_INTERNAL_OBJECTS_H to
use TRUE/FALSE macros. (ftc_cmap_node_compare):
New argument `FT_Bool* list_changed' to indicate the change
of the cache nodes, anyway, it is always FALSE.
(ftc_cmap_node_remove_faceid): Ditto.

* src/cache/ftccache.c (FTC_Cache_NewNode): Pass a NULL
pointer to FTC_CACHE_TRYLOOP_END(), because the result is
not needed. (FTC_Cache_Lookup): Watch the change of the cache
nodes by `list_changed'. (FTC_Cache_RemoveFaceID): Ditto.

* src/cache/ftcglyph.c: Include FT_INTERNAL_OBJECTS_H to
use TRUE/FALSE macros. (ftc_gnode_compare): New argument
`FT_Bool* list_changed' to indicate the change of the cache
nodes, anyway, it is always FALSE. (FTC_GNode_Compare):
New argument `FT_Bool* list_changed' to be passed to
ftc_gnode_compare().
* src/cache/ftcglyph.h (FTC_GNode_Compare): Ditto.

* src/cache/ftcsbits.c (ftc_snode_compare): New argument
`FT_Bool* list_changed' to indicate the change of the cache
nodes, anyway. It is updated by FTC_CACHE_TRYLOOP().
(FTC_SNode_Compare): New argument `FT_Bool* list_changed'
to be passed to ftc_snode_compare().
* src/cache/ftcsbits.h (FTC_SNode_Compare): Ditto.
/external/freetype/src/cache/ftcbasic.c
3512a71269d8916bf93c324d6058ab3a535dbb08 24-Oct-2010 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [cache] Change the hash types to FT_PtrDist.

On LLP64 platforms (e.g. Win64), FT_ULong (32-bit)
variables are inappropriate to calculate hash values
from the memory address (64-bit). The hash variables
are extended from FT_ULong to FT_PtrDist and new
hashing macro functions are introduced. The hash
values on 16-bit memory platforms are changed, but
ILP32 and LP64 are not changed. The hash value in
the cache subsystem is not reverted to the memory
address, so using signed type FT_PtrDist is safe.

* src/cache/ftccache.h (_FTC_FACE_ID_HASH): New hash
function to replace FTC_FACE_ID_HASH() for portability.
* src/cache/ftcmanag.h (FTC_SCALER_HASH): Replace
FTC_FACE_ID_HASH() by _FTC_FACE_ID_HASH().
* src/cache/ftccmap.c (FTC_CMAP_HASH): Ditto.

* src/cache/ftccache.h (FTC_NodeRec): The type of the
member `hash' is changed from FT_UInt32 to FT_PtrDist.

* src/cache/ftccache.h (FTC_Cache_Lookup): The type of the
argument `hash' is changed from FT_UInt32 to FT_PtrDist.
(FTC_Cache_NewNode): Ditto.
* src/cache/ftccache.c (ftc_cache_add): Ditto.
(FTC_Cache_Lookup): Ditto. (FTC_Cache_NewNode): Ditto.
* src/cache/ftcglyph.h (FTC_GCache_Lookup): Ditto.
* src/cache/ftcglyph.c (FTC_GCache_Lookup): Ditto.

* src/cache/ftcbasic.c (FTC_ImageCache_Lookup): The type
of the internal variable `hash' is changed to FT_PtrDist
from FT_UInt32. (FTC_ImageCache_LookupScaler): Ditto.
(FTC_SBitCache_Lookup): Ditto.
(FTC_SBitCache_LookupScaler): Ditto.
* src/cache/ftccmap.c (FTC_CMapCache_Lookup): Ditto.
* src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): Ditto.
Also the type of the internal variable `_idx' is changed to
FT_PtrDist from FT_UInt32 for better pointer calculation.
/external/freetype/src/cache/ftcbasic.c
f765e4403cae51d2b0f5e603eb3993c05fcb4fda 24-Jun-2010 Werner Lemberg <wl@gnu.org> */*: Use module specific error names where appropriate.
/external/freetype/src/cache/ftcbasic.c
6167357e8f494a17ed160148247e48f62c44ecf8 28-Sep-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [cache] Fold too long lines.
/external/freetype/src/cache/ftcbasic.c
82633a2440d48ed22a1f70062d8926c37f9dcf31 27-Sep-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [cache] Fix Savannah bug #27441, cleanup Redhat bugzilla #513582.
/external/freetype/src/cache/ftcbasic.c
f2647ddabb458c89e13937800b3fc95e71bd1482 25-Sep-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [cache, psaux, type1] Fix for multi build.
/external/freetype/src/cache/ftcbasic.c
4e0c9ee155caa181072d90573bd3e4b2693f32ce 24-Sep-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> [cache] Check the face filled by FTC_Manager_LookupFace().
/external/freetype/src/cache/ftcbasic.c
5d3ff05615dda6d1325ed612381a17a0df04c975 31-Jul-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> cache: Check higher bits in flags for non ILP32 systems.
/external/freetype/src/cache/ftcbasic.c
f7c6b11691261590933408c343283faa540be223 31-Jul-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> cache: Insert explict casts for LP64 systems.
/external/freetype/src/cache/ftcbasic.c
f4e1c8bddae00aab33b24e3e4ea7fbce383286ee 31-Jul-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> cache: Disable the legacy compatibility if 16-bit system.
/external/freetype/src/cache/ftcbasic.c
2a5831ec07855a5a45be814d9058b08ce3e2df9d 31-Jul-2009 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> cache: Check 32-bit glyph index on 16-bit systems.
/external/freetype/src/cache/ftcbasic.c
86e041b5a8de508bbfa2d2b3452a5b1dcaa46952 21-Mar-2009 Werner Lemberg <wl@gnu.org> Remove redundant header inclusions.

This covers many Ghostscript Coverity issues.

* src/*: Do it.
/external/freetype/src/cache/ftcbasic.c
56ceaa4853c408abae3e94b8a7bd670ef287e06c 14-May-2007 Werner Lemberg <wl@gnu.org> Formatting.
/external/freetype/src/cache/ftcbasic.c
711cf8474935cbe85d02428445e9fbee13fa44f6 11-May-2007 David Turner <david@freetype.org> implement FTC_ImageCache_LookupScaler and FTC_SBitCache_LookupScaler,
which allow us to specify the font size with a FTC_Scaler structure,
hence enabling fractional point sizes, etc...
/external/freetype/src/cache/ftcbasic.c
256de4b18f556b963597f171a217c0c1ed045993 20-Mar-2006 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:
removing these header files from the public include directory.

* include/freetype/config/ftheader.h:
changing the definition of FT_CACHE_INTERNAL_XXX_H macros to
redirect to FT_CACHE_H instead

* src/cache/ftcbasic.c, src/cache/ftccache.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.c,
src/cache/ftcmru.h, src/cache/ftcsbits.c, src/cache/ftcsbits.h:
modifications to prevent using the FT_CACHE_INTERNAL_XXX_H macros,
and grab the headers in 'src/cache' instead (see below).
/external/freetype/src/cache/ftcbasic.c
de271ab8f027cb35806b3f566cde91722499752e 25-Feb-2006 David Turner <david@freetype.org> * builds/unix/ftsystem.c, include/freetype/config/ftheader.h,
include/freetype/internal/services/svotval.h,
include/freetype/internal/services/svpfr.h,
src/base/ftsystem.c, src/bdf/bdfdrivr.c, src/cache/ftcbasic.c,
src/cff/cffcmap.c, src/gzip/ftgzip.c, src/lzw/ftlzw.c,
src/lzw/ftlzw2.c, src/psaux/t1cmap.c, src/sfnt/ttbdf.c,
src/smooth/ftgrays.c:

solved -Wmissing-prototypes warnings with GCC
/external/freetype/src/cache/ftcbasic.c
d7e6b767396932f0eb0bd9142deec7e0109ecaa5 25-Feb-2006 Werner Lemberg <wl@gnu.org> Formatting, copyright years, minor cleanups.
/external/freetype/src/cache/ftcbasic.c
ca7d76f789a01057c90fd185abf7dff8809e8032 24-Feb-2006 David Turner <david@freetype.org> * src/cache/ftcbasic.c: correcting compatibility hack bug
/external/freetype/src/cache/ftcbasic.c
f145e312dffc41a190beed96d681661d9c9d2d2a 19-Feb-2006 Werner Lemberg <wl@gnu.org> Formatting, copyright years, minor doc fixes.
/external/freetype/src/cache/ftcbasic.c
0880ac333a2bde53d6bd090b97bafadc7435ad58 17-Feb-2006 David Turner <david@freetype.org> * builds/unix/unix-cc.in: don't filter-out exported functions
anymore, this is used to ensure that all FT_BASE internal
functions are available for dynamic linking

* include/freetype/ftcache.h, src/cache/ftcbasic.c,
src/cache/ftccmap.c: try to revive old functions of the
cache sub-system. We also try to support FTC_ImageCache_Lookup
and FTC_ImageCache_SBit with legacy signatures through a gross
hack (hope it works)
/external/freetype/src/cache/ftcbasic.c
22ad9ef0248f4f45e32e2d7c489a73cbec588460 10-May-2005 Werner Lemberg <wl@gnu.org> Handle unsorted SFNT type 4 cmaps correctly (reported by Dirck
Blaskey).

* src/sfnt/ttcmap.h (TT_CMap): Add member `unsorted'.
* src/sfnt/ttcmac.c: Use SFNT_Err_Ok where appropriate.

(tt_cmap0_validate, tt_cmap2_validate, tt_cmap6_validate,
tt_cmap8_validate, tt_cmap10_validate, tt_cmap12_validate): Use
`FT_Error' as return type.
(tt_cmap4_validate): Use `FT_Error' as return type.
Return error code for unsorted cmap.
(tt_cmap4_char_index, tt_cmap4_char_next): Use old code for unsorted
cmaps.
(tt_face_build_cmaps): Set `unsorted' variable in cmap.


Minor formatting.
/external/freetype/src/cache/ftcbasic.c
750fa961c63e35913583c0d78e9bfa5bb3dfda59 01-May-2005 David Turner <david@freetype.org> * Jamfile: removing otvalid from the list of compiled modules
* include/freetype/internal/ftserv.h: added compiler pragmas to get rid
of annoying warnings with Visual C++ compiler in maximum warning mode

* src/autofit/afhints.c, src/autofit/aflatin.c, src/base/ftstroke.c,
src/bdf/bdfdrivr.c, src/cache/ftcbasic.c, src/cache/ftccmap.c,
src/cache/ftcmanag.c, src/cff/cffload.c, src/cid/cidload.c,
src/lzw/zopen.c, src/otvalid/otvgdef.c, src/pcf/pcfread.c,
src/sfnt/sfobjs.c, src/truetype/ttgxvar.c: removing compiler warnings
/external/freetype/src/cache/ftcbasic.c
b83239b7fdd6c3a086dd9ee09a73b9b03161fa80 09-Jun-2004 David Turner <david@freetype.org> * include/freetype/cache/ftcmru.h, src/cache/ftcbasic.c,
src/cache/ftccache.c, src/cache/ftcglyph.c, src/cache/ftcmanag.c,
src/cache/ftcsbits.c:
fixing some annoying bugs and inefficiencies in the cache sub-system.
/external/freetype/src/cache/ftcbasic.c
e260d2538de295949e9975fa7f35d0ee7b19b9f9 17-May-2004 Werner Lemberg <wl@gnu.org> * src/cache/ftcbasic.c (ftc_basic_family_compare,
ftc_basic_family_init, ftc_basic_family_get_count,
ftc_basic_family_load_bitmap, ftc_basic_family_load_glyph,
ftc_basic_gnode_compare_faceid): Adjust parameters and return types
to prototypes given in header files from include/freetype/cache.
Use casts to proper types locally.
(ftc_basic_image_family_class, ftc_basic_image_cache_class,
ftc_basic_sbit_family_class, ftc_basic_sbit_cache_class): Remove
casts.

* src/cache/ftccback.h: Adjust parameters and return types to
prototypes given in header files from include/freetype/cache.

* src/cache/ftcimage.c (ftc_inode_free, ftc_inode_new,
ftc_inode_weight): Adjust parameters and return types to prototypes
given in header files from include/freetype/cache. Use casts to
proper types locally.

* src/cache/ftcsbits.c (ftc_snode_free, ftc_snode_new,
ftc_snode_weight, ftc_snode_compare): Adjust parameters and return
types to prototypes given in header files from
include/freetype/cache. Use casts to proper types locally.

* src/cache/ftccmap.c (ftc_cmap_node_free, ftc_cmap_node_new,
ftc_cmap_node_weight, ftc_cmap_node_compare,
ftc_cmap_node_remove_faceid): Adjust parameters and return types to
prototypes given in header files from include/freetype/cache. Use
casts to proper types locally.
(ftc_cmap_cache_class): Remove casts.

* src/cache/ftcglyph.c (ftc_gnode_compare, ftc_gcache_init,
ftc_gcache_done): Adjust parameters and return types to prototypes
given in header files from include/freetype/cache. Use casts to
proper types locally.

* src/cache/ftcmanag.c (ftc_size_node_done, ftc_size_node_compare,
ftc_size_node_init, ftc_size_node_reset,
ftc_size_node_compare_faceid, ftc_face_node_init,
ftc_face_node_done, ftc_face_node_compare: Adjust parameters and
return types to prototypes given in header files from
include/freetype/cache. Use casts to proper types locally.

(ftc_size_list_class, ftc_face_list_class): Remove casts.


* src/autohint/ahmodule.c (ft_autohinter_init, ft_autohinter_done):
Use FT_Module as parameter and do a cast to FT_AutoHinter locally.
(autohint_module_class): Remove casts.

* src/base/ftglyph.c (ft_bitmap_glyph_init, ft_bitmap_glyph_copy,
ft_bitmap_glyph_done, ft_bitmap_glyph_bbox, ft_outline_glyph_init,
ft_outline_glyph_done, ft_outline_glyph_copy,
ft_outline_glyph_transform, ft_outline_glyph_bbox,
ft_outline_glyph_prepare): Use FT_Glyph as parameter and do a cast
to FT_XXXGlyph locally.
Use FT_CALLBACK_DEF throughout.
(ft_bitmap_glyph_class, ft_outline_glyph_class): Remove casts.

* src/bdf/bdfdrivr.c (bdf_cmap_init, bdf_cmap_done,
bdf_cmap_char_index, bdf_cmap_char_next): Use FT_CMap as parameter
and do a cast to BDF_CMap locally.
(bdf_cmap_class): Remove casts.
/external/freetype/src/cache/ftcbasic.c
e95365b291d13000e84b8e81671bea7e762ea557 24-Apr-2004 Werner Lemberg <wl@gnu.org> * include/freetype/ftcache.h (FT_Get_CharMap_Index): Rename
declaration and move to...
* include/freetype/freetype.h (FT_Get_Charmap_Index): Here.
(FREETYPE_PATCH): Set to 9.

* src/base/ftobjs.c (FT_Get_Charmap_Index): New function.

* builds/unix/configure.ac (version_info): Set to 9:7:3.
* builds/unix/configure: Updated.

* builds/win32/visualc/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj: s/218/219/.

* builds/freetype.mk (refdoc), README, Jamfile (RefDoc):
s/2.1.8/2.1.9/.

* docs/CHANGES, docs/VERSION.DLL: Updated.
/external/freetype/src/cache/ftcbasic.c
09370c8ce085aeeb1fa47042586b08f946601037 17-Feb-2004 Werner Lemberg <wl@gnu.org> Fix callback functions in cache module.

* src/cache/ftccback.h: New file for callback declarations.

* src/cache/ftcbasic.c (ftc_basic_family_compare,
ftc_basic_family_init, ftc_basic_family_get_count,
ftc_basic_family_load_bitmap, ftc_basic_family_load_glyph,
ftc_basic_gnode_compare_faceid): Use FT_CALLBACK_DEF.
(ftc_basic_image_family_class, ftc_basic_image_cache_class,
ftc_basic_sbit_family_class, ftc_basic_sbit_cache_class):
Use FT_CALLBACK_TABLE_DEF and local wrapper functions.

* src/cache/ftccache.c: Include ftccback.h.
(ftc_cache_init, ftc_cache_done): New wrapper functions which use
FT_LOCAL_DEF.

* src/cache/ftccmap.c: Include ftccback.h.
(ftc_cmap_cache_class): Use local wrapper functions.

* src/cache/ftcglyph.c: Include ftccback.h.
(ftc_gnode_compare, ftc_gcache_init, ftc_gcache_done): New wrapper
functions which use FT_LOCAL_DEF.

* src/cache/ftcimage.c: Include ftccback.h.
(ftc_inode_free, ftc_inode_new, ftc_inode_weight): New wrapper
functions which use FT_LOCAL_DEF.

* src/cache/ftcmanag.c (ftc_size_list_class, ftc_face_list_class):
Use FT_CALLBACK_TABLE_DEF.

* src/cache;/ftcsbits.c: Include ftccback.h.
(ftc_snode_free, ftc_snode_new, ftc_snode_weight,
ftc_snode_compare): New wrapper functions which use FT_LOCAL_DEF.

* src/cache/rules.mk (CACHE_DRV_H): Add ftccback.h.
/external/freetype/src/cache/ftcbasic.c
6b3d00e1a0bc5033aeeab51912eda0aff6ed6e8b 03-Feb-2004 Werner Lemberg <wl@gnu.org> * src/type1/t1load.c (parse_dict): Handle `RD' and `-|' commands
outside of /Subrs or /CharStrings. This can happen if there is
additional code manipulating those two arrays so that FreeType
doesn't recognize them properly.
(T1_Open_Face): Improve an error message.

Remove CR/LF on many files.
/external/freetype/src/cache/ftcbasic.c
f546bacdcfcadd13c3b93332635530e58fc62ce3 01-Feb-2004 David Turner <david@freetype.org> * src/sfnt/Jamfile: removing "ttcmap" from the list of sources

* src/cache/*, include/freetype/cache/*: fixing a bug after heavy
testing. The current sources are now "release candidates" for the
final version of the cache sub-system

* Jamfile: updating "refdoc" target, and adding "autohint" to the
list of modules to build. Both the autohinter and autofitter will be
built by default. But which one will be used is determined by
the content of "ftmodule.h"

* src/autofit/*: much updates, but the code is still buggy as hell.
Aargh..
/external/freetype/src/cache/ftcbasic.c
80cfbd7073992c8e914c11378364261c3f9d1ddd 26-Dec-2003 Werner Lemberg <wl@gnu.org> * src/base/fttrigon.c, src/base/ftgloadr.c: Inlude
FT_INTERNAL_OBJECTS_H.

* src/base/ftstroke.c (FT_Outline_GetInsideBorder,
FT_Outline_GetOutsideBorder): s/or/o/ to make it compile with
C++ compilers.

* src/cache/ftcmru.c, include/freetype/cache/ftcmru.h:
s/select/selection/ to avoid compiler warning.
* src/cff/cffload.h: s/select/ftselect/ to avoid potential
compiler warning.

Formatting.
/external/freetype/src/cache/ftcbasic.c
328abf30946ad7c113db8e6bda4fdb4003ae6dda 24-Dec-2003 Werner Lemberg <wl@gnu.org> * src/cff/cffgload.c (cff_lookup_glyph_by_stdcharcode): Handle
CID-keyed fonts.

Remove MS-DOS line endings.

Minor formatting issues.
/external/freetype/src/cache/ftcbasic.c
023612221e75e7240316d67a01d80cad069023f6 24-Dec-2003 David Turner <david@freetype.org> * include/freetype/cache/ftccache.h,
include/freetype/cache/ftcmru.h,
include/freetype/cache/ftcglyph.h,
src/cache/ftcbasic.c,
src/cache/ftccache.c,
src/cache/ftccmap.c,
src/cache/ftcmanag.c:

additional speed optimization to the cache sub-system. It is
now up to 70% faster than the one in the previous table
release (i.e. 2.1.7). Note that the API did slightly change
though.
/external/freetype/src/cache/ftcbasic.c
581ec91c2719f1a6594cfb1a3e46f94bf5feab03 22-Dec-2003 David Turner <david@freetype.org> * include/freetype/ftcache.h,
include/freetype/cache/ftcmanag.h,
include/freetype/cache/ftccache.h,
include/freetype/cache/ftcmanag.h,
include/freetype/cache/ftcmru.h (added),
include/freetype/cache/ftlru.h (removed),
include/freetype/cache/ftcsbits.h,
include/freetype/cache/ftcimage.h,
include/freetype/cache/ftcglyph.h,
src/cache/ftcmru.c,
src/cache/ftcmanag.c,
src/cache/ftccache.c,
src/cache/ftcglyph.c,
src/cache/ftcimage.c,
src/cache/ftcsbits.c,
src/cache/ftccmap.c,
src/cache/ftcbasic.c (added),
src/cache/ftclru.c (removed):

*Complete* rewrite of the cache sub-system to "solve" the
following points:

- all public APIs have been moved to FT_CACHE_H, everything
under "include/freetype/cache" is only needed by client
applications that want to implement their own caches

- a new function named FTC_Manager_RemoveFaceID to deal
with the uninstallation of FaceIDs

- the image and sbit cache are now abstract classes, that
can be extended much more easily by client applications

- better performance in certain areas. Further optimizations
to come shortly anyway...

- the FTC_CMapCache_Lookup function has changed its signature,
charmaps can now only be retrieved by index

- FTC_Manager_Lookup_Face => FTC_Manager_LookupFace
FTC_Manager_Lookup_Size => FTC_Manager_LookupSize (still in
private header for the moment)
/external/freetype/src/cache/ftcbasic.c
89f331b7130c22fd93bb1b15381eae9c6da2a8a5 21-Dec-2003 David Turner <david@freetype.org> important bug fixes for new cache code
/external/freetype/src/cache/ftcbasic.c
57ecae22a7b837d486bb03eda944736780ce0868 19-Dec-2003 David Turner <david@freetype.org> new version of the cache sub-system - still under debugging
/external/freetype/src/cache/ftcbasic.c