X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FBitmapOutputDev.cc;h=cedf06a80ec09b7f17ac4ef11c7a0ba066a741e7;hb=483357a827efabc1f0d3e5df1e4297fad2a0436b;hp=8148a8167be9baddfaaea2818f61dfc25283dd0c;hpb=5437824ac399626ab2219baa59b94fb0b2772b29;p=swftools.git diff --git a/lib/pdf/BitmapOutputDev.cc b/lib/pdf/BitmapOutputDev.cc index 8148a81..cedf06a 100644 --- 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(" endPage (BitmapOutputDev)"); + gfxdev->endPage(); if(layerstate == STATE_BITMAP_IS_ABOVE) { this->flushText(); @@ -568,7 +569,9 @@ void BitmapOutputDev::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() @@ -1017,7 +1020,6 @@ void BitmapOutputDev::clip(GfxState *state) } void BitmapOutputDev::eoClip(GfxState *state) { - return; msg(" eoClip"); boolpolydev->eoClip(state); booltextdev->eoClip(state);