From: kramm Date: Fri, 15 Oct 2004 09:46:12 +0000 (+0000) Subject: don't assign unicode character if uLen is 0 in drawChar(). X-Git-Tag: release-0-6-3~312 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;ds=sidebyside;h=f50c53d50673bf116783f1e3cc6679f78ba94229;p=swftools.git don't assign unicode character if uLen is 0 in drawChar(). --- 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) {