category_fields now returns the rows that carry a description, so the
Hold Shortcut Delay test's UI closure discards the value, as the other
prefs_dialog tests do.
With #8144, an edge pixel between black and white is read as a blend of
black and white when paths of up to 5 steps reach past a gray between
them both ways. On edges blurred by 0.6 pixel, the outer pixels of a gray
band 3 or 4 pixels wide along black also met that rule: their first step
outward is white, and the path toward black crosses the band's gray. A
3 px band at that blur kept 16 of its 48 samples gray, against 46 before
#8144.
When the first step of one path already stands for its color (the edge
on that side is sharp), the other path now stops at a pixel of the gray
it comes to before getting past it. Bands 2 to 4 pixels wide blurred by
0.6 pixel keep 306 of their 432 samples gray (207 with #8144, 324 before
it). Edges blurred by 1 to 3 pixels trace as with #8144, except that a
light gray (230) blurred by 1.5 pixels leaves at most 4 slivers of up to
3 pixels beside the disc.
The band test now also runs at blurs of 0.6, 1 and 3 pixels, the spoke
test at 2 pixels, and the stroke test's ranges are the measured ones.
The docs state the distance rule as the code computes it and limit each
measured claim to the blur it was measured at.
Under Include Bleed, a PDF row that sets no bleed now keeps the bleed values a saved PDF preset writes out and turns on useDocument, instead of replacing the whole bleed object. Its file key then matches a row of the same preset that asks for the document's bleed, so the two rows write one PDF.
links.unembed now reads `ids` of one image as `id`, and `id` with
`folder` as `ids` of that image, as the other commands that name both
keys do. `id` with `ids`, and `path` with `folder`, are refused with the
shared "give `a` or `b`, not both" error, in a replayed step too, and the
catalog rows for the old combined message are removed.
The export walks for type and fonts and the artboard crop shared one
SymbolBoxes for every object. A SymbolBoxes also holds measuring budgets
(effect reaches, 9-slice placements), so in a large document objects late
in a walk could be measured by estimates where main measured them exactly.
SymbolBoxes::unmeasured makes new boxes that share the name index, and each
object is measured in boxes of its own again.
- The live-object walk (render/src/live.rs) finds symbols through the
frame's SymbolBoxes.
- SVG export's filter regions measure each object in unmeasured boxes, and
the region boxes share the writer's index.
- SVG import keeps each imported symbol's index, so a symbol whose art
holds instances no longer scans or indexes the list again.
- Object › Rasterize's clipping mask is left as it is on main, with
drawn_outline_with removed.
- The symbol-read-count feature of vectorcraft-doc gives other crates'
tests vectorcraft_doc::symbols_read. New tests check that a frame, an SVG
export, a PDF export, the type walk and the artboard crop read the symbol
list once among 2,000 symbols and 300 instances with drop shadows.
A symbol dragged from the Symbols panel carries the document it came from. Dropped on the canvas after another document became active, it no longer places a same-named symbol of the active document: symbol.placeFromDocument adds the dragged symbol, with the symbols and resources its art uses, and places it in one undo step. A symbol with the same name, art and Symbol Options is reused; one with the same name but other art or options is added under a free name. The pointer chip shows the dragged symbol, and a symbol whose document was closed places nothing.
The Actions panel menu has Replace Actions… after Load Actions…. It
opens an action set file and replaces every set in the panel, the
built-in Default Actions set included, with the file's set, which keeps
its name and becomes current and selected. It reads .vcactions and .aia
files as Load Actions… does, with the same limits and reports. The item
asks no question first and is off while an action records or plays.
- ui.actionSet.replace {path? | data?} runs it and returns
{changed, set, name, actions} with Load's reports. Omitted params
count as {}; another type or key, or a path or data that is not a
string, is an error.
- A canceled pick, or a file that can't be read or is refused (an empty
one too), changes nothing. Replace records no undo step.
- Replace clears what named the old sets as Reset Actions does, and the
two share that code.
Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md.
A flattener option field holding a value of the wrong type showed the default preset's value, and typing that same value committed nothing, so OK kept failing. Such a field now shows blank, and every control the user sets writes its option into the dialog's fields, also when the value equals the one shown. This applies to Flatten Transparency and to EPS Options' Custom Transparency Flattener Options.
While a font is previewed from the menu, the Document filter reads the
document as it was before the preview, so the family the previewed text
had stays listed and the rows do not move under the pointer. A pick or
an undo still lists the families again.
- The warning now says a line does not change the result's shape,
since Unite, Intersect, Exclude and Minus Back still give the result
the frontmost object's paint, a line's included. The rows in every
complete-message catalog follow.
- When a closed path without area leaves the result empty beside a
line, the error no longer names the line: the check that decides
whether the line emptied the result now keeps closed paths among the
other shapes and leaves out only open paths that enclose no area.
- node_path's doc comment is back on node_path.
- docs/mcp.md adds a line in front in Minus Back to the cases whose
error names the line.
- The test adds a line in a compound path, a group of a line and a
square selected alone, a line in front in Minus Back, and a flat
closed path beside a line in Intersect.
The Variables panel built its rows on every frame while it was open: the
list's order, each variable's bound objects and object name, and each data
set's drift check, which reads the text of every bound story and the data of
every bound graph. The rows are now kept and built again only when the
document version, the list's order, Identify Objects By, the interface
language or the document's new art on a locked artboard changes. The
selection and the highlighted row are still read on every frame, and the
rows are the same as before.
A symbol dragged from the Symbols panel, in thumbnail view or a list
view, and released on the Delete Symbol button is deleted as a click on
the button deletes it: the dragged symbol, not the current one, goes
through the same questions, the Alt rule for an unused symbol and one
undo step. A symbol that Select All Unused picked deletes every picked
symbol still unused; a symbol outside the pick is deleted on its own.
The button is outlined while a symbol of the active document is held
over it, and a library symbol, art, a name the document no longer has or
a symbol dragged from another document is ignored.
- A dialog's Enter no longer confirms a dialog that its body opened in
the same frame, so Enter on the focused Custom… button opens Custom
Transparency Flattener Options instead of confirming them at once.
- With an option out of range or of the wrong type, changing another
option in Custom Transparency Flattener Options or Flatten
Transparency writes only that option, so the values entered stay and
OK still refuses them.
The Contextual Task Bar and the Control bar check, each time they are
drawn, whether the selection holds a color that Recolor Artwork can
change. The check walked the whole subtree of each selected object even
after the first color, so with one large group selected, the check read
every paint in the group.
- Node::try_walk visits in walk's order and ends at a ControlFlow::Break.
- swatches::node_has_colors stops at the first color node_colors would
visit; node_colors now runs the same visitor without stopping, so the
two read the same nodes and paints in the same order.
- has_colors in the task bar uses node_has_colors.
The result is the same for every selection. On one group of 100,000
paths, the check takes 16 ns instead of 14.5 ms when the first path is
filled; when only the last path is filled, or none is, it costs about
what the full walk costs.
A Document chip beside the star filter lists only the font families that
type in the current document is set in, as the quick filter on the font
browser overview help page describes:
https://helpx.adobe.com/illustrator/desktop/design-with-text/fonts-and-scripts/font-options-overview.html
The filter combines with search, script, kind, Variable, favorites, Recent
Fonts and Show Similar Fonts, steers the closed field's wheel, follows
edits and undo while the menu is open, and is shared by every font menu
for the session. Type in hidden, locked and masked objects, symbols,
patterns and graph designs counts; a composite font lists under its own
name; a family the document names but the computer lacks is not listed.
A document without available fonts lists nothing with its own message,
and with no document open the chip is unavailable.