The OpenType panel menu gains a Stylistic Sets submenu after Reset
OpenType Features. It lists the same sets, labels and checks as the
panel's Stylistic Sets button, and a set chosen there turns on or off
for the characters the panel acts on in one undo step, keeping their
other features. The submenu is disabled with no text selected or when
the font offers no sets.
The hatch over the region under the pointer, and over each region a drag
has touched, tested every flattened edge of the region on every hatch
line, on every repaint. The edges are now sorted by their lower end once,
and each line tests the edges that span it (plus any edge with a NaN or
infinite end height, which keeps the old test on every line). The
crossing test, the crossing formula, the sort and the pairing are
unchanged, so the hatch lines are the same coordinate for coordinate.
Tests compare every coordinate's bits against a copy of the old function
on 12 paths at three gaps, check the sweep's crossings line by line
against the old test, and count the edges tested on a 2,000-sided region.
action.batch refused a bad step before any file opened as `commands[i]`,
counted from 0, while a step that failed as it ran was named
`action step N (`id`)`, counted from 1. A step whose params its command
refused gave only the command's own error, without saying which step it
was.
- The checks before the batch (no command, an unknown command, a nested
batch, prefs.import) now name the step as `action step N (`id`) failed:`,
from 1, as the runtime errors do. A long unknown id is cut short in the
message, as an unknown key is.
- The parameter check names the action.batch step whose params it
refuses the same way. command.batch keeps passing the step's error on
as it is.
- Override Open matches only document.open, and Override Save only
document.save and file.saveAs: file.open, file.save and document.close
are not engine commands, and a step with one is refused as unknown.
The params text no longer lists them, and docs/mcp.md says a step with
file.open or file.save is refused as an unknown command.
- The success level takes a new `success` theme token (the same green)
instead of the 3D axis color.
- docs/mcp.md names the plug-in conditions for `vc_call`, says no step is
recorded while a drag or typing is in progress, says a failed script run
keeps the messages it raised, and names the headless MCP server and
`vectorcraft-cli run` as the sessions without a window. Lines wrap like
the rest of the file.
- The params text and the error say "whitespace", which is what the check
rejects.
- A new test runs a script that draws, raises a message and throws: the
drawing is put back and the message is kept.
- The long-message test also checks that the stack stays inside the
window.
- The evidence line in docs/target-app-parity.md moves after the Scripts
entries.
When two stops share an end's offset, Level 2's stepped bands pad past
that end with the end stop's color and a Level 3 shading pads with the
color of the stretch next to it. The plate clip now decides whether the
padding is paper white by the color the painter in use draws, so a
paper-white padding no longer knocks out the ink below at Level 2, and
an inked one is no longer drawn over the ink below at Level 3 where the
shading pads with paper white.
path.freehand ignored a connect given without extend and drew a new
path. It now refuses it with "connect needs extend". A connect given
with extend is checked (its id, a path other than the one extended
with an open end, and an end of "start" or "end") before a stroke of
one point returns, so a bad connect is refused there too, and
brush.freehand no longer changes the path's brush or the selection
before refusing it. A null connect is still a key left out.
Docs: params text, docs/mcp.md, docs/target-app-parity.md. i18n: the
new message in the catalogs that carry the other connect messages.
An EMF or WMF export with Use Artboards applied the document's live
effects (geometry effects, and symbol art with effects) once for each
chosen artboard. vectorcraft_metafile::export_regions now checks every
region, applies the effects once and writes one metafile per region.
export is its one-region case, and the engine's encode calls
export_regions once for all chosen artboards. Each file's bytes and
warnings are unchanged.
Redefine Symbol chosen from the Symbols panel menu with Shift held now
updates the symbol and its instances from the selected art and leaves
that art as ordinary art, as the Edit symbols help page describes
(https://helpx.adobe.com/illustrator/desktop/manage-objects/traces-mockups-symbols/edit-symbols.html).
Without Shift the art still becomes an instance.
- symbol.update takes keepArt (default false). With true the art keeps
its ids, layer and stacking position and stays selected, apart from
art that is hidden or locked, and the result's id is null. A keepArt
that is not true or false is an error.
- Redefining the symbol being edited with keepArt still leaves symbol
editing mode in the same undo step.
Docs: docs/mcp.md, docs/target-app-parity.md.
Each pane other than the current document's, under Window > Arrange >
Tile and in floating document windows, made and flattened the outlines
of its document's selected objects on every frame, and with more points
than are outlined it measured the bounds of every selected object on
every frame. The pane now keeps the outline shapes by slot and makes
them again when the document's revision, the document, the selection or
the pane's screen mapping changes. The shapes drawn are the same as
before. A pane with View > Edges off keeps none, and the outlines of
panes that no longer show are dropped with the pane's other state.
With every object selected, one frame of a pane's outlines with their
tessellation takes 28.9 ms of CPU time in a release build instead of
40.1 ms for 20,000 rectangles, 116.7 ms instead of 197.2 ms for 20,000
ellipses, and 0.05 ms instead of 32.0 ms for 150,000 rectangles (medians
of seven interleaved runs of 20 frames, pane_outlines_timing).
Each round of the repeated hit test that Select Behind uses in isolation
mode and in Edit Contents skipped the objects already found by searching
the found list, which made one Cmd/Ctrl-click cubic in the number of
objects under the point. A set beside the ordered list answers the same
lookups, so the objects and their order do not change.
A test compares the set lookup with the list lookup on random documents
for every object isolated in turn, and an ignored timing test measures
both on 200 and 1,000 stacked objects.
The size buttons are activated by Enter when focused. The key was still
read as the list's Enter, which applied the highlighted font and closed
the menu. The button now consumes the key when it handles it, and a test
presses Enter on the focused Large button.
A graphic style dragged onto another style in the Graphic Styles panel
with Alt held gives that style the dragged style's look. The replaced
style keeps its name, place and id, and the art still linked to it
takes the new look in one undo step; the dragged style and its art stay
as they are. Without Alt the style moves, as before.
graphicStyle.redefine takes {name, from} for this. A style dropped on
itself, or on a style with the same look, records nothing. A `from` that
names no style or is not a string, or `from` with `id`, is an error.
A Type tool click, or a Selection or Direct Selection double-click, on
type whose story is drawn in a font that isn't available as named (a
missing family, or a style its family lacks) now opens a question that
names those fonts instead of starting to edit. OK starts editing with
the caret where the type was clicked; Cancel leaves the document, its
undo history and the selection as they were. Each new edit asks again;
a click within the type being edited, or in another frame of its story,
does not. The fonts the type names are not changed.
The check reads only the clicked story's runs. As in text.missingFonts,
it leaves out CSS generic families and names over 256 bytes; it also
skips inline graphics and empty runs. The CSS generic family list moves
to vectorcraft-text so both share it. The question is the
missingFontEdit dialog, answered through the Type tool's
missingFontEdit option.
The Document filter listed the families of type in layers, symbols,
patterns and graph designs, but not type kept in the art of a stored
brush. A scatter brush draws copies of its art along a stroke, type
included, so a family used only there was missing from the filter.
The filter now reads the stored brush library and counts type in each
scatter brush's art. Art and pattern brushes leave type out when they
bend their art, so their type is not counted. Malformed library
entries are skipped.
Ellipse Properties in the Transform panel and the Properties panel's
Transform section now has a Constrain Pie Angle link beside Pie Start and
Pie End Angle. While it is on, a typed angle moves the other angle by the
same amount, so the pie keeps its size, as the help page describes:
https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/live-shape-properties.html
- object.setLiveShape takes constrainPie with one of pieStart and pieEnd.
Every selected ellipse keeps its own span in one undo step; an angle
equal to the current one records none. constrainPie with both angles,
with neither, or with invertPie is a parameter error.
- VectorCraft's own rules: the link is off at every launch and is not
saved; the two panels share it; the span is counted counterclockwise
from the start angle to the end angle, across 0 degrees; a whole ellipse
stays whole; after Invert Pie the swapped span is kept; the on-canvas
pie widgets still move one angle at a time.
Docs: docs/mcp.md, docs/target-app-parity.md.
object.setLiveShape reports no change when the rounded ends stay where they
are. The Line Length and Line Angle fields send every edited value in one
call, so a length committed in the same frame as an angle step is applied.
File Info refuses a value with control characters with one of two whole
messages, "{k} has control characters" and "{k} has control characters
or line breaks". The cs, fr, hu, ja, ka, ko, nl, ru, tr and zh-hant
catalogs still had a row for the single message those two replaced,
"{k} has control characters{_1}", which no message uses. The rows are
removed, and a test checks that no catalog has a row for that message.
Leaving isolation mode in a Live Paint group drawn in another isolated
Live Paint group, and that group too (object.exitIsolation, or
object.isolate on a level outside both), now adds the drawn paths to each
group, innermost first, one undo step each, so the inner group joins the
outer one. Before, only the innermost group took its paths, and the inner
group and the paths drawn directly in the outer group stayed beside the
outer group's faces.
A Live Paint group drawn in another one now counts as drawn art: its
hidden sources group no longer keeps it out of the outer group.
A PostScript plate has no blending modes, so an overprinting gradient
whose stops mix zero and nonzero ink of a plate was drawn whole on it,
and its paper-white part knocked out the ink below.
On a plate, the EPS writer now clips an overprinting gradient to where
it puts the plate's ink down. Linear, radial and diamond gradients leave
out the stretches between paper-white stops and the padding past a
paper-white end stop. Conic gradients leave out their paper-white
wedges, and freeform gradients leave out their paper-white cells (masked
at Level 3, clipped at Level 2). Fills, strokes (within, along and
across) and characters are covered, on process and spot plates. Where
the gradient puts ink down it is drawn as before, and a gradient with
ink everywhere is written unchanged.
On PostScript plates, a stop or point of an overprinting gradient whose
color counts as black, with up to half a percent of another ink, now
puts none of that other ink down, as a solid fill of that color already
does. PDF plates are unchanged.
With several objects selected, Locate Object (and Locate Layer) now
finds the one frontmost in the stacking order instead of the one
selected last. Objects on different layers and sublayers compare by the
layers' order, and a member selected with its group counts as in front
of it. An id given to layer.locate still locates that object.
The click took the frame's automatic id, which follows its position among
the messages, so a message pressed while an older one expired did not
close on release. The click now takes an id from the message's own scope.
The Turkish reset tooltip of the Revolve dialog kept the English word
Revolve. Sixteen Revolve messages used Döndür, the Turkish label of
Rotate, the list of 3D effects named Döndür for both Revolve and Rotate,
and one profile message used Döndürme. One Extrude & Bevel message used
Kalıp Çıkarma ve Eğim. These rows now use the catalog's labels, Eksen
Etrafında Döndür and Ekstrüzyon ve Eğim.
A test checks every Turkish row whose source names Revolve or
Extrude & Bevel for the catalog's label.
The Links panel kept its links.list rows and Link Info in panel state by
value, so every frame copied the whole JSON list out of egui memory and
wrote another copy back, even when nothing was fetched. The cache is now
stored behind an Arc: a frame reads it without a copy and stores a new
one only when the list is fetched again (document revision, Show, Sort,
DCS option or the 2-second recheck) or Link Info changes. The flyout
reads the same cache by reference.