Commit 730b7b1f79c447f6812fe95c8b2f9ec684752d81

Werner Lemberg 2005-04-03T20:44:43

* src/type1/t1parse.c (T1_New_Parser): Relax the check for a valid first line in the font.

diff --git a/ChangeLog b/ChangeLog
index 910b9b4..60ff07b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-04-03  Werner Lemberg  <wl@gnu.org>
 
+	* src/type1/t1parse.c (T1_New_Parser): Relax the check for a valid
+	first line in the font.
+
+2005-04-03  Werner Lemberg  <wl@gnu.org>
+
 	* docs/CHANGES, include/freetype/freetype.h: Improve documentation
 	of FT_Set_Pixel_Sizes and FT_Set_Char_Size.
 
diff --git a/src/type1/t1parse.c b/src/type1/t1parse.c
index 222df9b..db1a613 100644
--- a/src/type1/t1parse.c
+++ b/src/type1/t1parse.c
@@ -151,7 +151,7 @@
     parser->single_block = 0;
 
     /* check the header format */
-    error = check_type1_format( stream, "%!PS-AdobeFont-1", 16 );
+    error = check_type1_format( stream, "%!PS-AdobeFont", 14 );
     if ( error )
     {
       if ( error != T1_Err_Unknown_File_Format )