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:
255a51f
)
small logging fixes.
author
kramm
<kramm>
Sat, 7 Aug 2004 14:04:15 +0000
(14:04 +0000)
committer
kramm
<kramm>
Sat, 7 Aug 2004 14:04:15 +0000
(14:04 +0000)
pdf2swf/SWFOutputDev.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/SWFOutputDev.cc
b/pdf2swf/SWFOutputDev.cc
index
f6274bb
..
99c5c1b
100644
(file)
--- a/
pdf2swf/SWFOutputDev.cc
+++ b/
pdf2swf/SWFOutputDev.cc
@@
-617,12
+617,11
@@
SWFOutputDev::~SWFOutputDev()
};
GBool SWFOutputDev::upsideDown()
{
};
GBool SWFOutputDev::upsideDown()
{
- msg("<debug> upsidedown?");
+ msg("<debug> upsidedown? yes");
return gTrue;
};
GBool SWFOutputDev::useDrawChar()
{
return gTrue;
};
GBool SWFOutputDev::useDrawChar()
{
- msg("<debug> usedrawchar?");
return gTrue;
}
return gTrue;
}
@@
-660,8
+659,6
@@
void SWFOutputDev::drawChar(GfxState *state, double x, double y,
if(_u)
u = *_u;
if(_u)
u = *_u;
- msg("<debug> drawChar(%f,%f,%f,%f,c='%c' (%d),u=%d <%d>) CID=%d\n",x,y,dx,dy,c,c,u, uLen, font->isCIDFont());
-
/* find out the character name */
char*name=0;
if(font->isCIDFont() && u) {
/* find out the character name */
char*name=0;
if(font->isCIDFont() && u) {
@@
-681,13
+678,13
@@
void SWFOutputDev::drawChar(GfxState *state, double x, double y,
if(enc && enc[c])
name = enc[c];
}
if(enc && enc[c])
name = enc[c];
}
+
+ msg("<debug> drawChar(%f,%f,c='%c' (%d),u=%d <%d>) CID=%d name=\"%s\"\n",x1,y1,(c&127)>=32?c:'?',c,u, uLen, font->isCIDFont(), FIXNULL(name));
int ret = swfoutput_drawchar(&output, x1, y1, name, c, u);
}
int ret = swfoutput_drawchar(&output, x1, y1, name, c, u);
}
-void SWFOutputDev::endString(GfxState *state)
-{
- msg("<debug> endstring\n");
+void SWFOutputDev::endString(GfxState *state) {
}
}
@@
-1180,7
+1177,7
@@
void SWFOutputDev::updateFont(GfxState *state)
msg("<verbose> updateFont(%s) -> %s", fontname, fileName);
swfoutput_setfont(&output, fontname, fileName);
msg("<verbose> updateFont(%s) -> %s", fontname, fileName);
swfoutput_setfont(&output, fontname, fileName);
-
+
if(fileName && del)
unlinkfont(fileName);
}
if(fileName && del)
unlinkfont(fileName);
}