Bug 95953 - Size of text not preserved and Liberation changed to Arial through save and open as pptx
Summary: Size of text not preserved and Liberation changed to Arial through save and o...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: interoperability
Keywords: filter:pptx
Depends on:
Blocks: PPTX-Textbox
  Show dependency treegraph
 
Reported: 2015-11-20 15:01 UTC by sam tygier
Modified: 2024-04-26 07:44 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
LO file (10.46 KB, application/vnd.oasis.opendocument.presentation)
2015-11-20 15:01 UTC, sam tygier
Details
Exported pptx file (32.68 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2015-11-20 15:02 UTC, sam tygier
Details
attachment #120680 and its pptx version in LO 7.2 (71.20 KB, image/png)
2021-01-13 12:51 UTC, NISZ LibreOffice Team
Details
attachment #120680 and its pptx version in PP 2013 (94.48 KB, image/png)
2021-01-13 13:05 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sam tygier 2015-11-20 15:01:40 UTC
Created attachment 120680 [details]
LO file

Steps to reproduce.
1) create a new presentation
2) set slide to "title, content" page
3) add a few lines of content
4) resize content box so that font size gets automatically reduced
5) save as pptx (Office Open XML or Powerpoint version)
6) close LO and reopen the save ppt file
7) font size has increased back to normal size

This is with LO 5.0.3.2 on Fedora 22 linux.

I have not tested opening the file in MS Office, only saving and reopening on LO.
Comment 1 sam tygier 2015-11-20 15:02:15 UTC
Created attachment 120681 [details]
Exported pptx file
Comment 2 sam tygier 2015-11-20 15:28:06 UTC Comment hidden (obsolete)
Comment 3 A (Andy) 2015-11-20 16:31:07 UTC
Reproducible with LO 5.0.3.2, Win 8.1
Comment 4 sam tygier 2016-01-27 14:44:47 UTC Comment hidden (obsolete)
Comment 5 Timur 2016-10-25 14:46:58 UTC
And: original text is Liberation Sans 32, it stays like that in Format-Character, while it changes in Sidebar-Properties when resized.
After RT, font is Arial 32 in both locations. 

Looks like all the way from LO 3.3.

I suspect this may be the same as in 1-slide PPTX attachment 128239 [details] that's supposed to look like PDF attachment 128240 [details] from Bug 103488 (I extracted that from attachment 114355 [details] from Bug 90237).
There, font Calibri Light (Headings) 19 from MSO after roundtrip becomes in LO: Calibri Light 24 in Format-Character and Calibri Light 16,7 in Sidebar-Properties.
Comment 6 sam tygier 2017-02-02 13:08:15 UTC Comment hidden (obsolete)
Comment 7 sam tygier 2018-01-24 19:17:16 UTC
Much improved in current master. It looks like the Autofit is correctly saved and loaded now. However the font still changes from Liberation Sans to Arial, and there is a small change in font size.

Version: 6.1.0.0.alpha0+
Build ID: a283847a95dd8935dec687d91709604d96636a34
CPU threads: 4; OS: Linux 4.14; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.utf8); Calc: group threaded
Comment 8 Aron Budea 2018-02-26 23:20:37 UTC
The changing of fonts is intentional for interoperability, a system with MS Office likely won't have Liberation fonts installed.
Comment 9 Timur 2018-02-27 16:23:18 UTC
(In reply to Aron Budea from comment #8)
> The changing of fonts is intentional for interoperability, a system with MS
> Office likely won't have Liberation fonts installed.

I can't find it documented. While I may understand reasoning, I'd say such a change on-the-fly is wrong without noticing a user. And I see that in Impress only, not in Writer. Please write a source if you know, documentation or bug or fix.
Comment 10 sam tygier 2018-02-27 17:24:57 UTC
In that case shouldn't LO be embedding the font? (https://support.office.com/en-us/article/Embed-fonts-in-Word-PowerPoint-or-Excel-cb3982aa-ea76-4323-b008-86670f222dbc suggests that pptx format supports this).
Comment 11 Timur 2018-07-27 12:53:32 UTC
Sam, question is a good one. Guess that it deserves a new bug if it doesn't. 
Still we must have this font change documented.
Comment 12 QA Administrators 2019-07-30 03:15:13 UTC Comment hidden (obsolete)
Comment 13 NISZ LibreOffice Team 2021-01-13 12:51:25 UTC
Created attachment 168853 [details]
attachment #120680 [details] and its pptx version in LO 7.2

Font size still changes on reopen from 12.1 pt to 11.1 pt in:

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 80497c7d81af36f703d122ac78baa26387a5854d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL
Comment 14 NISZ LibreOffice Team 2021-01-13 13:05:15 UTC
Created attachment 168854 [details]
attachment #120680 [details] and its pptx version in PP 2013

Paragraph settings look kinda weird in PP:
- Now there is 1.2 cm indent before the text
- Hanging indent 0.9 cm 

Also the font is 7 pt instead of 12/11.

The 14 pt above spacing looks to be exported ~correctly, but in Impress it appears much smaller than in PP.
Comment 15 QA Administrators 2023-01-26 03:24:15 UTC Comment hidden (obsolete)
Comment 16 Stéphane Guillou (stragu) 2024-04-26 07:44:19 UTC
Retested with:

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

I _do_ see the font size change slightly, but it fits the box nicely, and the box is the same size, so the result is true to the original.

(In reply to NISZ LibreOffice Team from comment #14)
> Paragraph settings look kinda weird in PP:
> - Now there is 1.2 cm indent before the text
> - Hanging indent 0.9 cm 
Can't see a change in indentation when reloaded in LO.

Can someone else please re-test?