A Cmd-click with the Eyedropper lends Direct Selection or the Lasso for
the gesture. The lent tool started with no mesh points picked, and the
Eyedropper came back with its old picks, so a point picked that way was
not sampled into and a Shift-click could not add to the picks.
The lent tool now starts from the Eyedropper's picked points, and the
points it leaves picked go back to the Eyedropper, none when it unpicked
them all. A Cmd-click lent to Group Selection, which picks no mesh
points, leaves the Eyedropper's picks as they were.
When a threaded frame starts inside a numbered paragraph, startNumber and
restartNumbering true now go to the next numbered paragraph that begins in
that frame. Before, the continued paragraph took the number, and reflow gave
it to the item the earlier frame shows.
`assets.export` now refuses `pdfs: "single"` with assets, layers and
`selection: "each"` before any file is checked or written (70fdab8445
on main), so the test's request no longer reaches the link check and
fails with that refusal. A single-file PDF is now written only for
artboards, whose items all hold the same document.
Fold Preview (Object › Plug-ins › Packaging Tools, and the Fold Lines panel's button) shows the
document's blank folded about its largest panel, or the panel double-clicked. Creases and
perforations fold 90° away from the printed side and partial cuts 90° toward it. Each panel
samples a raster of the print, with the fold lines and non-printing layers left out, through its
projective map, with a depth buffer; the back shows the board's inside color. The window has a
Fold slider, seven view presets, orbit, zoom, pan and perspective, and its status line reports a
joint that does not close and panels that pass through each other.
- addon.packaging.fold returns each panel's frame, the hinges with their angle and gap, and the
collisions. A closing hinge's gap is measured with every hinge folded all the way.
- ui.foldPreview sets the window and rejects values of the wrong kind or out of range; saved
settings out of range are brought into range.
- The print renders off the UI thread where a worker exists and once per document revision. The
fold and the view image are worked out again only when the document, the settings or the
window's size change.
Mesh points picked with the Mesh tool, Direct Selection or the Lasso
were dropped when switching to the Eyedropper, so a sample from an
image went to the whole mesh object instead of the picked points.
The picks now carry over to the Eyedropper, which shows them filled,
and go back to the Mesh tool, Direct Selection or a Lasso chosen next.
While a selected, editable mesh has points picked, a click or
Shift-click on an image or other art samples the color under the
pointer into those points alone (one undo step, none when the color is
unchanged); other selected objects keep their paint. A click on the
mesh itself, Alt-click and Shift+Alt-click are unchanged.
Package copied a placed EPS file as it is, but did not read the native
document a VectorCraft EPS file carries, so the images that document
links stayed out of the package. Placing the EPS reads that document
and looks for its linked files, so once the original folder was gone
the packaged copy showed only the previews.
Package now reads the carried document of a placed EPS or PostScript
file the way it reads a .ai file's editing data, and copies the files
it links beside the EPS file's copy, which finds them there by name.
Cut Path at Selected Anchor Points cleared the selection and then added
each cut path in turn, and each add searched the paths already added, so
selecting the cut ends took time that grows with the square of the number
of cut paths. The command now selects them with one Selection::set call,
which skips repeats through a hash set and keeps the order in which each
path first appears, and then adds each cut end's anchor. The selection is
the same in every field; a new test compares it with the one-by-one build
on open, closed and multi-subpath cuts, long lists and an empty list.
The gain shows on large documents. With the 8 middle anchors of each of
5,000 open paths of 10 anchors selected, building the selection of 40,000
cut ends takes 9.7 ms instead of 232 ms of CPU time, and with 2,000 paths
3.2 ms instead of 39 ms (medians of 7 runs of the new
cut_path_select_bench example, both ways in one process).
The Print dialog's General section (and the print preset editor) gets a
link button after Scale W and H. While it is on, typing either percentage
sets the other, and turning it on sets H to W. It is on for new settings,
dimmed with the fields unless Scaling is Custom or a tiling choice,
toggled with a click, Space or Enter, and screen readers hear its name
and on or off state. W and H now take 1 to 1000 %.
The link is saved as scale.linked with the other print settings, in the
document and in print presets. A scale saved without it reads as unlinked,
so earlier settings print as they did. print.setup, print.preview,
file.print and print.presets.save apply the same rules: one percentage
sets the other while linked, a different width and height without a
linked key turn the link off, and with linked: true (or linked: null over
a linked scale) they are an error.
When a PDF's attachment name tree has more nodes than the editing-file
search reads (65,536), a confined package still copied the PDF if the
search had found a readable editing file, so attachments past the limit
went unchecked. The search now walks on after finding the editing file,
reading only the Kids, and records whether nodes were left unsearched.
Under read roots, file.package refuses such a PDF with the error for
editing data that can't be read, even when an editing file was read.
Opening the PDF is unchanged: it reads the first editing file found.
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 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.