From 9f87d4fc88247a11fa58cfbdaaaf52d3fdfb10e4 Mon Sep 17 00:00:00 2001 From: kramm Date: Mon, 21 Jun 2004 12:46:14 +0000 Subject: [PATCH] added more error messages in case of font problems. --- pdf2swf/SWFOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 1.7.10.4