Files
vectorcraft/docs
jmvergesandClaude Opus 5.5 68fdaf8e79 .ai save: type in a spot ink keeps its swatch link
Type in a spot ink or a global process color was saved to the text
document as its process values alone (a /SimplePaint with key 0), so
the saved file opened with the type in a plain process color: off its
ink's plate on separations, and white type in a white ink on none.
Saving warned about it ("swatch links of its colors").

A run's fill or stroke now names (key 5 of a /CAITextPaint) an art
style of one paint, its fill alone on (`0 1 Xd`), whose paint is the
color as a path's fill writes it (`x`, `Xx`, `Xk`, or `Xs` for
Registration). That is the form the .ai reader takes the ink and the
tint from since the previous change; key 0 keeps the process values.
Each style is read back with the reader's own parser before it is
used, and a link is kept only when it gives the same swatch and tint.
Those runs no longer count among the attributes of type left out;
a link to a process swatch that isn't global still does, and the
warning's text now says so.

Test in crates/eps/src/ai_editing/tests.rs. The parity doc has the row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:02:54 +00:00
..
…