X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fpdf%2FBitmapOutputDev.cc;h=cedf06a80ec09b7f17ac4ef11c7a0ba066a741e7;hp=53d23d1d013ce9b814a848572562d731989fc105;hb=d82ea1e1a48c88241e2d01c4b9ad935ebcb3b9ba;hpb=5b288559c452f70766c57386dd5c5a3c9ff306b6 diff --git a/lib/pdf/BitmapOutputDev.cc b/lib/pdf/BitmapOutputDev.cc index 53d23d1..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()