vcl/source/gdi/embeddedfontsafdko.cxx |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

New commits:
commit 6f34d8be53cca8e33304aad537da2649f7fb8d2e
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Sep 30 13:48:16 2025 +0100
Commit:     Miklos Vajna <[email protected]>
CommitDate: Thu Oct 2 15:23:10 2025 +0200

    output equivalent commands for debugging
    
    Change-Id: I2f2eef16932a2dd8047a54597cb1e765c3daa29d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191682
    Reviewed-by: Miklos Vajna <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/vcl/source/gdi/embeddedfontsafdko.cxx 
b/vcl/source/gdi/embeddedfontsafdko.cxx
index d97888324f47..36cc6447d274 100644
--- a/vcl/source/gdi/embeddedfontsafdko.cxx
+++ b/vcl/source/gdi/embeddedfontsafdko.cxx
@@ -19,8 +19,9 @@
 
 #if HAVE_FEATURE_PDFIMPORT
 
-#include <vcl/embeddedfontsmanager.hxx>
 #include <osl/file.hxx>
+#include <rtl/strbuf.hxx>
+#include <vcl/embeddedfontsmanager.hxx>
 #include "afdko.hxx"
 
 static bool convertTx(txCtx h)
@@ -150,11 +151,18 @@ bool EmbeddedFontsManager::mergefonts(const OUString& 
cidFontInfoUrl, const OUSt
         return false;
 
     OString cidFontInfoPathA(cidFontInfoPath.toUtf8());
+    OString destFilePathA(destFilePath.toUtf8());
+
+    OStringBuffer aBuffer;
+    for (const auto& path : paths)
+        aBuffer.append(" "_ostr + path);
+    SAL_INFO("vcl.fonts",
+             "mergefonts -cid " << cidFontInfoPathA << " " << destFilePathA << 
aBuffer.toString());
+
     readCIDFontInfo(h, const_cast<char*>(cidFontInfoPathA.getStr()));
 
     setMode(h, mode_cff);
 
-    OString destFilePathA(destFilePath.toUtf8());
     dstFileSetName(h, const_cast<char*>(destFilePathA.getStr()));
     h->cfw.flags |= CFW_CHECK_IF_GLYPHS_DIFFER;
     h->cfw.flags |= CFW_PRESERVE_GLYPH_ORDER;

Reply via email to