Files
craft-libs/scripts
dotCooCoo 9aa0870fe7 linesweeper: the paperjs image check counts a difference in alpha
`pixmap_distance` in `tests/paperjs.rs` compared only red, green and
blue. The test fills both shapes with opaque black on a transparent
pixmap, so a covered pixel and an empty one have the same color and the
distance was 0 for any result. The distance now also counts the alpha
difference, and `pixmap_distance_counts_coverage` checks that a filled
pixmap and an empty one are at distance 1.

`scripts/test-pdf-backends.sh` and `README.craft.md` run the `paperjs`
test as well. The package does not include the `boolean-test/data/`
files the test reads, so here it runs only the new test.

The change is recorded in `SOURCE.json`, the Local changes table in
`README.craft.md` and `NOTICE`.
2026-11-07 03:30:35 -08:00
..