git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rfxswf cleanups: TAG structure and ResetWriteBits/ResetReadBits
[swftools.git]
/
pdf2swf
/
swfoutput.cc
diff --git
a/pdf2swf/swfoutput.cc
b/pdf2swf/swfoutput.cc
index
3fd1379
..
6cef2e6
100644
(file)
--- a/
pdf2swf/swfoutput.cc
+++ b/
pdf2swf/swfoutput.cc
@@
-333,7
+333,7
@@
void putcharacters(TAG*tag)
}
if(charstorepos && pass==1)
{
}
if(charstorepos && pass==1)
{
- tag->bitcount = 0;
+ tag->writeBit = 0; // Q&D
swf_SetBits(tag, 0, 1); // GLYPH Record
swf_SetBits(tag, charstorepos, 7); // number of glyphs
int s;
swf_SetBits(tag, 0, 1); // GLYPH Record
swf_SetBits(tag, charstorepos, 7); // number of glyphs
int s;
@@
-366,7
+366,7
@@
void putcharacters(TAG*tag)
if(lastfontid != chardata[t].fontid || lastsize != chardata[t].size)
newfont = &font;
if(lastfontid != chardata[t].fontid || lastsize != chardata[t].size)
newfont = &font;
- tag->bitcount = 0;
+ tag->writeBit = 0; // Q&D
swf_TextSetInfoRecord(tag, newfont, chardata[t].size, newcolor, newx,newy);
}
swf_TextSetInfoRecord(tag, newfont, chardata[t].size, newcolor, newx,newy);
}