* src/cid/cidparse.c (cid_parser_new): Reject Type 42 CID-keyed


			
			
				david-pic-changes
			
			
		
Werner Lemberg 18 years ago
parent be5f797f5b
commit e6b6f3733e
  1. 5
      ChangeLog
  2. 7
      src/cid/cidparse.c

@ -1,3 +1,8 @@
2007-01-07 Werner Lemberg <wl@gnu.org>
* src/cid/cidparse.c (cid_parser_new): Reject Type 42 CID-keyed
fonts.
2007-01-06 Werner Lemberg <wl@gnu.org>
* src/cff/cffload.c (cff_index_init): Remove unused variable.

@ -4,7 +4,7 @@
/* */
/* CID-keyed Type1 parser (body). */
/* */
/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006 by */
/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -183,6 +183,11 @@
goto Again;
Exit:
if ( !parser->postscript )
{
FT_TRACE2(( "[not a valid CID-keyed font]\n" ));
error = CID_Err_Unknown_File_Format;
}
return error;
}

Loading…
Cancel
Save