Commit ef87970dfbbbd062ecc000c201a5b34233b59b7f

David Turner 2000-01-13T18:19:10

A few modifications to allow more broken fonts to be loaded by the driver.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/type1/t1load.c b/src/type1/t1load.c
index de5a347..e08c039 100644
--- a/src/type1/t1load.c
+++ b/src/type1/t1load.c
@@ -1373,8 +1373,14 @@
                   if (dict_state != dict_private)
                     parser->state_index--;
                
+                  /* many fonts use a NP instead of def or put, so */
+                  /* we simply ignore the nest token..             */
+#if 0
                   error = Expect_Keyword2( parser, key_def, key_put );
                   if (error) goto Exit;
+#else
+                  (void)Expect_Keyword2( parser, key_def, key_put );
+#endif
               }
               break;