ref: 63abb4bc63b06e537d0827cda7912259798083f2
parent: 89f331b7130c22fd93bb1b15381eae9c6da2a8a5
author: Werner Lemberg <[email protected]>
date: Mon Dec 22 06:35:36 EST 2003
* src/type1/t1load.c (parse_dict): Stop parsing if `eexec' keyword is encountered.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-21 Werner Lemberg <[email protected]>
+
+ * src/type1/t1load.c (parse_dict): Stop parsing if `eexec' keyword
+ is encountered.
+
2003-12-19 Werner Lemberg <[email protected]>
* src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 32. For
--- 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 )