X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2FSWFOutputDev.cc;h=a03807637422dacc887a05986466af0f840b71dc;hb=ada0be365c21b6c28ad878d93d5473dcb9c9a011;hp=08b3c7cfbd2689174868be114eaac5c00b1e0963;hpb=6118beaf86dcdf83277b0a9fc1a5f474043dd9da;p=swftools.git diff --git a/pdf2swf/SWFOutputDev.cc b/pdf2swf/SWFOutputDev.cc index 08b3c7c..a038076 100644 --- a/pdf2swf/SWFOutputDev.cc +++ b/pdf2swf/SWFOutputDev.cc @@ -693,9 +693,9 @@ void SWFOutputDev::drawChar(GfxState *state, double x, double y, state->transform(x, y, &x1, &y1); Unicode u=0; - if(_u) + if(_u && uLen) u = *_u; - + /* find out the character name */ char*name=0; if(font->isCIDFont() && u) {