Created attachment 192522 [details] Comparison between LO7 and 24 PDF Export With LibreOffice Writer 24.2.0.3, when printing or exporting to a PDF-File, Check Boxes appear at a wrong position - usually to the way too far to the right and a bit lower than their position in the original ODT file. When printing or exporting from that same ODT-file but with LibreOffice 7, they appear at the correct position. The attached picture shows a comparison between the ODT file and the PDF-exports with version 7 and 24. Tested on Windows and Linux.
Created attachment 192523 [details] ODT file that was exported for the screenshots
1. Open the attached file (attachment 192523 [details]) 2. Press Print button -> Print Preview is already wrong No issue when exporting PDF directly with the button on the toolbar
Fine with Version: 7.6.3.0.0+ (X86_64) / LibreOffice Community Build ID: 35f19e5cb93ce218787904e99c2bedfd40e725cc CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL threaded
No repro with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f289fe3dca487c45417f7b40d51a4830f3369fb1 CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: x11 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Jumbo
Created attachment 192593 [details] Printing result Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 125fc2ce861c82592b261f2992c893b414396e56 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL threaded
Bisected to author Noel Grandin <noel.grandin@collabora.co.uk> 2023-07-04 14:36:48 +0200 committer Noel Grandin <noel.grandin@collabora.co.uk> 2023-07-04 19:16:55 +0200 commit d408fe5cd45c9594feecec727ab2f73c66e361d0 (patch) tree aba257a44368e5f6a255c8a61e30e2d15e4c386e parent 77befddec9486403c471b2beafd4ca0fd2429c5a (diff) unnecessary LogicToPixel in CheckBox::Draw we are already in logical pixels here, and the ImplDraw call expects logical pixels