From f50c53d50673bf116783f1e3cc6679f78ba94229 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 15 Oct 2004 09:46:12 +0000 Subject: [PATCH 1/1] don't assign unicode character if uLen is 0 in drawChar(). --- pdf2swf/SWFOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 1.7.10.4