Skip to content

Crash when contour only contains a move (CWS, probably VWS too) and you attempt to create a Piecewise<T> #24

@ctrlcctrlv

Description

@ctrlcctrlv

The workaround for this is known to be to add another point, and make a very tiny line, averting the crash, but still giving the dot the appearance of one:

image

I should probably do a Fixup in the stroking utilities we provide, and inside Fixup start calling a function to drop all "contours" of len 0 and adding a point a small ε away on contours of len 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomersworkaround-availableA workaround, described in the thread is available.workaround-kinda-sucksThe workaround is inconvenient but not that bad.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions