Skip to content

Wrong rendering of minified SVG files in iOS15 and below #49

Open
@dhidalgofadrique

Description

@dhidalgofadrique

I'm facing an issue rendering some SVG images which are minified in iOS15 and below, that is, some spaces are removed inside the path to reduce svg size. In those cases (minified ones) the image is rendered missing some paths. It can be checked using these two images:

Minified Normal
minifiedVersion normalVersion

As you can see the "+" is not rendered in the minified version:

NormalMinified

As far as I've could investigate the problem occurs in the arc paths (the ones starting with a) in which this format:

a.689.689 0 0 1 0 1.377

is replaced by this one:

a.689.689 0 010 1.377

Both images are shown correctly in any SVG viewer. Anyone facing this issue too?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions