diff options
author | Werner Lemberg <wl@gnu.org> | 2011-11-26 20:09:39 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2011-11-26 20:09:39 +0100 |
commit | 70cf8c5e6d249523ed474e548b4c9e1d226c77df (patch) | |
tree | 86e2550eea5a16abcdea1467a18f862cee8e818b /src/type42 | |
parent | 3630bf7eb59d28172cd0472f43d7cad847fc9f46 (diff) | |
download | freetype2-70cf8c5e6d249523ed474e548b4c9e1d226c77df.tar.gz |
Improve tracing.
* src/bdf/bdfdrivr.c (BDF_Face_Done), src/pcf/pcfdrivr.c
(PCF_Face_Done): Remove tracing message.
* src/bdf/bdfdrivr.c (BDF_Face_Init), src/cff/cffobjs.c
(cff_face_init), src/cid/cidobjs.c (cid_face_init),
src/pfr/pfrobjs.c (pfr_face_init), src/sfnt/sfobjs.c
(sfnt_init_face), src/truetype/ttobjs.c (tt_face_init),
src/type1/t1objs.c (T1_Face_Init), src/type42/t42objs.c
(T42_Face_Init), src/winfonts/winfnt.c (FNT_Face_Init): Add
`greeting' message.
* src/sfnt/sfobjs.c (sfnt_open_font), src/type42/t42objs.c
(T42_Open_Face): Improve tracing.
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; } |