Created attachment 187297 [details] Comparsion LibreOffice 7.6 master vs MSO Steps to reproduce: 1. Open attachment 88316 [details] from bug 71012 2. Go to slide 2 -> Font size is 12 pt. it should be 24 pt. See comparison image Reproduced in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 8cd29dac4046e38bcf14784accab94ad1b4ac4d7 CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded [Bug found by office-interoperability-tools]
Regression introduced by: author Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> 2023-03-23 11:24:30 +0900 committer Tomaž Vajngerl <quikee@gmail.com> 2023-03-26 15:07:39 +0000 commit 628275acb1b9652e65b8c5c013549dce5ad6f5bf (patch) tree 1678c423d242e0899cf73a2ab23f37faafd35232 parent a5fde5d749d27b0da216da4412f8b750178b1b08 (diff) tdf#90407 Change the auto-fit alg. to match better with OOXML Bisected with: bibisect-linux64-7.6 Adding Cc: to Tomaž Vajngerl
The issue with this one is not that the auto-fitting is misbehaving and the text size is wrong. The issue is that none of the text boxes in the document should be set to "autofit text" = true at all. All of them in MSO have auto-fitting disabled. You can see this issue clearly on page 5 where MSO and LO differ even with the older auto-fitting algorithm, but if you turn of "autofit text" the rendering MSO and LO match. So the issue is an old one, but the issue manifested only now when auto-fitting has changed. Converting in MSO to pptx and opening in LO renders correctly, which makes me happy. I'll look if this can be solved quickly.
Not sure if this is the same bug, but I have a reproducer that does not rely on pptx. It is a regression as the rendering changed significantly between LibreOffice 7.5.5 and 7.6.0.
Created attachment 189204 [details] One-slide odp presentation
Created attachment 189205 [details] Screenshot from LibreOffice 7.5.5
Created attachment 189206 [details] Screenshot from LibreOffice 7.6.0