mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 08:51:49 +00:00
ISO 32000-2 §8.5.2.1, Table 58: h "terminates the current subpath. Appending another segment to the current path shall begin a new subpath, even if the new segment begins at the endpoint reached by the h operation." kurbo carries a segment after ClosePath on from the subpath start without a MoveTo, so resolve_degenerate_subpaths saw "h" then an "l" back to that point as part of the closed subpath, and the round-cap dot of that degenerate subpath was lost (main drew it, through the nudge this PR removed). l, c, v and y after h now start with a MoveTo to the point h reached. Review on #4410 (CodeRabbit, vendor/hayro-interpret/src/interpret/mod.rs). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCfwzyRXj4VfQAVVdv