git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6575ae
)
don't assign unicode character if uLen is 0 in drawChar().
author
kramm
<kramm>
Fri, 15 Oct 2004 09:46:12 +0000
(09:46 +0000)
committer
kramm
<kramm>
Fri, 15 Oct 2004 09:46:12 +0000
(09:46 +0000)
pdf2swf/SWFOutputDev.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/SWFOutputDev.cc
b/pdf2swf/SWFOutputDev.cc
index
08b3c7c
..
a038076
100644
(file)
--- 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) {