diff options
author | Werner Lemberg <wl@gnu.org> | 2013-08-26 12:55:48 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2013-08-26 12:55:48 +0200 |
commit | ffee64afb83f66b9cd599d61f1e49c8100010a9e (patch) | |
tree | 0640147c21c74e1dd548c0d8b61cd90f8ee3203d /src/pfr/pfrobjs.c | |
parent | 33655a96474888d9fd46da351944d89635207293 (diff) | |
download | freetype2-ffee64afb83f66b9cd599d61f1e49c8100010a9e.tar.gz |
Better tracing of loaded glyphs.
Previously, the loading of a glyph was traced at level 4, if at all.
With this change, all font loading routines emit a tracing message
at level 1, making it easier to select tracing output (for example
using F2_DEBUG="any:1 afhints:7 aflatin:7").
* src/bdf/bdfdrivr.c (BDF_Glyph_Load): Add tracing message.
* src/cff/cffdrivr.c (cff_glyph_load): Ditto.
* src/cff/cffgload.c (cff_decoder_prepare): Improve tracing
messages.
* src/cid/cidgload.c (cid_load_glyph): Use level 1 for tracing
message.
* src/pcf/pcfdrivr.c (PCF_Glyph_Load): Ditto.
* src/pfr/pfrobjs.c (pfr_slot_load): Add tracing message.
* src/truetype/ttgload.c (TT_Load_Glyph): Ditto.
* src/type1/t1gload.c (T1_Load_Glyph): Ditto.
* src/type42/t42objs.c (T42_GlyphSlot_Load): Ditto.
* src/winfonts/winfnt.c (FNT_Load_Glyph): Ditto.
Diffstat (limited to 'src/pfr/pfrobjs.c')
-rw-r--r-- | src/pfr/pfrobjs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pfr/pfrobjs.c b/src/pfr/pfrobjs.c index 75fc4c3f1..8d3cd2920 100644 --- a/src/pfr/pfrobjs.c +++ b/src/pfr/pfrobjs.c @@ -324,6 +324,8 @@ FT_ULong gps_offset; + FT_TRACE1(( "pfr_slot_load: glyph index %d\n", gindex )); + if ( gindex > 0 ) gindex--; |