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:
f7e02fd
)
added more error messages in case of font problems.
author
kramm
<kramm>
Mon, 21 Jun 2004 12:46:14 +0000
(12:46 +0000)
committer
kramm
<kramm>
Mon, 21 Jun 2004 12:46:14 +0000
(12:46 +0000)
pdf2swf/SWFOutputDev.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/SWFOutputDev.cc
b/pdf2swf/SWFOutputDev.cc
index
6f7d910
..
e2ced41
100644
(file)
--- a/
pdf2swf/SWFOutputDev.cc
+++ b/
pdf2swf/SWFOutputDev.cc
@@
-1314,6
+1314,7
@@
void SWFOutputDev::updateFont(GfxState *state)
font directories */
int newt1id = searchT1Font(fontname);
if(newt1id<0) {
+ msg("<error> Couldn't find any suitable replacement for %s",fontname);
showFontError(gfxFont,0);
fontname = substituteFont(gfxFont, fontname);
} else
@@
-1335,7
+1336,8
@@
void SWFOutputDev::updateFont(GfxState *state)
}
if(t1id<0) {
- showFontError(gfxFont,0);
+ msg("<error> Current font's t1id is %d", t1id);
+ //showFontError(gfxFont,0);
return;
}