vcl/source/window/paint.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c4d42d7ffca8c8e1bfc6d23d5ca3b7553be5e78e
Author:     Patrick Luby <guibmac...@gmail.com>
AuthorDate: Thu Mar 7 17:22:35 2024 -0500
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Sat Mar 9 07:31:00 2024 +0100

    tdf#159996 use transparent alpha mask for output device
    
    Since commit 81994cb2b8b32453a92bcb011830fcb884f22ff3, fixed text
    needs to be drawn to an output device with a transparent alpha
    mask.
    
    Change-Id: I2036e8c6c9133b1caceb24aeca40f04524c16b23
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164556
    Tested-by: Jenkins
    Reviewed-by: Patrick Luby <guibomac...@gmail.com>
    (cherry picked from commit 73c14fcf97a1dcc9c95c98f9223449957b0b4963)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164500
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Tested-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index a98703ca255b..de2222b4bc33 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1523,7 +1523,7 @@ void Window::ImplPaintToDevice( OutputDevice* 
i_pTargetOutDev, const Point& i_rP
     VclPtrInstance<VirtualDevice> pMaskedDevice(*i_pTargetOutDev,
                                                 DeviceFormat::WITH_ALPHA);
 
-    pMaskedDevice->SetOutputSizePixel( GetOutputSizePixel() );
+    pMaskedDevice->SetOutputSizePixel( GetOutputSizePixel(), true, true );
     pMaskedDevice->EnableRTL( IsRTLEnabled() );
     aMtf.WindStart();
     aMtf.Play(*pMaskedDevice);

Reply via email to