mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 15:21:17 -05:00
6ea1132e5c
Five assertions accepted wrong results:
- Freeform: a point split half way along a Catmull-Rom segment must be
at x = 43.75, not anywhere between the two ends.
- Diamond gradient pixels: the center is exactly white and the corners
exactly black, instead of a bound that accepted white scaled to 220.
- Ruby: the default reading is half the base size (ratio 0.5), where
the old bound accepted 70%.
- Caret Up/Down: the caret lands on the stop nearest the column, where
the old 12 pt tolerance accepted a neighboring stop.
- Hyphenation defaults: a frozen hash of line breaks is replaced with
explicit breaks ("The lan-" / "guage", "The gar-" / "den") and hyphen
flags for both composers, ragged and justified.
Each new assertion fails when the behavior it checks is broken.