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

first line in the font.
This commit is contained in:
Werner Lemberg 2005-04-03 20:44:43 +00:00
parent 3a1a1eeaa7
commit 069ea05829
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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 )