Bug 161720 - SVG rendered incorrectly
Summary: SVG rendered incorrectly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
6.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2024-06-20 16:32 UTC by Kurt Huwig
Modified: 2024-06-25 09:12 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
expected appearance (59.52 KB, image/png)
2024-06-20 16:32 UTC, Kurt Huwig
Details
actual appearance (21.00 KB, image/png)
2024-06-20 16:32 UTC, Kurt Huwig
Details
SVG file (29.66 KB, image/svg+xml)
2024-06-21 14:13 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Huwig 2024-06-20 16:32:12 UTC
Created attachment 194862 [details]
expected appearance

The node diagram of the kubernetes tutorial is rendered incorrectly.

To reproduce:

1. download https://kubernetes.io/docs/tutorials/kubernetes-basics/public/images/module_01_cluster.svg
2. import it into an Impress presentation

Expected: the little hexagon is in the middle of the big hexagon
Actual: the little hexagon is moved to the left and down
Comment 1 Kurt Huwig 2024-06-20 16:32:26 UTC
Created attachment 194863 [details]
actual appearance
Comment 2 m_a_riosv 2024-06-21 02:02:18 UTC
Reproducible
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d7aeaeafc32f78ca38942868f965bae0e6c376b1
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Xisco Faulí 2024-06-21 14:13:19 UTC
Created attachment 194884 [details]
SVG file
Comment 4 Xisco Faulí 2024-06-21 14:17:47 UTC
Reproduced in

Version: 6.0.0.0.alpha1+
Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3; 
Locale: es-ES (es_ES.UTF-8); Calc: group threaded
Comment 5 Xisco Faulí 2024-06-25 09:12:57 UTC
I think the problem is related to how the viewBox is handled inside the symbol. If '     viewBox="-68.6 -66.9 137.2 133.9"' is removed, then other svg viewers show it the same way a LibreOffice