Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.8.0
-
Tested on Windows 7 + Qt4.8.0
-
8129f45e65e5bb1193b0abfc67d8130f3b1563c4
Description
$QTDIR/src/painting/qprintengine_pdf.cpp:
QPdfEngine::begin(QPaintDevice *pdev) does not clear the alpha cache:
bool QPdfEngine::begin(QPaintDevice *pdev) { Q_D(QPdfEngine); if(!QPdfBaseEngine::begin(pdev)) { state = QPrinter::Error; return false; } d->stream->setDevice(d->outDevice); d->streampos = 0; d->hasPen = true; d->hasBrush = false; d->clipEnabled = false; d->allClipped = false; d->xrefPositions.clear(); d->pageRoot = 0; d->catalog = 0; d->info = 0; d->graphicsState = 0; d->patternColorSpace = 0; d->pages.clear(); d->imageCache.clear(); // missing - should be added: d->alphaCache.clear();