shithub: freetype+ttf2subf

Download patch

ref: ef87970dfbbbd062ecc000c201a5b34233b59b7f
parent: a00b6e690fb7be1436ac89c7ad74325c34916467
author: David Turner <[email protected]>
date: Thu Jan 13 13:19:10 EST 2000

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

git/fs: mount .git/fs: mount/attach disallowed
--- 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;