Skip to content

Tiny frontend crashes on SVGs with empty path segments #2

Description

@Arusekk

Example reproducer:

<svg height="210" width="400" xmlns="http://www.w3.org/2000/svg">
  <path d="M150 5 L75 200 L225 200 Z M100 50"
  style="fill:none;stroke:green;stroke-width:3" />
</svg>

Cause: freetype does not handle this edge case well, need some workaround in plot_path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions