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

fonts.
This commit is contained in:
Werner Lemberg 2007-01-07 00:06:47 +00:00
parent be5f797f5b
commit e6b6f3733e
2 changed files with 11 additions and 1 deletions

View File

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

View File

@ -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;
}