Description: A document with an SVG image does not export correctly to PDF Steps to Reproduce: 1.Open attached file "Document" 2. Export to PDF 3. Open PDF Actual Results: The image in the PDF is wrong. Expected Results: The image in the PDF should be correct. Reproducible: Always User Profile Reset: No Additional Info: I attach the SVG, ODG and PDF files
Created attachment 189662 [details] File SVG
Created attachment 189663 [details] File ODG
Created attachment 189664 [details] File PDF - macOS
I open odg file and export in PDF with LibreOffice Version: 7.6.1.2 (X86_64) / LibreOffice Community Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: it-IT (it_IT); UI: it-IT Calc: threaded PDF is blank, with no image. Test confirmed.
Created attachment 189734 [details] File PDF - Win
Reproducable in LO 24.8.0.0.alpha+ under Windows 10(x64).I got only an oval shaped output in pdf export from the SVG file. Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 4871de96cb5e31e5ab06cf97e02e09e0e04a4de8 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-IN (en_IN); UI: en-US Calc: threaded
Regression introduced by author Xisco Fauli <xiscofauli@libreoffice.org> 2022-07-15 02:14:53 +0200 committer Xisco Fauli <xiscofauli@libreoffice.org> 2022-07-15 19:10:12 +0200 commit 82c0a363abbceac6464b62c3571aa3225415c7db (patch) tree 414e362ea36ac1ff556c74c5d4af139804e31d21 parent babd850db840eebd59b71730b446c0d89de87d3a (diff) tdf#97539; if parent is css style, look one level up Bisected with bibisect-linux64-7.5 Which is really weird. I'll take a look anyway
Same issue if we break the image or import the svg in Impress and go to presentation mode. This is very similar to bug 158743
Hi Armin, Since you fixed bug 158743 recently I thought you might be interested in this issue
Page empty on PDF export using Version: 24.8.0.3 (X86_64) / LibreOffice Community Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
I can reproduce the bug on MacOS Version: 24.8.0.3 (X86_64) / LibreOffice Community Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583 CPU threads: 4; OS: macOS 12.7.6; UI render: Skia/Raster; VCL: osx Locale: pt-PT (pt_PT.UTF-8); UI: pt-PT Calc: threaded
Created attachment 196018 [details] Hacky debug patch I did some debugging and found a hacky way to stop the bug from occurring. My debug patch isn't a fix, but it shows that we can't return a css style that begins with "clipPath". Who knows why, but it is one more piece of data. Another piece of data is that when this bug occurs (during export to PDF and slideshow), the function in my debug patch is called while replaying a metafile. Not sure if that is just a coincidence or not.