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:
5b28855
)
call endPage of GFXOutputDev *before* flushing all text/polygon output
author
kramm
<kramm>
Sun, 6 Apr 2008 20:32:48 +0000
(20:32 +0000)
committer
kramm
<kramm>
Sun, 6 Apr 2008 20:32:48 +0000
(20:32 +0000)
lib/pdf/BitmapOutputDev.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/BitmapOutputDev.cc
b/lib/pdf/BitmapOutputDev.cc
index
53d23d1
..
cedf06a
100644
(file)
--- a/
lib/pdf/BitmapOutputDev.cc
+++ b/
lib/pdf/BitmapOutputDev.cc
@@
-552,6
+552,7
@@
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)");
+ gfxdev->endPage();
if(layerstate == STATE_BITMAP_IS_ABOVE) {
this->flushText();
if(layerstate == STATE_BITMAP_IS_ABOVE) {
this->flushText();
@@
-568,7
+569,9
@@
void BitmapOutputDev::endPage()
rgbdev->endPage();
clip0dev->endPage();
clip1dev->endPage();
rgbdev->endPage();
clip0dev->endPage();
clip1dev->endPage();
- gfxdev->endPage();
+
+ /* notice: we're not fully done yet with this page- there might still be
+ a few calls to drawLink() yet to come */
}
GBool BitmapOutputDev::upsideDown()
}
GBool BitmapOutputDev::upsideDown()