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:
70423e8
)
put out CID warning only once
author
kramm
<kramm>
Wed, 26 Jun 2002 18:47:17 +0000
(18:47 +0000)
committer
kramm
<kramm>
Wed, 26 Jun 2002 18:47:17 +0000
(18:47 +0000)
pdf2swf/SWFOutputDev.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/SWFOutputDev.cc
b/pdf2swf/SWFOutputDev.cc
index
3bd4c3a
..
1af448c
100644
(file)
--- a/
pdf2swf/SWFOutputDev.cc
+++ b/
pdf2swf/SWFOutputDev.cc
@@
-578,6
+578,7
@@
void SWFOutputDev::beginString(GfxState *state, GString *s)
}
int charcounter = 0;
}
int charcounter = 0;
+int ciderror = 0;
void SWFOutputDev::drawChar(GfxState *state, double x, double y,
double dx, double dy,
double originX, double originY,
void SWFOutputDev::drawChar(GfxState *state, double x, double y,
double dx, double dy,
double originX, double originY,
@@
-590,7
+591,9
@@
void SWFOutputDev::drawChar(GfxState *state, double x, double y,
GfxFont*font = state->getFont();
Gfx8BitFont*font8;
if(font->isCIDFont()) {
GfxFont*font = state->getFont();
Gfx8BitFont*font8;
if(font->isCIDFont()) {
- logf("<error> CID Font");
+ if(!ciderror)
+ logf("<error> Not drawing CID Font characters!");
+ ciderror++;
return;
}
if(font->getType() == fontType3) {
return;
}
if(font->getType() == fontType3) {