Created attachment 201825 [details] Sample .emf file After upgrading from 24 to 25 version, the following command "soffice --headless --convert-to pdf...." produce empty PDF file for .svg, .emf and .emz image formats. The above image formats can't be converted to PDF using 25.2.4.3 version but works ok in version 24.8.
*** Bug 167532 has been marked as a duplicate of this bug. ***
Can not confirm on Windows build of 25.8.0.1 Can open the EMF into Draw and then exporting to PDF with lossless compression. Also no issue working headless from a command line: soffice.exe --headless --convert-to pdf:draw_pdf_Export -outdir "C:\temp" tdf167531_1726966463_agMFe.emf" =-testing-= Version: 25.8.0.1 (X86_64) Build ID: 127f2cf27c25aaac008a1045ebfed22015cb3064 CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
works fine for me. Version: 25.2.4.3 (X86_64) / LibreOffice Community Build ID: 33e196637044ead23f5c3226cde09b47731f7e27 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP Calc: threaded
I get this: ./instdir/program/soffice --headless --convert-to pdf /home/bogdan/Desktop/1726966463_agMFe.emf /home/bogdan/core/core/instdir/program/soffice.bin: symbol lookup error: /home/bogdan/core/core/instdir/program/libtklo.so: undefined symbol: _ZTIN10comphelper26OAccessibleComponentHelperE
(In reply to BogdanB from comment #4) > I get this: > ./instdir/program/soffice --headless --convert-to pdf > /home/bogdan/Desktop/1726966463_agMFe.emf > /home/bogdan/core/core/instdir/program/soffice.bin: symbol lookup error: > /home/bogdan/core/core/instdir/program/libtklo.so: undefined symbol: > _ZTIN10comphelper26OAccessibleComponentHelperE But the result is fine?
(In reply to Buovjaga from comment #5) > (In reply to BogdanB from comment #4) > > I get this: > > ./instdir/program/soffice --headless --convert-to pdf > > /home/bogdan/Desktop/1726966463_agMFe.emf > > /home/bogdan/core/core/instdir/program/soffice.bin: symbol lookup error: > > /home/bogdan/core/core/instdir/program/libtklo.so: undefined symbol: > > _ZTIN10comphelper26OAccessibleComponentHelperE > > But the result is fine? Working well with 26.2 bogdan@bogdan-HP:~/Documente/core/core$ ./instdir/program/soffice --headless --convert-to pdf:draw_pdf_Export /home/bogdan/Desktop/1726966463_agMFe.emf convert /home/bogdan/Desktop/1726966463_agMFe.emf as a Draw document -> /home/bogdan/Documente/core/core/1726966463_agMFe.pdf using filter : draw_pdf_Export Working well with 25.2 bogdan@bogdan-HP:~/Documente/linux-64-25.2$ ./instdir/program/soffice --headless --convert-to pdf:draw_pdf_Export /home/bogdan/Desktop/1726966463_agMFe.emf convert /home/bogdan/Desktop/1726966463_agMFe.emf as a Draw document -> /home/bogdan/Documente/linux-64-25.2/1726966463_agMFe.pdf using filter : draw_pdf_Export Working well in 25.8 bogdan@bogdan-HP:~/Documente/linux-64-25.8$ ./instdir/program/soffice --headless --convert-to pdf:draw_pdf_Export /home/bogdan/Desktop/1726966463_agMFe.emf convert /home/bogdan/Desktop/1726966463_agMFe.emf as a Draw document -> /home/bogdan/Documente/linux-64-25.8/1726966463_agMFe.pdf using filter : draw_pdf_Export
Working well also from Draw, from opening the app normally and exported as PDF.
Inna: which Linux distribution are you using?