shithub: freetype+ttf2subf

Download patch

ref: 9fe5815c97a4e652805fb401b1c361562c95e4ed
parent: 5a829394f6029c534e8e5823d54ebb038adcf01e
author: Werner Lemberg <[email protected]>
date: Tue Jun 19 03:57:30 EDT 2007

* src/type1/t1load.c (parse_encoding): Handle one more error.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-19  Werner Lemberg  <[email protected]>
+
+	* src/type1/t1load.c (parse_encoding): Handle one more error.
+
 2007-06-19  Dmitry Timoshkov  <[email protected]>
 
 	* src/winfonts/winfnt.c (fnt_face_get_dll_font): Return error
--- a/src/type1/t1load.c
+++ b/src/type1/t1load.c
@@ -1267,7 +1267,11 @@
           }
         }
         else
+        {
           T1_Skip_PS_Token( parser );
+          if ( parser->root.error )
+            return;
+        }
 
         T1_Skip_Spaces( parser );
       }