summaryrefslogtreecommitdiff
path: root/src/cache
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2006-02-27 13:14:42 +0000
committerDavid Turner <david@freetype.org>2006-02-27 13:14:42 +0000
commitc13e75fb1b7f778b58bc2bc185e10a03f3cff001 (patch)
tree8952eafc9a90701c6f5ab1822b5d11d67a8ebc4f /src/cache
parentcffa8b65be09886d56ab61f35187983f11a40ca0 (diff)
downloadfreetype2-c13e75fb1b7f778b58bc2bc185e10a03f3cff001.tar.gz
* src/base/ftutil.c: ft_mem_alloc and related functions now return an
error if a negative size is passed in parameters. * src/cache/ftccache.c: make ftc_node_destroy FT_BASE_DEF, it needs to be exported for rogue clients * src/pshinter/pshglob.c: prevent problems with malformed fonts which have an odd number of blue values (these are broken according to the specs). * src/cff/cffload.c, src/type1/t1load.c: modify the loaders to force even-ness of 'num_blue_values'. Also change the CFF loader so that invalid entries in index files are ignored.
Diffstat (limited to 'src/cache')
-rw-r--r--src/cache/ftccache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cache/ftccache.c b/src/cache/ftccache.c
index 22ec06cb8..fd756fad1 100644
--- a/src/cache/ftccache.c
+++ b/src/cache/ftccache.c
@@ -256,7 +256,8 @@
/* remove a node from the cache manager */
- FT_LOCAL_DEF( void )
+ /* this function is FT_BASE since it may be called by old rogue clients */
+ FT_BASE_DEF( void )
ftc_node_destroy( FTC_Node node,
FTC_Manager manager )
{