X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=pdf2swf%2FSWFOutputDev.cc;fp=pdf2swf%2FSWFOutputDev.cc;h=98a6db256fd472d65fa15ca1a36eaf85c9b57365;hp=ca3413750e28194e3acc8c9be32a4db567d01eee;hb=b9b2c8cf73300427c3becd50dca9d5579c6a5cfa;hpb=71b51374fae9f9125b172979a7dab7b44aca9769 diff --git a/pdf2swf/SWFOutputDev.cc b/pdf2swf/SWFOutputDev.cc index ca34137..98a6db2 100644 --- a/pdf2swf/SWFOutputDev.cc +++ b/pdf2swf/SWFOutputDev.cc @@ -1257,7 +1257,7 @@ void SWFOutputDev::drawChar(GfxState *state, double x, double y, } } - if(charid<0) { + if(charid<0 && name) { if(strcasecmp(name, "space")) { msg(" Didn't find character '%s' (c=%d,u=%d) in current charset (%s, %d characters)", FIXNULL(name),c, u, FIXNULL((char*)current_font_id), current_gfxfont->num_glyphs);