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:
c5d3084
)
fixed segfault
author
kramm
<kramm>
Sat, 15 Jul 2006 11:47:32 +0000
(11:47 +0000)
committer
kramm
<kramm>
Sat, 15 Jul 2006 11:47:32 +0000
(11:47 +0000)
lib/xpdf/GFXOutputDev.cc
patch
|
blob
|
history
diff --git
a/lib/xpdf/GFXOutputDev.cc
b/lib/xpdf/GFXOutputDev.cc
index
c412a8d
..
bc7987b
100644
(file)
--- a/
lib/xpdf/GFXOutputDev.cc
+++ b/
lib/xpdf/GFXOutputDev.cc
@@
-253,8
+253,9
@@
static char*getFontName(GfxFont*font)
Ref*r=font->getID();
sprintf(buf, "UFONT%d", r->num);
fontid = strdup(buf);
+ } else {
+ fontid = strdup(fname);
}
- fontid = strdup(fname);
char*fontname= 0;
char* plus = strchr(fontid, '+');