Bug 161605 - Arrowheads in SVGs exported by Inkscape not being rendered
Summary: Arrowheads in SVGs exported by Inkscape not being rendered
Status: RESOLVED DUPLICATE of bug 159968
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
7.5.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://old.reddit.com/r/Inkscape/com...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-16 20:09 UTC by Evan
Modified: 2024-06-17 13:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample SVG (3.62 KB, image/svg+xml)
2024-06-16 20:09 UTC, Evan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evan 2024-06-16 20:09:09 UTC
Description:
Arrowheads (markers) in SVGs that are exported by Inkscape are not rendered correctly.

There was a discussion on Reddit that determined the underlying cause is that LibreOffice's SVG implementation of the `preserveAspectRatio` marker attribute is broken.

That discussion can be found here: https://old.reddit.com/r/Inkscape/comments/10o970z/markers_arrow_heads_are_not_visible_in/

Steps to Reproduce:
1. Save an SVG with paths that have arrowheads in Inkscape.
2. Insert the saved SVG in LibreOffice impress/writer/etc.
3. Arrowheads are not rendered correctly.

Actual Results:
https://imgur.com/a/vKfrNNY

No arrowheads on paths.

Expected Results:
Visible arrowheads.


Reproducible: Always


User Profile Reset: No

Additional Info:
The SVG renders correctly in Firefox/Chrome.
Comment 1 Evan 2024-06-16 20:09:39 UTC
Created attachment 194766 [details]
Sample SVG
Comment 2 m_a_riosv 2024-06-16 22:29:35 UTC
There have been a lot of improvements about SVG files lately
It works now with:
Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Please update your LibreOffice.
https://www.libreoffice.org/download/download-libreoffice/
Comment 3 Stéphane Guillou (stragu) 2024-06-17 13:19:10 UTC
Your file uses "overflow:visible". The issue was fixed in LO 24.2 with 6eb331934f27993db83a2175d22bdd554a775ad8.

*** This bug has been marked as a duplicate of bug 159968 ***