Skip to content

clipPath svg not supported #1276

@marijnkampf

Description

@marijnkampf

It seems that the SVG import doesn't support clipPath's, is this a bug or simply not implemented yet?

The sample below is taken from https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath.
When importing the svg for a glyph it should be imported as two circles, but the clipPath is ignored and the rect is imported.

<?xml version="1.0"?>
<svg width="120" height="120" 
     viewPort="0 0 120 120" version="1.1"
     xmlns="http://www.w3.org/2000/svg">

    <defs>
        <clipPath id="myClip">
            <circle cx="30" cy="30" r="20"/>
            <circle cx="70" cy="70" r="20"/>
        </clipPath>
    </defs>

    <rect x="10" y="10" width="100" height="100"
          clip-path="url(#myClip)"/>

</svg>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions