git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
only round bitmap coords to integers if we are inside a type3 char
[swftools.git]
/
lib
/
pdf
/
BitmapOutputDev.cc
diff --git
a/lib/pdf/BitmapOutputDev.cc
b/lib/pdf/BitmapOutputDev.cc
index
53d23d1
..
c9cbd0c
100644
(file)
--- a/
lib/pdf/BitmapOutputDev.cc
+++ b/
lib/pdf/BitmapOutputDev.cc
@@
-552,6
+552,14
@@
void BitmapOutputDev::startPage(int pageNum, GfxState *state, double crop_x1, do
void BitmapOutputDev::endPage()
{
msg("<verbose> endPage (BitmapOutputDev)");
void BitmapOutputDev::endPage()
{
msg("<verbose> endPage (BitmapOutputDev)");
+
+ /* notice: we're not fully done yet with this page- there might still be
+ a few calls to drawLink() yet to come */
+}
+void BitmapOutputDev::finishPage()
+{
+ msg("<verbose> finishPage (BitmapOutputDev)");
+ gfxdev->endPage();
if(layerstate == STATE_BITMAP_IS_ABOVE) {
this->flushText();
if(layerstate == STATE_BITMAP_IS_ABOVE) {
this->flushText();
@@
-568,7
+576,6
@@
void BitmapOutputDev::endPage()
rgbdev->endPage();
clip0dev->endPage();
clip1dev->endPage();
rgbdev->endPage();
clip0dev->endPage();
clip1dev->endPage();
- gfxdev->endPage();
}
GBool BitmapOutputDev::upsideDown()
}
GBool BitmapOutputDev::upsideDown()
@@
-1271,7
+1278,9
@@
void BitmapOutputDev::beginTransparencyGroup(GfxState *state, double *bbox,
#if (xpdfMajorVersion*10000 + xpdfMinorVersion*100 + xpdfUpdateVersion) < 30207
GfxState*state1 = state->copy();
GfxState*state2 = state->copy();
#if (xpdfMajorVersion*10000 + xpdfMinorVersion*100 + xpdfUpdateVersion) < 30207
GfxState*state1 = state->copy();
GfxState*state2 = state->copy();
+ state1->setPath(0);
state1->setPath(state->getPath()->copy());
state1->setPath(state->getPath()->copy());
+ state2->setPath(0);
state2->setPath(state->getPath()->copy());
#else
GfxState*state1 = state->copy(gTrue);
state2->setPath(state->getPath()->copy());
#else
GfxState*state1 = state->copy(gTrue);
@@
-1289,7
+1298,9
@@
void BitmapOutputDev::endTransparencyGroup(GfxState *state)
#if (xpdfMajorVersion*10000 + xpdfMinorVersion*100 + xpdfUpdateVersion) < 30207
GfxState*state1 = state->copy();
GfxState*state2 = state->copy();
#if (xpdfMajorVersion*10000 + xpdfMinorVersion*100 + xpdfUpdateVersion) < 30207
GfxState*state1 = state->copy();
GfxState*state2 = state->copy();
+ state1->setPath(0);
state1->setPath(state->getPath()->copy());
state1->setPath(state->getPath()->copy());
+ state2->setPath(0);
state2->setPath(state->getPath()->copy());
#else
GfxState*state1 = state->copy(gTrue);
state2->setPath(state->getPath()->copy());
#else
GfxState*state1 = state->copy(gTrue);