summaryrefslogtreecommitdiff
path: root/src/pcf/pcfdrivr.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2011-11-26 20:09:39 +0100
committerWerner Lemberg <wl@gnu.org>2011-11-26 20:09:39 +0100
commit70cf8c5e6d249523ed474e548b4c9e1d226c77df (patch)
tree86e2550eea5a16abcdea1467a18f862cee8e818b /src/pcf/pcfdrivr.c
parent3630bf7eb59d28172cd0472f43d7cad847fc9f46 (diff)
downloadfreetype2-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/pcf/pcfdrivr.c')
-rw-r--r--src/pcf/pcfdrivr.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/pcf/pcfdrivr.c b/src/pcf/pcfdrivr.c
index af2a2d986..adda0877b 100644
--- a/src/pcf/pcfdrivr.c
+++ b/src/pcf/pcfdrivr.c
@@ -2,8 +2,7 @@
FreeType font driver for pcf files
- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009,
- 2010 by
+ Copyright (C) 2000-2004, 2006-2011 by
Francesco Zappa Nardelli
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -248,8 +247,6 @@ THE SOFTWARE.
FT_FREE( face->charset_encoding );
FT_FREE( face->charset_registry );
- FT_TRACE4(( "PCF_Face_Done: done face\n" ));
-
/* close compressed stream if any */
if ( pcfface->stream == &face->comp_stream )
{
@@ -274,6 +271,8 @@ THE SOFTWARE.
FT_UNUSED( face_index );
+ FT_TRACE2(( "PCF driver\n" ));
+
error = pcf_load_font( stream, face );
if ( error )
{
@@ -405,7 +404,7 @@ THE SOFTWARE.
return error;
Fail:
- FT_TRACE2(( "[not a valid PCF file]\n" ));
+ FT_TRACE2(( " not a PCF file\n" ));
PCF_Face_Done( pcfface );
error = PCF_Err_Unknown_File_Format; /* error */
goto Exit;