From 7c32d87338b5d303ac3e2273c933759f467df4a3 Mon Sep 17 00:00:00 2001 From: kramm Date: Wed, 7 Dec 2005 19:41:05 +0000 Subject: [PATCH] small logging changes --- pdf2swf/SWFOutputDev.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pdf2swf/SWFOutputDev.cc b/pdf2swf/SWFOutputDev.cc index fd9cdc0..ca64cb6 100644 --- a/pdf2swf/SWFOutputDev.cc +++ b/pdf2swf/SWFOutputDev.cc @@ -1155,7 +1155,7 @@ int getGfxCharID(gfxfont_t*font, int charnr, char *charname, int u) int t; for(t=0;tnum_glyphs;t++) { if(font->glyphs[t].name && !strcmp(font->glyphs[t].name,uniname)) { - msg(" Char [%d,>%s<,%d] maps to %d\n", charnr, uniname, u, t); + msg(" Char [%d,%s,>%d(%s)<] maps to %d\n", charnr, charname, u, uniname, t); return t; } } @@ -1163,7 +1163,7 @@ int getGfxCharID(gfxfont_t*font, int charnr, char *charname, int u) we can find the capitalized version */ for(t=0;tnum_glyphs;t++) { if(font->glyphs[t].name && !strcasecmp(font->glyphs[t].name,uniname)) { - msg(" Char [%d,>>%s<<,%d] maps to %d\n", charnr, uniname, u, t); + msg(" Char [%d,%s,>>%d(%s)<<] maps to %d\n", charnr, charname, u, uniname, t); return t; } } @@ -2132,6 +2132,7 @@ void SWFOutputDev::updateFont(GfxState *state) if(fileName && del) unlinkfont(fileName); + if(fileName) free(fileName); free(fontid); -- 1.7.10.4