Since #10163, `cargo xtask ci warm` built each test shard with
`--lib --bins --tests --no-run`, so the dependency-cache entry also held
the integration test executables. The gate-crates entry grew from about
4.7 GB to 10.3 to 10.5 GB, above the repository's 10 GB cache budget,
and the slowest test shard on main took 30 to 31 minutes afterwards
against 26 to 28 minutes before.
The warm build now builds the library and binary tests of each shard's
crates (`--lib --bins --no-run`) and skips a run of integration tests
alone, whose crate has its library tests built on another shard. The
integration tests take the same dependencies and dev-dependencies, so
the entry still holds every dependency the shards build. Cargo again
warns `unused dependency vectorcraft-testkit` for vectorcraft-cli in the
warm log; only that crate's integration tests use it.
The craft-libs pins take main's rev. Until storytold/craft-libs#5381 merges,
crates/cad/src/blocks_compat.rs writes the block records, BLOCK definitions
and INSERT entities that #5381 adds to the drawing writer.
A Shaper group keeps its source art at the bottom and rebuilds the rest
from it. object.newGroup with a Shaper group as parent at index 0, and
layer.clippingMask.toggle (also a script's clipped = true) on a Shaper
group, put a new object where the source art was. The group then read
no sources and was deleted. Both commands now refuse a Shaper group and
leave the document as it is; the clipping check runs before the edit
opens, so a refused call leaves typing as it is.
Moves every craft-libs crate to craft-libs main 4c330f6, which contains
both 69c746e9 and main's c2a47df pin. The egui (399fc6e) and winit
(3fd7ae6) revs stay as that craft-libs rev uses them, and skrifa stays at
craft-libs 37d0532f until craft-libs#5222 merges.
- A group with fill or stroke rows of its own stays whole, so its members
keep the paint the group draws for them.
- A clipping group whose shown clipped artwork overlaps a locked artboard
stays whole even when its clipping path lies off the artboard, including
when a target inside it is named by `ids`. Hidden artwork, art in pattern
editing mode and runs with `clipGroups` false do not count.
The panel's items sat in a stack that filled the panel's room without
scrolling, so the wheel, touchpad and scroll bar did nothing and items
past the bottom edge could not be reached, in both the list and the
thumbnail view. The stack now scrolls vertically under the library
picker and search field, and the footer stays in place.
A native file's composite font named like an installed font is not lent
while the file's type is measured for placement, so the type is laid out
in the installed font. Adoption still brought that definition in under a
free name such as "Source Sans 3 2" and renamed the type to it, so the
placed type switched to the composite font it was never measured in.
Adoption now skips the source definitions the font database does not
lend: one named like an installed font, or one that fails its own checks.
layers.index(n) and artboards.index(n) returned Not found for a negative
or fractional number before checking whether the collection was stale, so
a script holding a stale collection got the wrong error. Both now check
the collection first, as the art collections' index() does.
The VectorCraft window drew all text without font hinting, because
adopt_context turned egui's hinting off in both themes of each new
context (ui_fonts::hinting_off). With hinting on, skrifa 0.44's
automatic hinter never finished a tall narrow Hebrew letter in a face
without hinting instructions, and the font list stopped responding.
The craft-libs rev in Cargo.toml (37d0532f42, storytold/craft-libs#5222)
carries skrifa 0.44.0 with the blue-zone exit, and the [patch.crates-io]
entry takes skrifa from it. Remove hinting_off and its call, so every
context hints text as egui does by default: interface text and the
samples in the font list and the font picker. Type on the canvas is
drawn from its own outlines and does not change.
a_face_without_hinting_instructions_draws_its_sample now checks that a
context the app adopts hints text in its global, light and dark styles,
and still draws U+05D1 from a face without instructions.
Setting `closed` on a path with no points gives it an empty closed
subpath, so the path's own data keeps the setting. The separate set of
empty paths, its key, its cleanup after commands and its copy in the
command trail were no longer written to by anything. `closed` and
`setEntirePath` now read the closed state from the subpaths only.
Add Artboard Guides (#10090) skipped a guide already on the Artboard
Guides layer only when its path listed each corner once. A closed path
whose last anchor sits on its first one, as some files and tools write
a rectangle, did not match, so each run added another guide and another
undo step. The corner check now leaves out a closing anchor on the
first one; the segment check still runs over every anchor, so that
anchor's handles must stay on its point.