Skip to content

SVGs render incorrectly #1566

@nepcore

Description

@nepcore

I am using Freya 0.4.0-rc.10 on Linux (specifically Wayland)

When I attempt to render an SVG some paths end up missing. I have tried using the integrated Lucide icons as well as downloading the SVG files from the Lucide website and get the same result. The antenna icon used in the examples renders as follows (note the missing horizontal line):
Image

When removing the path that isn't rendered from the SVG file the render output doesn't change so it seems to be something specific to that path. For the antenna icon the problematic path is <path d="M4.5 7h15"/>. I also tried the house icon from Lucide which also gets rendered with one path missing, there the problematic path is <path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>. Both of these paths use decimals while all of the other paths in either SVG exclusively use integers so I assume that's what causes the issue.

Metadata

Metadata

Assignees

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions