From 6544ad13113643977bc2ea9c52919547b4f19060 Mon Sep 17 00:00:00 2001 From: kramm Date: Mon, 16 Jan 2006 17:02:28 +0000 Subject: [PATCH] fixed unicode bug --- pdf2swf/SWFOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pdf2swf/SWFOutputDev.cc b/pdf2swf/SWFOutputDev.cc index b447a7e..b0bc202 100644 --- a/pdf2swf/SWFOutputDev.cc +++ b/pdf2swf/SWFOutputDev.cc @@ -1226,6 +1226,9 @@ void SWFOutputDev::drawChar(GfxState *state, double x, double y, Unicode u=0; char*name=0; + if(uLen) + u = _u[0]; + if(font->isCIDFont()) { GfxCIDFont*cfont = (GfxCIDFont*)font; -- 1.7.10.4