* refactor(cdr): depend on shared craft-cdr from craft-libs (#1665)
Replaces the local crates/cdr (vectorcraft-cdr) crate with craft-cdr
from storytold/craft-libs#2697 (storytold/craft-libs#778), keeping
VectorCraft's document/artboard/layer/shape mapping in crates/engine.
Co-authored-by: dotCooCoo <RobertLeeLW@gmail.com>
* build(cdr): pin craft-cdr to craft-libs main (75d179f8df)
* build(cdr): pin craft-cdr to craft-libs main (9b28b56bc7)
* docs(cdr): point CDR/CMX provenance and test paths to craft-cdr
---------
Co-authored-by: dotCooCoo <RobertLeeLW@gmail.com>
A negative tracking candidate for glyphs that do not paint as one object returned the untracked line and discarded the best tracked reading found from an earlier seed. It now skips that candidate and tries the next.
A graph design brought in from another document now draws the graphs in the
art of the symbols that came with it with the designs the document kept under
the same names. A scatter graph's point markers are limited to the designs of
its plotted pairs of series, as the legend markers are, so naming a design for
a slot the graph never draws no longer redraws the graph when that design
comes in.
Before, only a clipping mask itself was refused in isolation mode. A
clipping group or clipped layer that was isolated, or that held the
isolated group, still took the new path, where its mask could hide or
cut it. Now no area is found then, for the tool and for
shapeBuilder.copyRegion, as the documentation of the command states.
When the paths near a click have more segments than one map takes and
the largest are left out, a left-out path now stops the search only
when it crosses the area or comes within the gap of its outline, not
when it merely lies in the area's box: a dense path in the empty corner
of a filled L no longer keeps the L from being filled. A left-out
closed path in front that covers the area still decides where the new
path goes, so the new path is not hidden under it.
With Gap Detection off, a path counts as along the area only when an
anchor of the area's outline lies within 0.05 pt of it. Before, a long
path's own snap distance (1 pt for a 10,000 pt line) let a line that
neither touches nor covers the area take the new path onto its layer.
A press while a hover search runs on another thread waits for that
search only, and no longer starts and waits for a search at the
position the pointer passed on the way.
docs/mcp.md now says that an edit made by another command during a
drag ends the path whether it changes the path or other art, and that
with the realTimeDrawing preference off such a press adds no piece
while the edit stays. A flip or size change made during a drag is part
of that piece's undo step; one made between presses is its own step.
The paragraph is wrapped at the file's width again.
The progress line lists a dragged piece ending at the release point and
C, [ and ] changing the arc being dragged with VectorCraft's own rules.
The bracket test checks that the arc being dragged is drawn again, the
drag test checks that the next click starts a new path, and new tests
cover an edit to other art during a click and an edit during a drag
with realTimeDrawing off. The tool no longer keeps the path as it was
before a press once the press ends.
A selected Live Paint group left with only its hidden source paths is still a selection, so appearance.addFill and appearance.addStroke with target contents return without a change instead of reporting an empty selection. An empty selection is still refused.
With a group or layer isolated, the tool's hover and click and
shapeBuilder.copyRegion take only the paths inside it, and the new path
goes inside it, directly above the object in it that holds the
front-most path along the area. Before, a click on art outside the
isolated group added a path there.
No area is found while the isolated object is a path or compound path,
a group that makes, moves or combines its own art (Live Paint, compound
shapes, Shaper groups, graphs, Image Trace results, dimensions, flares,
Objects on Path), a layer or group with a live effect, a clipping mask,
or an object inside one of these or inside an envelope. An isolated
object that no longer exists counts as no isolation, for the tool as
for the command.
A contents edit of a Live Paint group that holds only hidden source paths
counted as an empty selection and changed the settings for new art. The
reversed Eyedropper now tries each selected object in order, so an empty
group passes to the next group and the whole group is sampled. A pick whose
source is a Live Paint group no longer paints that group's own faces and
edges.