Bug 165828 - FILESAVE PPTX: Fonts not embedded when saving as PPTX
Summary: FILESAVE PPTX: Fonts not embedded when saving as PPTX
Status: RESOLVED DUPLICATE of bug 106771
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-19 19:02 UTC by Gerald Pfeifer
Modified: 2025-05-24 15:08 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document using SUSE font (ODP format) (51.81 KB, application/vnd.oasis.opendocument.presentation)
2025-03-19 19:02 UTC, Gerald Pfeifer
Details
Document saved as ODP with font embedding requested (worked) (22.45 MB, application/vnd.oasis.opendocument.presentation)
2025-03-19 19:03 UTC, Gerald Pfeifer
Details
Document saved as PPTX with font embedding requested (failed) (37.33 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-03-19 19:04 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2025-03-19 19:02:39 UTC
Created attachment 199909 [details]
Sample document using SUSE font (ODP format)

1. Take a document, ideally using a font that is not commonly used,
   like the attached sample document.

2. Enable embedding fonts under "File" - "Properties..." - "Fonts".

3. "Save a copy..." both as ODP and PPTX.

4. Observe that the ODP *has* fonts embedded whereas the PPTX does
   not. 

   This can be seen by looking into the document files via `unzip -v`
   or simply checking the file sizes.

   % ls -l susefont* | cut -c19-
      53049 Mar 19 19:53 susefont.odp            <- original
   23542631 Mar 19 19:53 susefont-embed.odp      <- saved as ODP
      38227 Mar 19 19:54 susefont-embed.pptx     <- saved as PPTX


Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 477138a0570589e8dcecdbfe104a055f432638ce
CPU threads: 12; OS: Linux 6.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Comment 1 Gerald Pfeifer 2025-03-19 19:03:39 UTC
Created attachment 199910 [details]
Document saved as ODP with font embedding requested (worked)
Comment 2 Gerald Pfeifer 2025-03-19 19:04:06 UTC
Created attachment 199911 [details]
Document saved as PPTX with font embedding requested (failed)
Comment 3 m_a_riosv 2025-03-19 21:59:27 UTC
Saving file of comment 3 as xlsx seems to work.
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4957d832c76598e78a57324dad5b4de7345a33e2
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-GB
Calc: CL threaded
Comment 4 Gerald Pfeifer 2025-03-19 23:00:35 UTC
(In reply to m_a_riosv from comment #3)
> Saving file of comment 3 as xlsx seems to work.
:
> CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render:
> Skia/Vulkan; VCL: win

Did you mean attachment 3 in this bug report? The one to try would be
the first, original document.

Either way, what does it mean to save a PPTX as XLSX? Or did you trie
saving as PPTX and that worked? If so, might this be working on Windows
and not on Linux?
Comment 5 m_a_riosv 2025-03-20 11:43:29 UTC
(In reply to Gerald Pfeifer from comment #4)
> (In reply to m_a_riosv from comment #3)
> > Saving file of comment 3 as xlsx seems to work.
> :
> > CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render:
> > Skia/Vulkan; VCL: win
> 
> Did you mean attachment 3 in this bug report? The one to try would be
> the first, original document.
I don't have the SUSE font, so I can only use the second one.

> 
> Either way, what does it mean to save a PPTX as XLSX? Or did you trie
> saving as PPTX and that worked? If so, might this be working on Windows
> and not on Linux?
Sorry my mistake it is PPTX.
Comment 6 Gerald Pfeifer 2025-05-24 13:03:23 UTC
This has become a duplicate of bug 106771 which originally was about
PPT and got changed to cover PPTX whereas this has been about PPTX all
along.

In any case good news as reported over there is that this has been 
implemented and will be in 25.8.

My own tests with yesterday's daily build

  Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
  Build ID: 3158b14e0b26875300a8098bc117a5e69b76f48f
  CPU threads: 12; OS: Linux 6.14; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US
 
confirm this. Both in terms of file system and looking at the
contents of a PPTX exported per the steps listed in the description
of this issue fonts are now included.

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