Bug 164651 - PDF export hides/resizes SVG image
Summary: PDF export hides/resizes SVG image
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2025-01-10 01:32 UTC by LeroyG
Modified: 2025-03-14 01:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Four screenshots in one image. (38.04 KB, image/png)
2025-01-10 01:32 UTC, LeroyG
Details
Sample file to test. (42.58 KB, application/vnd.oasis.opendocument.text)
2025-01-10 01:35 UTC, LeroyG
Details
PDF generated from sample (40.58 KB, application/pdf)
2025-01-10 01:46 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LeroyG 2025-01-10 01:32:51 UTC
Created attachment 198458 [details]
Four screenshots in one image.

I created a text document with two page styles, the first with footer and the second with header. There is a SVG image anchored to the header (seen in the first part of the screenshot in the attachment, with light blue background).

I can see the SVG in the print preview window (the second part of the screenshot, with white background), but not in the Print dialog (the third part or the screenshot).

And when exported as PDF (fourth part of the screenshot), there is no image there.

If I paste the same image in Calc, when export to PDF and in the Print dialog I can see a minuscule image, whilst in the print preview window the image size is normal.

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 4; OS: Linux 5.14; UI render: default; VCL: gtk3
Locale: es-MX (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 LeroyG 2025-01-10 01:35:41 UTC
Created attachment 198459 [details]
Sample file to test.
Comment 2 LeroyG 2025-01-10 01:36:12 UTC
I see no problem with:

Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: ee3885777aa7032db5a9b65deec9457448a91162
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: es-MX (es_ES); UI: en-US
Calc: CL threaded

With [x] Use Skia for all rendering.
Comment 3 m_a_riosv 2025-01-10 01:46:45 UTC
Created attachment 198460 [details]
PDF generated from sample

I think no issue with
Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 4 LeroyG 2025-03-13 21:32:16 UTC
Yesterday I updated Linux from 5.14 to 6.4 (and LO from 7.6.2.1 to 24.8.4.2).

I can see the SVG in the Print dialog, and in the document exported as PDF.

So, for me it is resolved (not sure if "worksforme").

Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: es-MX (en_US.UTF-8); UI: en-US
Calc: threaded