Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ctrlcctrlv opened this issue Dec 31, 2021 · 0 comments
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.

Comments

@ctrlcctrlv
Copy link
Contributor

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.

@ctrlcctrlv ctrlcctrlv added bug Something isn't working good first issue Good for newcomers labels Dec 31, 2021
@ctrlcctrlv ctrlcctrlv added workaround-available A workaround, described in the thread is available. workaround-kinda-sucks The workaround is inconvenient but not that bad. labels Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant