diff options
Diffstat (limited to 'src/type42')
-rw-r--r-- | src/type42/t42objs.c | 4 | ||||
-rw-r--r-- | src/type42/t42parse.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/type42/t42objs.c b/src/type42/t42objs.c index 7cf8801f8..f146c3459 100644 --- a/src/type42/t42objs.c +++ b/src/type42/t42objs.c @@ -61,6 +61,8 @@ if ( type1->font_type != 42 ) { + FT_ERROR(( "T42_Open_Face: cannot handle FontType %d\n", + type1->font_type )); error = T42_Err_Unknown_File_Format; goto Exit; } @@ -186,6 +188,8 @@ goto Exit; } + FT_TRACE2(( "Type 42 driver\n" )); + /* open the tokenizer, this will also check the font format */ error = T42_Open_Face( face ); if ( error ) diff --git a/src/type42/t42parse.c b/src/type42/t42parse.c index 577426917..976aa2273 100644 --- a/src/type42/t42parse.c +++ b/src/type42/t42parse.c @@ -4,7 +4,7 @@ /* */ /* Type 42 font parser (body). */ /* */ -/* Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by */ +/* Copyright 2002-2011 by */ /* Roberto Alameda. */ /* */ /* This file is part of the FreeType project, and may only be used, */ @@ -175,7 +175,7 @@ if ( ft_memcmp( stream->cursor, "%!PS-TrueTypeFont", 17 ) != 0 ) { - FT_TRACE2(( "not a Type42 font\n" )); + FT_TRACE2(( " not a Type42 font\n" )); error = T42_Err_Unknown_File_Format; } |