poppler/SplashOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2484b0dcb8eb62f8e2c147498c58871ec04630b5 Author: Albert Astals Cid <[email protected]> Date: Fri Aug 14 11:47:11 2009 +0200 Implement the alpha path I wonder if this is the correct fix why it was not implemented but if fixes rendering of files in KDE bug 145868, KDE bug 193657, poppler bug 17473.pdf, poppler bug 21651, poppler bug 22143 and poppler bug 22152 and causes no regression in all the other files i have in my test dir so i'm commiting it diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc index 78c4f1d..139760b 100644 --- a/poppler/SplashOutputDev.cc +++ b/poppler/SplashOutputDev.cc @@ -2989,10 +2989,10 @@ void SplashOutputDev::setSoftMask(GfxState * /*state*/, double * /*bbox*/, if (yMax + ty > bitmap->getHeight()) yMax = bitmap->getHeight() - ty; for (y = 0; y < yMax; ++y) { for (x = 0; x < xMax; ++x) { - tBitmap->getPixel(x, y, color); if (alpha) { - //~ unimplemented + p[x] = tBitmap->getAlpha(x, y); } else { + tBitmap->getPixel(x, y, color); // convert to luminosity switch (colorMode) { case splashModeMono1: _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
