From a915e34e8320720dc7ea93b39444c918e7eaa36b Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 7 Aug 2004 14:04:43 +0000 Subject: [PATCH] added more helpful log messages. --- pdf2swf/SWFOutputDev.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 1.7.10.4