Bug 155330 - FILEOPEN: PPT: Incorrect font size
Summary: FILEOPEN: PPT: Incorrect font size
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Font-Size
  Show dependency treegraph
 
Reported: 2023-05-15 14:41 UTC by Xisco Faulí
Modified: 2023-11-01 11:14 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Comparsion LibreOffice 7.6 master vs MSO (94.62 KB, image/png)
2023-05-15 14:41 UTC, Xisco Faulí
Details
One-slide odp presentation (29.32 KB, application/vnd.oasis.opendocument.presentation)
2023-08-28 15:27 UTC, Alexander E. Patrakov
Details
Screenshot from LibreOffice 7.5.5 (341.41 KB, image/png)
2023-08-28 15:28 UTC, Alexander E. Patrakov
Details
Screenshot from LibreOffice 7.6.0 (278.26 KB, image/png)
2023-08-28 15:28 UTC, Alexander E. Patrakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2023-05-15 14:41:36 UTC
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]
Comment 1 Xisco Faulí 2023-05-15 14:42:45 UTC
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
Comment 2 Tomaz Vajngerl 2023-05-16 00:41:44 UTC
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.
Comment 3 Alexander E. Patrakov 2023-08-28 15:26:03 UTC
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.
Comment 4 Alexander E. Patrakov 2023-08-28 15:27:00 UTC
Created attachment 189204 [details]
One-slide odp presentation
Comment 5 Alexander E. Patrakov 2023-08-28 15:28:11 UTC
Created attachment 189205 [details]
Screenshot from LibreOffice 7.5.5
Comment 6 Alexander E. Patrakov 2023-08-28 15:28:43 UTC
Created attachment 189206 [details]
Screenshot from LibreOffice 7.6.0