diff options
author | Patrick Luby <guibmacdev@gmail.com> | 2024-03-07 17:22:35 -0500 |
---|---|---|
committer | Patrick Luby <guibomacdev@gmail.com> | 2024-03-08 00:57:20 +0100 |
commit | ff113b34dd6f54765995440cbedd27483fadb844 (patch) | |
tree | 6ce850000bab892b21d9916453545a9ca1d777ff | |
parent | da49e5edb2fba9e99ed7d58952dc761b0804e7fc (diff) |
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 <guibomacdev@gmail.com>
-rw-r--r-- | vcl/source/window/paint.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx index 7cb1c969a983..5996b818d4bb 100644 --- a/vcl/source/window/paint.cxx +++ b/vcl/source/window/paint.cxx @@ -1528,7 +1528,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); |