X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2FSWFOutputDev.cc;h=50a7016c04095091aabfd9745a078129431f26ed;hb=8666dc0e58714f80f49e86be22b1522785a33608;hp=d0c700250a4191ed494e1f70e6eeeea6d6ad0a07;hpb=1533f2bc0a2215261dcbfac8fe24074394ad9337;p=swftools.git diff --git a/pdf2swf/SWFOutputDev.cc b/pdf2swf/SWFOutputDev.cc index d0c7002..50a7016 100644 --- a/pdf2swf/SWFOutputDev.cc +++ b/pdf2swf/SWFOutputDev.cc @@ -1175,9 +1175,12 @@ void SWFOutputDev::updateFont(GfxState *state) } // look for Type 3 font - if (!type3Warning && gfxFont->getType() == fontType3) { - type3Warning = gTrue; - showFontError(gfxFont, 2); + if (gfxFont->getType() == fontType3) { + if(!type3Warning) { + type3Warning = gTrue; + showFontError(gfxFont, 2); + } + return; } /* now either load the font, or find a substitution */