Skip to content

Fix default value for %/missing SVG height/width #441

@abey79

Description

@abey79

Relevant conversation: https://ptb.discord.com/channels/499297341472505858/748589023731122277/959115720208310332

In a nutshell: in cases where widht/height is missing (or in percent units), viewBox should be used. By providing values for width/height to svgelement.SVG.parse(), vpype precludes svgelement to perform this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions