diff options
author | Patrick Luby <guibmacdev@gmail.com> | 2024-12-19 09:16:03 -0500 |
---|---|---|
committer | Patrick Luby <guibomacdev@gmail.com> | 2024-12-19 19:56:48 +0100 |
commit | fa3dd1c3a190fcbead9d39038a30f0fd306a1baa (patch) | |
tree | da96c0e127f09b8de980d5ff456997305ffd2cce /accessibility/source/inc/floatingwindowaccessible.hxx | |
parent | 36276f606cd99561dd8449f41ba846866e75affa (diff) |
tdf#164354 skip unnecessary transparency removal when printingHEADmaster
On macOS, there are no known problems drawing semi-transparent
shapes, fill, text, and bitmaps so only remove transparency when
reduce transparency and no transparency print settings are both
true.
The fix not only eliminates the sometimes lengthy wait for the
native print dialog to appear, but in cases like tdf#164354 the
fix reduces the size of the PDF file generated by the macOS
print subsystem by more than 90%.
The fix was copied from the following NeoOffice source code files
which are licensed under the Mozilla Public License, v. 2.0:
- https://github.com/neooffice/NeoOffice/blob/NeoOffice-2022_7/vcl/source/gdi/print.cxx
- https://github.com/neooffice/NeoOffice/blob/NeoOffice-2022_7/vcl/source/gdi/print2.cxx
Change-Id: I54263a24201a0195fc86df6dc50580e2d6a61c70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178818
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Tested-by: Jenkins
Diffstat (limited to 'accessibility/source/inc/floatingwindowaccessible.hxx')
0 files changed, 0 insertions, 0 deletions