From: kramm Date: Sat, 7 Aug 2004 14:04:43 +0000 (+0000) Subject: added more helpful log messages. X-Git-Tag: release-0-6-0~41 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=a915e34e8320720dc7ea93b39444c918e7eaa36b added more helpful log messages. --- diff --git a/pdf2swf/SWFOutputDev.cc b/pdf2swf/SWFOutputDev.cc index 23f1258..8d564a7 100644 --- a/pdf2swf/SWFOutputDev.cc +++ b/pdf2swf/SWFOutputDev.cc @@ -1173,8 +1173,11 @@ void SWFOutputDev::updateFont(GfxState *state) fileName = searchFont(fontname); if(!fileName) showFontError(gfxFont,0); } - if(!fileName) + if(!fileName) { + msg(" Font %s could not be loaded.", fontname); + msg(" Try putting a TTF version of that font (named \"%s.ttf\") into /swftools/fonts", fontname); fileName = substituteFont(gfxFont, fontname); + } if(!fileName) { msg(" Couldn't set font %s\n", fontname);