diff --git a/ChangeLog b/ChangeLog index 37373a2f3..36788989a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-21 Werner Lemberg + + * src/type1/t1load.c (parse_dict): Stop parsing if `eexec' keyword + is encountered. + 2003-12-19 Werner Lemberg * src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 32. For diff --git a/src/type1/t1load.c b/src/type1/t1load.c index 59cf2b934..6d0799eea 100644 --- a/src/type1/t1load.c +++ b/src/type1/t1load.c @@ -1527,6 +1527,11 @@ parser->root.cursor = cur2; } + /* look for `eexec' */ + else if ( *cur == 'e' && cur + 5 < limit && + ft_strncmp( (char*)cur, "eexec", 5 ) == 0 ) + break; + /* look for `closefile' which ends the eexec section */ else if ( *cur == 'c' && cur + 9 < limit && ft_strncmp( (char*)cur, "closefile", 9 ) == 0 )