From: kramm Date: Mon, 21 Jun 2004 12:46:14 +0000 (+0000) Subject: added more error messages in case of font problems. X-Git-Tag: release-0-6-0~93 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=9f87d4fc88247a11fa58cfbdaaaf52d3fdfb10e4 added more error messages in case of font problems. --- diff --git a/pdf2swf/SWFOutputDev.cc b/pdf2swf/SWFOutputDev.cc index 6f7d910..e2ced41 100644 --- a/pdf2swf/SWFOutputDev.cc +++ b/pdf2swf/SWFOutputDev.cc @@ -1314,6 +1314,7 @@ void SWFOutputDev::updateFont(GfxState *state) font directories */ int newt1id = searchT1Font(fontname); if(newt1id<0) { + msg(" Couldn't find any suitable replacement for %s",fontname); showFontError(gfxFont,0); fontname = substituteFont(gfxFont, fontname); } else @@ -1335,7 +1336,8 @@ void SWFOutputDev::updateFont(GfxState *state) } if(t1id<0) { - showFontError(gfxFont,0); + msg(" Current font's t1id is %d", t1id); + //showFontError(gfxFont,0); return; }