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
(from parent 1:
71b5137
)
fixed segv bug in drawChar()
author
kramm
<kramm>
Sat, 10 Sep 2005 12:30:55 +0000
(12:30 +0000)
committer
kramm
<kramm>
Sat, 10 Sep 2005 12:30:55 +0000
(12:30 +0000)
pdf2swf/SWFOutputDev.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/SWFOutputDev.cc
b/pdf2swf/SWFOutputDev.cc
index
ca34137
..
98a6db2
100644
(file)
--- a/
pdf2swf/SWFOutputDev.cc
+++ b/
pdf2swf/SWFOutputDev.cc
@@
-1257,7
+1257,7
@@
void SWFOutputDev::drawChar(GfxState *state, double x, double y,
}
}
- if(charid<0) {
+ if(charid<0 && name) {
if(strcasecmp(name, "space")) {
msg("<warning> Didn't find character '%s' (c=%d,u=%d) in current charset (%s, %d characters)",
FIXNULL(name),c, u, FIXNULL((char*)current_font_id), current_gfxfont->num_glyphs);