The tests that count the layouts the Type tool keeps read vectorcraft_text::layout_inputs()
through its cache key. Tests in the same binary that add a font or change the hyphenation
exceptions bump it, so a count running beside one saw every frame laid out again
(type_overlays_keep_at_most_frame_layouts_max: 2051 instead of 2). Counting tests now hold a
shared test-only lock for reading and tests that change those inputs hold it for writing.
While a linear dimension is placed with Smart Guides on, the tool reads
the lines of the other dimensions again when the document changes, so a
dimension a command hides, locks or deletes stops being a level, and one
shown again or grouped is a level again. The preview of the dimension
being placed is left out of the lines and out of the 20,000 objects the
tool reads.
"rop shdaow" now finds Drop Shadow: with a query word matched through a
typo, each other word may also be text in the result's names or ids, as
the substring rule allows. A word found nowhere still leaves the result
out, and queries without a typo keep their results and order.
Docs: the typo line in docs/target-app-parity.md now says where typo
matches rank (after direct name, menu path and id matches, before
description-only matches) and that the typo grades order them before
the label's length.
Add Bounding Rectangle… and Add Bounding Circle… open the command dialog
with Offset (0 to 4,000,000 pt), One per Object (`each`) and Preview, so
the menu sets what the commands take. Cancel removes the preview without
a step of history, and an Offset that takes the shape past the canvas
edge leaves the dialog open with the error.
- The canvas check reuses `sanity::rect_in_range`; the params text and
docs/mcp.md say the limit holds along each axis.
- Tests: the dialog (defaults, preview, Cancel, OK with and without an
Offset and One per Object, the canvas error, the catalog rows); a circle
just inside the limit; one edge past the limit is refused.
- Catalogs: the two menu labels with "…" and "One per Object" in all 28;
the four messages in bg, bs and id as well.
- A knockout, clip or blend-mode merge being tried may use the whole
import allowance beyond what was read before it. A merge that is made
must still fit the allowance with everything read before it.
- A knockout that turns out to cut nothing moves what its drawing read
out of the allowance, as a merge that isn't made does. A hidden one
also forgets what its drawing counted, so a later merge that leaves it
out reports only the hidden layer.
- A hidden layer in a mode VectorCraft lacks is left out before any
knockout drawing, as before the knockout merge.
- A knockout at 0 fill whose painted pixels lie outside the bounds of
every layer below it is kept apart before their canvas is made.
- A path made into a guide draws without its strokes or effects, so its
preview bounds give no corners.
- The members of a compound path draw with the compound path's own
appearance, so only the compound path's preview bounds give corners.
- Another path's anchor right on a preview bounds corner takes a click
on the anchor that corner stands in for, so the point links to that
path.
- A corner that its path cannot hold a point at, as on a stroked dot
whose anchors all coincide, is not snapped to, so a click by the dot
picks its anchor.
- The pointer test before measuring a path includes the right and
bottom edges, as the 8 pixel distance test does.
Docs: docs/dimensions.md and docs/target-app-parity.md name paths made
into guides and compound path members among the art without corners.