shaping: build swash without overflow checks in dev #228
No reviewers
Labels
No labels
Area/ci
Area/cli
Area/client
Area/client-core
Area/daemon
Area/deps
Area/docs
Area/grid
Area/manual
Area/nix
Area/protocol
Area/pty
Area/render
Area/shaping
Area/skills
Area/transport
Area/vt
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Security
Kind/Testing
perf-regression-accepted
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Blocked
Status
Need More Info
Status
Upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
felis-terminal/felis!228
Loading…
Reference in a new issue
No description provided.
Delete branch "shaping/swash-dev-overflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A debug client panicked in swash 0.2.10 (still the latest release) when it shaped a non-flag regional-indicator pair such as 🇦🇦. A GSUB multiple substitution in Noto Color Emoji maps a glyph to an empty sequence, and swash computes
seqlen - 1; itsextendonly addscounttousizefields, so the release-build wrap is the intended decrement.Cargo.toml:overflow-checks = falsefor swash in the dev profile (test and mutants inherit it), so dev and test builds match what ships.felis-shaping: a test that shapes U+1F1E6 U+1F1E6 against the pinned test fonts; it panicked before this change.Closes #22
Pull request closed