void BitmapOutputDev::endPage()
{
msg("<verbose> endPage (BitmapOutputDev)");
+ gfxdev->endPage();
if(layerstate == STATE_BITMAP_IS_ABOVE) {
this->flushText();
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()
}
void BitmapOutputDev::eoClip(GfxState *state)
{
- return;
msg("<debug> eoClip");
boolpolydev->eoClip(state);
booltextdev->eoClip(state);
GBool forSoftMask)
{
msg("<debug> beginTransparencyGroup");
+#if (xpdfMajorVersion*10000 + xpdfMinorVersion*100 + xpdfUpdateVersion) < 30207
+ GfxState*state1 = state->copy();
+ GfxState*state2 = state->copy();
+ state1->setPath(state->getPath()->copy());
+ state2->setPath(state->getPath()->copy());
+#else
GfxState*state1 = state->copy(gTrue);
GfxState*state2 = state->copy(gTrue);
+#endif
boolpolydev->beginTransparencyGroup(state1, bbox, blendingColorSpace, isolated, knockout, forSoftMask);
rgbdev->beginTransparencyGroup(state2, bbox, blendingColorSpace, isolated, knockout, forSoftMask);
clip1dev->beginTransparencyGroup(state, bbox, blendingColorSpace, isolated, knockout, forSoftMask);
void BitmapOutputDev::endTransparencyGroup(GfxState *state)
{
msg("<debug> endTransparencyGroup");
+#if (xpdfMajorVersion*10000 + xpdfMinorVersion*100 + xpdfUpdateVersion) < 30207
+ GfxState*state1 = state->copy();
+ GfxState*state2 = state->copy();
+ state1->setPath(state->getPath()->copy());
+ state2->setPath(state->getPath()->copy());
+#else
GfxState*state1 = state->copy(gTrue);
GfxState*state2 = state->copy(gTrue);
+#endif
boolpolydev->endTransparencyGroup(state1);
checkNewBitmap();
rgbdev->endTransparencyGroup(state2);