https://bugs.documentfoundation.org/show_bug.cgi?id=157635
--- Comment #4 from Patrick Luby <[email protected]> --- Note to myself: adding an AlphaMask::Invert() in the following debug patch fixes rendering of the first slide's background in the document, slideshow, printing, and export to PDF. Unfortunately, it also causes https://bugs.documentfoundation.org/show_bug.cgi?id=156630 to reappear so I will have to see if I can find a place to invert the alpha mask before it reaches this code: diff --git a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx index e5658f6cf0d3..492179f803b4 100644 --- a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx +++ b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx @@ -180,7 +180,8 @@ namespace drawinglayer::primitive2d BitmapEx bitmap; if( useAlphaMask ) { - const AlphaMask aMaskBitmap(maVirtualDeviceMask->GetBitmap(Point(), maVirtualDeviceMask->GetOutputSizePixel())); + AlphaMask aMaskBitmap(maVirtualDeviceMask->GetBitmap(Point(), maVirtualDeviceMask->GetOutputSizePixel())); + aMaskBitmap.Invert(); // convert from transparency to alpha bitmap = BitmapEx(aMainBitmap, aMaskBitmap); } else -- You are receiving this mail because: You are the assignee for the bug.
