git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added __cplusplus extern "C" stuff.
[swftools.git]
/
pdf2swf
/
SWFOutputDev.cc
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;
state->transform(x, y, &x1, &y1);
Unicode u=0;
- if(_u)
+ if(_u && uLen)
u = *_u;
u = *_u;
-
+
/* find out the character name */
char*name=0;
if(font->isCIDFont() && u) {
/* find out the character name */
char*name=0;
if(font->isCIDFont() && u) {