Object > Path > Clean Up passed no clipping state into a layer's
objects, so Unpainted Objects removed a clipping layer's compound
clipping path. It also looked inside a group or compound path used as a
clipping path, so Stray Points, Unpainted Objects and Empty Text Paths
removed its members and could leave an empty compound path clipping.
Blank type used as a clipping path was removed too.
The walk now finds a clipping path with Node::clips for layers as well as
groups, and leaves the clipping path and everything it holds as they are,
whatever kind of object it is.
Part of #8296.
DrawSnap::press gathered the snap targets from all the art in the window on
every press, while a hover reuses them until the document's revision, what is
left out, the window or a snapping option changes. Every drawing tool hovers
over the point it then presses, so each Pen click (and each press of the
shape, Type, Artboard and Scissors tools) walked the whole document again for
targets equal to the ones it already held.
A press now gathers only when that key differs from the one the targets were
gathered for, the same check hover makes. The drag a press starts still keeps
the press's targets.
The Scissors test that pressed over a different document under the hover's
revision now gives that document a new revision, since the engine moves the
revision with every change to the document.
Three tests in crates/engine/src/tests/fontlist.rs read the process-wide
font database twice while other tests in the same binary add fonts and
composite fonts to it. A font added between the two reads made the
lists differ, and the installed-family filter did not hide it, because
fonts added with `add_font` count as installed. A stress run of the
engine's font tests failed 4 times in 60.
The font list, Show Similar Fonts and Refresh Font List tests now hold
`test_fonts::steady_fonts` across their reads, as the font menu's tests
do, and compare whole lists. The installed-family filter and the 20-try
generation loop are removed.
PathData::bounds joined only the boxes of segments. A subpath with a
single anchor has no segment, so its point was left out: a path of two
lone anchors such as "M 10 20 M 90 80" measured an empty box at the
origin, and a lone anchor beside a segment did not widen the box. A path
of exactly one anchor already measured that anchor's point.
Each subpath without a segment now adds its anchor's point to the box.
The styles that link type's colors to their swatches were made before
the writer knew whether the type's story would be written. Type written
as its outlines after all (a thread the text document can't hold) left
its style behind, named by nothing. Such a style is now written only
when a story names it.
Since the previous commit they are written on a large canvas too,
where no other art style is: they hold no lengths to scale. The large
canvas warning now says "no art styles of objects", the comment beside
it says why, and the large canvas test (renamed) checks that spot type
there reads back linked with no warning.
A note on the previous commit's message: "the saved file opened with
the type in a plain process color" is only true when the saved file is
read from its editing data (another app, or VectorCraft once the
VectorCraft document it carries no longer matches its pages). A plain
reopen in VectorCraft restores that document and already kept the ink.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The canvas's frame key holds the loaded profiles' generation
(cms::profiles_generation), which every profile load or removal in the
process raises. Four ui-egui tests loaded and removed a profile in the
shared test process, so a canvas test running beside them saw its color
key change between two frames:
a_worker_frame_of_other_color_settings_is_not_shown saw the generation go
from 0 to 2, and a_pan_after_the_settling_frame_copies did not copy the
pan because its key no longer matched the kept frame. Both fail in the
same way when a profile is loaded and removed on another thread in the
middle of the test.
- testing::in_own_process runs one test alone in a child test process,
as the crate's other tests that change process-wide color state
already do.
- The color wheel gamut reload test, the two Proof Setup tests with a
removed profile and the Save PDF summary test with a removed profile
call it first.
The example filter parsed its input with serde_json's default float
parser and handed every object back with its `path`. A coordinate could
come back changed in its last digit, which the host reads as a new path:
a live shape became a plain path after a color-only run, and a compound
path with a hidden, locked or guide member was refused.
The filter now leaves `path` out of each object it returns, so each
object keeps its geometry, as docs/plugins.md advises for a filter that
does not change it. The fixture desaturate.wasm is rebuilt from the
source with build.sh.
Docs: docs/plugins.md.
docs/mcp.md said a near-matched shape becomes the glyph it is closest
to. The command sets every shape in the font that the most selected
shapes match, and among fonts that as many shapes match, in the one
whose glyphs fit them closest in all (crates/engine/src/cmd/retype.rs,
the face votes before the lines are built), so a closer glyph in
another font is not used. The paragraph now says so.
Only the artboard target remembered the document a Color Picker opened
in. A Fill or Stroke picker opened on one document and left open while
another document became active previewed the color on the other
document's selection, and OK painted it there.
The Fill and Stroke targets now carry the opening document's id and
revert count, and the existing artboard check applies to them: preview
and OK wait for the opening document, OK after a switch or a revert is
refused with the same status message, and Cancel leaves the other
document's interaction alone. A picker opened with no document open
does not paint a document opened later.
The dialog keeps its values when another document becomes active, but
its preview and OK then acted on that document: the next frame
previewed the flattening there, and OK flattened its selection.
The dialog now records the document it opened on and that document's
revert count. In another document the preview waits and resumes on
return; OK there, or after the document was reverted, is refused with
the reason and the dialog stays open. Cancel rolls back only the
dialog's own preview, so an edit in progress in another document is
left as it is.
This follows the Transform dialogs (#9584) and the Effect Gallery.
File > Revert keeps the document's id and counts the revert, so OK in a
Smart Punctuation dialog opened before the revert still replaced
punctuation in the restored text. The dialog now records the revert
count with the document and refuses OK with "The document was reverted.
Reopen this dialog to continue." when it has changed, as Artboard
Options does.
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>
When the packs change, poll_language_packs measures the type of every
open document again. A document in the back now has its own composite
fonts lent while it is measured, as measure_back_document does, so type
set in a composite font of the same name as one of the front document's
is not measured in the front document's definition.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- proof.installPack, proof.removePack and proof.packs {refresh} are refused
under automation roots: the shared font store is outside them.
- Plug-ins may not call proof.* (DENIED_PREFIXES), which
plugin_call's every_command_is_reviewed requires of new commands.
- A synchronous install or refresh returns its own result, not one read
back from the shared errors.
- proof.packs reads the jobs before the installed packs, and
poll_language_packs reads busy() before the generation, so an install
that ends between the reads is never missed.
- A pack change measures type with a language of its own again
(refresh_document_text_bounds), so selection boxes and hits follow.
- The tests' Reset cancels and waits for background jobs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The color a one-paint style holds for type was kept whenever its last
paint was a fill color with a swatch. A stroke color set before the
fill's still linked the type, and the style's `Xd` wasn't looked at, so
a style with its fill off gave its color too.
The style now holds the color only when its `Xd` turns on the fill
alone (`0 1 Xd`) and nothing sets a stroke's color or pattern, before
or after the fill's. No file I have writes a style any other way, so
this changes no real file; the pattern a style holds for type is read
as before.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Paragraph Style Options previewed and committed paraStyle.edit in
whichever document was active, so switching documents moved the
preview and OK into the other document, and Cancel could roll back
another document's gesture.
The dialog now records the document it opened on and runs the frame
work of Character Style Options (#9510), moved into a shared
pump_in_opening_document helper: Preview and OK act only in the
opening document, OK is refused while another document is active,
after the opening document closes or while another edit is active in
it, and Cancel rolls back only the dialog's own preview.
File > Revert keeps the document's uid and increments its revert count.
Hyphenation and New Swatch checked only the uid before applying their
held draft, so OK after a Revert applied the draft to the restored
document: Hyphenation set the opening paragraphs' options, and New
Swatch made the opening paint's swatch.
Both dialogs now record the uid and the revert count when they open and
refuse OK with "The document was reverted. Reopen this dialog to
continue." when the count changed, as Justification, Warichu Settings
and Tate-chu-yoko do. New Swatch's suggested name also stops following
the color in a reverted document.
The warning that #8825 (dmytrochornyi) split into converted and kept RGB
images counted each image before it was recoded. An image that is then
left out of the file (its pixels can't be read, or it can only be written
in its own colors) was still counted, and an image that is written as it
is after its pixels can't be decoded for a CMYK destination was counted
as converted to CMYK.
Each RGB image of a CMYK document is now counted once its outcome is
known: converted when the recoded image is written in CMYK, kept when it
is written in RGB, and not at all when it is left out.
Part of #4936. Spelling and hyphenation now read the Language packs
installed in the font store the Craft apps share, and proof.packs,
proof.installPack and proof.removePack list, install and remove them.
Installs need downloading on, which only the person turns on; in the
desktop app they run in the background and the documents are laid out
again when one ends.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci: notify artcraft-services on release state changes
* notify-services: pass only the dispatch token to the shared workflow
secrets: inherit handed every repository and organization secret
(including signing credentials) to an unpinned @main workflow. The
reusable workflow only needs ARTCRAFT_SERVICES_DISPATCH_TOKEN, so
forward just that.
---------
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Resolve the docs history-table conflicts after #9002: keep both sides'
rows, newest first (the G13 2026-11-21 row now sits below main's
2026-11-23 row), and take main's Last reviewed banner in gaps.md,
roadmap.md, target-app-parity.md and ui-parity.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>