xmloff/source/draw/sdxmlexp.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 876378ef6770ae50c37b59c55ad57a7e512fda46
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Oct 14 19:40:59 2025 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Fri Oct 17 23:00:14 2025 +0200

    always output the embed fonts of decomposed pdf
    
    Change-Id: I00659f07a52e9d7ca87a6b89b453bb730c7ff001
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192439
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins

diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 3d9a7c9b0297..0821e97e680d 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -2803,6 +2803,12 @@ XMLFontAutoStylePool* 
SdXMLExport::CreateFontAutoStylePool()
         // gallery elements may not support com.sun.star.document.Settings so 
throws from createInstance
     }
 
+    if (decomposePDF())
+    {
+        mbEmbedFonts = true;
+        mbEmbedUsedOnly = true;
+    }
+
     XMLFontAutoStylePool* pPool = new XMLFontAutoStylePool(*this);
 
     pPool->addModelFonts(Reference<beans::XPropertySet>(GetModel(), 
UNO_QUERY));

Reply via email to