Bug 157302 - SVG does not exported correctly to PDF
Summary: SVG does not exported correctly to PDF
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.6.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2023-09-18 08:35 UTC by José Luís Andrade
Modified: 2024-01-26 10:12 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
File SVG (8.50 KB, image/svg+xml)
2023-09-18 08:36 UTC, José Luís Andrade
Details
File ODG (25.79 KB, application/vnd.oasis.opendocument.graphics)
2023-09-18 08:37 UTC, José Luís Andrade
Details
File PDF - macOS (11.14 KB, application/pdf)
2023-09-18 08:37 UTC, José Luís Andrade
Details
File PDF - Win (1.78 KB, application/pdf)
2023-09-21 11:20 UTC, José Luís Andrade
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Luís Andrade 2023-09-18 08:35:34 UTC
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
Comment 1 José Luís Andrade 2023-09-18 08:36:43 UTC
Created attachment 189662 [details]
File SVG
Comment 2 José Luís Andrade 2023-09-18 08:37:16 UTC
Created attachment 189663 [details]
File ODG
Comment 3 José Luís Andrade 2023-09-18 08:37:34 UTC
Created attachment 189664 [details]
File PDF - macOS
Comment 4 IvoErMejo 2023-09-18 08:45:18 UTC
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.
Comment 5 José Luís Andrade 2023-09-21 11:20:37 UTC
Created attachment 189734 [details]
File PDF - Win
Comment 6 Rajasekaran Karunanithi 2023-12-30 21:39:55 UTC
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
Comment 7 Xisco Faulí 2024-01-02 11:41:53 UTC
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
Comment 8 Xisco Faulí 2024-01-26 09:46:19 UTC
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
Comment 9 Xisco Faulí 2024-01-26 10:12:18 UTC
Hi Armin,
Since you fixed bug 158743 recently I thought you might be interested in this issue