Created attachment 194944 [details] Example file from Writer If a word written in smaller font than the surrounding texts size is auto-redacted, the grey box is aligned too close to the top of the word below (instead of the redacted words baseline), leaving the top of the redacted word somewhat exposed. 1. Open attached file 2. Go to Tools - Autoredact 3. Add a new target to the word Durchgang 4. Press OK in the Autoredact dialog ->The redacted file opens in Draw, observe the grey block around the first Durchgang word. Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d7aeaeafc32f78ca38942868f965bae0e6c376b1 CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: default This became visible after the fix of bug 127169, but even before that the grey block was placed too low.
Created attachment 194945 [details] The issue in Draw
Hello Gabor Kelemen, Thank you for reporting the bug. I can confirm that the bug is present in the master version. Tested using: Version: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
Reproduced in: Version: 24.8.0.0.beta1+ (X86_64) / LibreOffice Community Build ID: 1b61abc4451d38984338b750d85770ec9871060a CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded Same in 6.4.0.3, when auto-redact was added, so assumed implementation error.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f7368c95b6fe90aeb4f06c1eee15be770beda382 tdf#161775 vcl: WMF export: remove special case of Dx in EXTTEXTOUT It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/58948dd22464c38b2a042022f4d549ca926f0476 tdf#161775 sfx2: SfxRedactionHelper: actually use font for layout It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
fixed on master
Fix verified in own build: Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 9d1bedcd6791463c6c8ae737d912cee505dd5699 CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded Thanks Michael!