Bug 106771 - FILESAVE: LibreOffice fails to embed fonts while saving PPT files
Summary: FILESAVE: LibreOffice fails to embed fonts while saving PPT files
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
5.2.6.2 release
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:ppt, filter:pptx, filter:xlsx
Depends on:
Blocks: PPTX PPT Fonts-Embedded
  Show dependency treegraph
 
Reported: 2017-03-26 01:22 UTC by MP
Modified: 2023-08-18 15:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MP 2017-03-26 01:22:14 UTC
Description:
When saving PPT file, LibreOffice does not embed fonts even if "Embed fonts in the document" has been chosen in Properties.

Steps to Reproduce:
1. Create a new Impress presentation.
2. Enter some text.
3. Choose "Properties" from "File" menu.
4. Check "Embed fonts in the document" in the "Font" tab and click "OK".
5. Save the file choosing the PPT file type (confirm the choice in dialog).
6. Close Impress and open the saved file in Microsoft PowerPoint.
7. Check the save options.

Actual Results:  
The checkbox "Embed fonts in a file" is unchecked in Microsoft PowerPoint.

Expected Results:
The checkbox "Embed fonts in a file" should be checked in Microsoft PowerPoint.


Reproducible: Always

User Profile Reset: No

Additional Info:
It is also possible to see the unchecked checkbox after reopening the file in Impress itself, but in this case that's also because Impress doesn't detect embedded fonts in PPT files.


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Buovjaga 2017-03-29 16:44:55 UTC
I confirm it does not work, but maybe it's a ppt limitation.. I did find this https://support.microsoft.com/en-us/help/291924

I only found information online, that LibO supports embedding fonts in ODF. And even then, it must conform to the font's meta info: "Allow embedding or not"
Comment 2 MP 2017-06-06 00:42:00 UTC
(In reply to Buovjaga from comment #1)
> I confirm it does not work, but maybe it's a ppt limitation.. I did find
> this https://support.microsoft.com/en-us/help/291924

That link does explain how to embed fonts to a ppt file with MS Office (versions 2002 and 2003 existed before pptx format was introduced), thus such files do support embedding fonts. For example, http://bcicommtech10.weebly.com/uploads/6/4/0/6/6406570/introduction_to_typography_-_a.ppt is a ppt file with embedded fonts (only characters used in it).

> I only found information online, that LibO supports embedding fonts in ODF.
> And even then, it must conform to the font's meta info: "Allow embedding or
> not"

I suppose that the same conditions could be applied to ppt files as well, at least in principle?
Comment 3 QA Administrators 2019-05-28 02:47:16 UTC Comment hidden (obsolete)
Comment 4 Oliver Grimm 2019-12-10 13:06:44 UTC
still a bug in LO 6.3.3
+ also confirmed for pptx files
Comment 5 Oliver Grimm 2019-12-10 14:22:03 UTC
"embed fonts" feature is also lost with XLSX files
But works fine for ODS files.
Comment 6 Denis 2020-01-12 19:38:42 UTC
Also it doesn't work when re-saving an ODF presentation to ppt/pptx format. Embedded fonts are just lost.
LO 6.3.4, Win 10, Manjaro Linux
Comment 7 Oliver Grimm 2020-02-15 20:58:37 UTC
still a bug in LO 6.4.0.3
Comment 8 Bella vGFH 2022-02-04 09:47:13 UTC
Continuation of long standing issue:

With latest release, LO Impress 7.3.0.3,
[] Create presentation,
[] Selecting/ ticking FILE > PROPERTIES > FONT > "Embed fonts in the document"
[] Save in native ODP format ---> Fonts are embedded correctly.

However, 
[X] Save in MS PowerPoint format ---> Fonts are NOT embedded.
[X] Closer inspection shows that in resulting *.pptx (rename to .zip), the directory /ppt/fonts is NOT created.
[X] Subsequently, the needed font*.fntdata files are NOT available.

[] Loading the LO Impress generated *.pptx file into MS PowerPoint, and saving it there with fonts embedded does create /ppt/fonts and embeds the fonts applied by $USER correctly (when fonts are available within OS).
Comment 9 Roland Baudin 2023-04-12 08:25:26 UTC
The bug is still there in LO 7.5.2.2 (in Linux and Windows).

To sum up, LO Impress does not embed fonts when saving as .pptx, while LO Writer does when saving as .docx.

The workaround indicated in Comment 8 works:

1. Embed fonts in .odp (Linux or Windows)

2. Save as .pptx (Linux or Windows)

3. In Windows, with these fonts installed, open the .pptx with PowerPoint and embed fonts there (use File / Options / Save, then Embed Fonts in File and select the desired embedding option)

4. Now the .pptx file has embedded fonts

I didn't tested this workaround in MacOS X.