Bug 149997 - [FILEOPEN PPTX] Wrong font width with Microsoft font Calibri Light
Summary: [FILEOPEN PPTX] Wrong font width with Microsoft font Calibri Light
Status: RESOLVED DUPLICATE of bug 122023
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-14 20:41 UTC by Pablo
Modified: 2022-07-15 13:24 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
pptx with a text shape (1.09 MB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2022-07-14 20:43 UTC, Pablo
Details
pdf exported from PowerPoint 2013 (185.80 KB, application/pdf)
2022-07-14 20:43 UTC, Pablo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo 2022-07-14 20:41:24 UTC
Description:
The attached pptx has a text shape in front of an orange rectangle which should have exactly the same size. In Impress the font size is too big. I have the Calibri Light font installed so it is not a font substitution issue. My guess is that it is related to the <a:normAutofit> or <a:bodyPr> elements:

<a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="1" anchor="ctr">
  <a:normAutofit fontScale="90000"/>
</a:bodyPr>

Steps to Reproduce:
1. Ensure that you have the Calibri Light font installed.
2. Open the attached pptx in Impress.
3. Compare with the attached pdf exported from PowerPoint.

Actual Results:
Font size too large. The text exceeds the width of the orange rectangle.

Expected Results:
The text should match exactly the size of the orange rectangle.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.4.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 2; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Ubuntu package version: 1:7.3.4~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 1 Pablo 2022-07-14 20:43:17 UTC
Created attachment 181267 [details]
pptx with a text shape
Comment 2 Pablo 2022-07-14 20:43:50 UTC
Created attachment 181268 [details]
pdf exported from PowerPoint 2013
Comment 3 Timur 2022-07-15 12:46:23 UTC
Repro 7.5+ in Windows. There are other bugs for width of Microsoft fonts.
Comment 4 Timur 2022-07-15 13:24:14 UTC
Actually a duplicate.

*** This bug has been marked as a duplicate of bug 122023 ***