Crash when contour only contains a move
(CWS, probably VWS too) and you attempt to create a Piecewise<T>
#24
Labels
bug
Something isn't working
good first issue
Good for newcomers
workaround-available
A workaround, described in the thread is available.
workaround-kinda-sucks
The workaround is inconvenient but not that bad.
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:
I should probably do a
Fixup
in the stroking utilities we provide, and insideFixup
start calling a function to drop all "contours" of len 0 and adding a point a small ε away on contours of len 1.The text was updated successfully, but these errors were encountered: