vectorcraft/crates/engine
bflatastic cee73d03a3 #1025: .ai editing data keeps sublayers with global colours and pattern fills
The editing-data reader stopped on `Xk`/`XK` (global process colours) and
on `p`/`P` (pattern fills), so the file fell back to its PDF part, which has
only the top-level layers.

- `Xk`/`XK` read like `Xx`: a global swatch (not a spot ink), linked at its tint.
- `%AI3_BeginPattern` sections are read by a reader of their own into
  pattern swatches (tile from `(name) llx lly urx ury`, art in pattern space);
  `p`/`P` fill or stroke with them, placed by the operator's matrix. A pattern
  it can't read whole still makes a fill with it unreadable, as before.
- Tests on synthetic editing data; fuzz tokens and fixture extended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 06:04:48 +07:00
..
src Review: guides on hidden or locked layers, and through layer commands 2026-10-11 06:03:48 +07:00
tests #1025: .ai editing data keeps sublayers with global colours and pattern fills 2026-10-11 06:04:48 +07:00
Cargo.toml Read Illustrator EPS and .ai layers from their editing data 2026-10-09 03:49:49 -04:00