Skip to content

Fix clip panic at bezier endpoints - #1149

Merged
johannes-wolf merged 1 commit into
cetz-package:0.5.3from
hooyuser:fix-clip-bezier-endpoint-panic
Oct 19, 2026
Merged

johannes-wolf merged 1 commit into
cetz-package:0.5.3from
hooyuser:fix-clip-bezier-endpoint-panic

Conversation

@hooyuser

Copy link
Copy Markdown
Contributor

Fix clip panic at bezier endpoints. Adds regression tests for the corner case from #1145.

Skip curve::intersect_cubics for monotone piece pairs whose y ranges are
disjoint; they cannot intersect and linesweeper panics on such input,
which traps the wasm plugin (panic = "abort"). Adds regression tests for
the corner case from cetz-package#1145.
@johannes-wolf
johannes-wolf merged commit 8f7127b into cetz-package:0.5.3 Oct 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants