Bug 133562 - LibreOffice Impress discards custom font style settings when saving to PPTX, EVERY TIME
Summary: LibreOffice Impress discards custom font style settings when saving to PPTX, ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PPTX-MasterSlide
  Show dependency treegraph
 
Reported: 2020-05-31 17:35 UTC by Tianxing Yang
Modified: 2021-10-04 11:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
This is the problematic PPTX file that describes my problem. (39.57 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2020-05-31 17:36 UTC, Tianxing Yang
Details
This is the template that uses Noto Sans as default family. (12.38 KB, application/vnd.oasis.opendocument.presentation-template)
2020-05-31 17:37 UTC, Tianxing Yang
Details
This even happens with a built-in template that specifies custom fonts. (40.47 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2020-05-31 17:50 UTC, Tianxing Yang
Details
How the original file and its PPTX versions Master Slide looks (129.95 KB, image/png)
2021-01-28 08:20 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tianxing Yang 2020-05-31 17:35:11 UTC
Description:
I am looking to set Noto Sans as the font family for my custom style in my presentations. However, when I save my presentation in PPTX format, close it, then reopen it, the set custom typefaces are gone; instead, the Liberation Sans font comes into place when I add new slides.

Steps to Reproduce:
1. Open "Master Slides", as well as "Styles" in the right panel.
2. Click on every available style, set them to use the font family Noto Sans.
3. Save this presentation as a template (.otp).
4. Save this presentation as PPTX.
5. Close and reopen this presentation.
6. Add a new slide.

Actual Results:
The new text fields appear to use the font family Liberation Sans, which is the default font for the whole LibreOffice suite.

Expected Results:
Any subsequent new slides shall use the Noto Sans family for text layout. This is what happens in Microsoft PowerPoint.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I believe that LibreOffice shall NOT be replacing fonts by itself upon reopening files, without explicit consent or awareness of the user. Microsoft Office NEVER does the same thing.
Comment 1 Tianxing Yang 2020-05-31 17:36:26 UTC
Created attachment 161464 [details]
This is the problematic PPTX file that describes my problem.

This is the problematic PPTX file that describes my problem.
Comment 2 Tianxing Yang 2020-05-31 17:37:33 UTC
Created attachment 161466 [details]
This is the template that uses Noto Sans as default family.
Comment 3 Tianxing Yang 2020-05-31 17:50:49 UTC
Created attachment 161467 [details]
This even happens with a built-in template that specifies custom fonts.
Comment 4 Mike 2020-05-31 21:39:36 UTC
Can reproduce this. The styles also change the font to Liberation, if the OTP is saved as a POTX (PPT Template).

Version: 7.1.0.0.alpha0+ (x64)
Build ID: 2047a5978ac8188e61da9cd3b2f40d86df5570bb
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 5 NISZ LibreOffice Team 2021-01-28 08:20:54 UTC
Created attachment 169212 [details]
How the original file and its PPTX versions Master Slide looks

Quite a problem in:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 7eb289c49cc7245ef3001a39be0c15d06bbe875b
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