* include/freetype/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP):
Initialize `node'. * src/type1/t1load.c (parse_dict): Initialize `have_integer'.
This commit is contained in:
parent
6b3d00e1a0
commit
0a84eba8a6
|
@ -1,3 +1,9 @@
|
||||||
|
2003-02-03 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* include/freetype/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP):
|
||||||
|
Initialize `node'.
|
||||||
|
* src/type1/t1load.c (parse_dict): Initialize `have_integer'.
|
||||||
|
|
||||||
2003-02-02 Werner Lemberg <wl@gnu.org>
|
2003-02-02 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* src/type1/t1load.c (parse_dict): Handle `RD' and `-|' commands
|
* src/type1/t1load.c (parse_dict): Handle `RD' and `-|' commands
|
||||||
|
|
|
@ -209,6 +209,7 @@ FT_BEGIN_HEADER
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
error = 0; \
|
error = 0; \
|
||||||
|
node = NULL; \
|
||||||
_idx = _hash & _cache->mask; \
|
_idx = _hash & _cache->mask; \
|
||||||
if ( _idx < _cache->p ) \
|
if ( _idx < _cache->p ) \
|
||||||
_idx = _hash & ( _cache->mask*2 + 1 ); \
|
_idx = _hash & ( _cache->mask*2 + 1 ); \
|
||||||
|
|
|
@ -270,9 +270,7 @@ FT_BEGIN_HEADER
|
||||||
FTC_MRULIST_LOOKUP_CMP( &_gcache->families, _gquery, _fcompare, \
|
FTC_MRULIST_LOOKUP_CMP( &_gcache->families, _gquery, _fcompare, \
|
||||||
_gquery->family, error ); \
|
_gquery->family, error ); \
|
||||||
if ( !error ) \
|
if ( !error ) \
|
||||||
{ \
|
|
||||||
FTC_CACHE_LOOKUP_CMP( cache, nodecmp, hash, query, node, error ); \
|
FTC_CACHE_LOOKUP_CMP( cache, nodecmp, hash, query, node, error ); \
|
||||||
} \
|
|
||||||
FT_END_STMNT
|
FT_END_STMNT
|
||||||
/* */
|
/* */
|
||||||
|
|
||||||
|
@ -281,8 +279,8 @@ FT_BEGIN_HEADER
|
||||||
#define FTC_GCACHE_LOOKUP_CMP( cache, famcmp, nodecmp, hash, \
|
#define FTC_GCACHE_LOOKUP_CMP( cache, famcmp, nodecmp, hash, \
|
||||||
gindex, query, node, error ) \
|
gindex, query, node, error ) \
|
||||||
FT_BEGIN_STMNT \
|
FT_BEGIN_STMNT \
|
||||||
error = FTC_GCache_Lookup( FTC_GCACHE(cache), hash, gindex, FTC_GQUERY(query), \
|
error = FTC_GCache_Lookup( FTC_GCACHE( cache ), hash, gindex, \
|
||||||
(FTC_Node*) &(node) ); \
|
FTC_GQUERY( query ), (FTC_Node*)&(node) ); \
|
||||||
FT_END_STMNT
|
FT_END_STMNT
|
||||||
|
|
||||||
#endif /* !FTC_INLINE */
|
#endif /* !FTC_INLINE */
|
||||||
|
|
|
@ -1489,7 +1489,7 @@
|
||||||
{
|
{
|
||||||
T1_Parser parser = &loader->parser;
|
T1_Parser parser = &loader->parser;
|
||||||
FT_Byte *limit, *start_binary;
|
FT_Byte *limit, *start_binary;
|
||||||
FT_Bool have_integer;
|
FT_Bool have_integer = 0;
|
||||||
|
|
||||||
|
|
||||||
parser->root.cursor = base;
|
parser->root.cursor = base;
|
||||||
|
|
Loading…
Reference in New Issue