Bug 160609 - PPTX : Arrow appears to be at wrong place due to the wrong line spacing
Summary: PPTX : Arrow appears to be at wrong place due to the wrong line spacing
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.8.0
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-10 08:35 UTC by SATYA SRINIVAS K
Modified: 2024-04-26 05:49 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file (37.17 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2024-04-10 08:36 UTC, SATYA SRINIVAS K
Details
PDF_Exported_From_LibreOffice (27.03 KB, application/pdf)
2024-04-10 08:37 UTC, SATYA SRINIVAS K
Details
PDF_Exported_From_MSOffice (46.30 KB, application/pdf)
2024-04-10 08:37 UTC, SATYA SRINIVAS K
Details
Font Comparision (108.15 KB, image/png)
2024-04-10 08:38 UTC, SATYA SRINIVAS K
Details
PDF_MSO_vs_LO_OverLay_Comparision (90.15 KB, image/jpeg)
2024-04-10 08:39 UTC, SATYA SRINIVAS K
Details
LO 24.8 (15.80 KB, application/pdf)
2024-04-13 20:10 UTC, raal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SATYA SRINIVAS K 2024-04-10 08:35:23 UTC
Steps to reproduce.
1) Open attached Sample.pptx in Libre office
2) Open attached Sample.pptx in MS office.
3) Compare the position of the Arrow with respect to the text.
4) Actually the arrow is at the right position in both Libre office and Ms office.
   But, due to the more line spacing in the Libre office the text is moved down 
   and the arrow appears to be at the wrong place.
5) I exported to PDF from both Libre office and MSO and compared the font properties of all the text, the fonts and it's size are same in both the PDF's



This is with LO 24.2.0.3 on Window.

Attached PDF's exported from LO and MSO.
Attahed Sample.pptx.

Expected Results: Line spacing should be same as in MSO so that the arrow appears to be at the coorect place.

Actual Results: More line spacing when compared to MSO.
Comment 1 SATYA SRINIVAS K 2024-04-10 08:36:04 UTC
Created attachment 193594 [details]
Test file
Comment 2 SATYA SRINIVAS K 2024-04-10 08:37:31 UTC
Created attachment 193595 [details]
PDF_Exported_From_LibreOffice
Comment 3 SATYA SRINIVAS K 2024-04-10 08:37:54 UTC
Created attachment 193596 [details]
PDF_Exported_From_MSOffice
Comment 4 SATYA SRINIVAS K 2024-04-10 08:38:14 UTC
Created attachment 193597 [details]
Font Comparision
Comment 5 SATYA SRINIVAS K 2024-04-10 08:39:11 UTC
Created attachment 193598 [details]
PDF_MSO_vs_LO_OverLay_Comparision
Comment 6 raal 2024-04-13 20:10:39 UTC
Created attachment 193666 [details]
LO 24.8

No repro with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f3d0a184c4da57907a1fcf1ed784340be7d974d6
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo
Comment 7 Stéphane Guillou (stragu) 2024-04-26 04:38:43 UTC
Reproduced in:

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
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

... and in all sorts of different ways all the way back to OOo 3.3.

Resolved in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d4f6534e8870e8f271984c37ce54a6878f372ae1
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

Bibisected the fix to:

commit f61ea135430d7b4a1fac7de1e57a1314fbb1b49e
author	Tomaž Vajngerl 	Thu Mar 28 12:30:34 2024 +0900
committer	Tomaž Vajngerl 	Wed Apr 03 04:06:50 2024 +0200
editeng: use text scaling that better mimics MSO text scaling
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165441

(build [52abeff6d5836b29dbefe69f284bbd89f6672ae2] in linux-64-24.8 repo)

Thanks Quikee!