Moves every craft-libs rev (Cargo.toml, Cargo.lock, apps/vectorcraft-web,
xtask pdf_deps) from 138ce9929e to craft-libs main 6b67abe4b3. The egui,
winit and acadrust revs match the ones that craft-libs rev pins.
- Canvas: the drag-session restart after a Removed cancel (resume_carry
and CanvasCache::removed_press) is removed; craft-libs #5281 keeps the
session running while the canvas is hidden for a pass.
- DXF export: blocks_compat is removed; group blocks are written through
craft_dxf::drawing::Block, Drawing::blocks and Codes::insert
(craft-libs #5381), so Drawing::blocks now holds them.
- DXF import: VectorCraft's copy of the REGION reader (import/acis.rs and
the region helpers in reader.rs) is removed; regions are read with
craft_dxf::acis (craft-libs #5513), capped at the import's element limit.
The hex and size checks of the binary data are tested in craft-dxf.
- CGM import: the cgm feature is removed, so binary CGM files open and
place in every build (craft-libs #5410). The reader's notes on unread
fonts, appended text, continuous alignment, marker types and character
sets now come back as warnings too. docs/mcp.md describes the import.
- Canvas: the anchor marks draw a mark's fill and edge as one shape and
leave out other paths' handles that cannot reach the canvas, as
BezierOverlay does since craft-libs #4938, so they keep painting what
the overlay paints.
- Native files: craft-vectorcraft-format's VERSION is 5 (craft-libs
#5366). Saves for version 4 keep placed documents, Color Halftone's Max
Radius in pixels and Twist angles as before (new PLACED_SINCE), and only
live stars become paths there (LIVE_STAR_SINCE). A version 4 file from
0.21.0 or later still opens with its Twist angles as saved. Save As
lists version 5, and the version option defaults to 5.
- Layers panel test: icons share packed atlas pages since craft-libs
#4275, so the test tells icons apart by texture and atlas rectangle.
craft-libs main now holds craft-geom, craft-pathops and craft-trace
(storytold/craft-libs#2260, RFC-0030 step 1). The pin moves first, as its
own change, so the cutover that deletes VectorCraft's copies only swaps
crates.
API changes since f9e5cecc, behaviour kept:
- craft-dxf's Drawing has block definitions; VectorCraft writes none.
- craft-cdr reads text as Object::Text and counts what a CMX read left out;
CDR text stays left out under the existing unsupported-objects warning,
as it was when the reader dropped it.
With Background set to Transparent, the 3D rendered image's Bitmap color
model now makes each pixel opaque black or fully transparent: a dark pixel
at least half covered is black, and a light pixel or one less than half
covered is transparent. Before, white pixels stayed white and edge pixels
kept partial coverage. With a white background each pixel is still black
or white.
`RENDER_COLOR_MODELS` is exported from the effects crate beside
`RENDER_BACKGROUNDS` and `RENDER_QUALITIES`.
Docs: docs/three-d.md, docs/mcp.md, docs/target-app-parity.md, params text.
A restored selection loads its paints for new art only when the journal
records it with a selection command that loads them on replay. An
Objects on Path member, recorded as object.objectsOnPath.selectMember,
now keeps the paints as they are, as a symbol part already does.
With a complete platform lister the font catalog does not ask the font
service and does not read the registry's font list, so a font listed only
in the registry was noted as a change but never cataloged. The catalog's
lister now adds the registry's full paths to the platform files it lists,
as the catalog does itself when the font service is on.
RegisteredFonts::changed reads the registry before it takes its lock, so a
scan noting the registry's list does not wait for that read.
The registry tests scan with a lister of their own that lists no platform
files, so the process-wide lister another test sets does not change what
they scan. The first one now checks that the registered font is cataloged.
Glowing Edges divides each pixel's edge strength by the strongest edge in
its input (crates/effects/src/pixel/edges.rs:45-56), but its reach let the
renderer crop the raster to the view once the object passed the pixel
budget. A zoomed-in frame then took the peak from the part in view, so the
same edge glowed at a different brightness depending on the zoom and on
where the view was, and a pan within a kept crop's margin kept the earlier
crop's peak.
Glowing Edges now has no nearby reach, as Torn Edges and Cutout, whose
results also depend on the whole object: past the budget the whole object
is filtered at a lower resolution, and whole-pixel pans reuse that raster.
A closed subpath with no length in a path that ends open is painted as a
square dot at the whole path's reach. The shortened-line pass skipped
closed subpaths, so once the start cap moved to the shortened end the
box no longer took in that dot.
docs/mcp.md names all twenty-one built-in libraries, adding Paint, Ornamental, Image Brush, Artistic Brushes and Vector Packs; the Strokes rows count twenty-one; the Impact Bursts bullet drops a brush length its art does not share.
The Blend panel's draft key held the document uid, its File > Revert
count and the selected objects with their nearest blends. Undo and Redo
replace the document's content without changing those, so a value typed
into Steps, Distance, Ramp or Shift and not yet finished stayed, and
Enter applied it to the restored blend. After a canceled preview or
undo group, a new blend can take the removed blend's node id, and the
value reached that blend too.
The key now also holds the document's history restore and rollback
counts, as the other selection fields' target (`selection_target`)
does.
Each chip's control was keyed by its document and the paint it sends,
so two swatches with the same name (which an opened file can hold) gave
two chips one control, sharing hover, press, focus and one accessibility
node. Chips that send the same paint are now numbered in list order, so
each keeps a control of its own; distinct swatches keep their keys.
docs/control-protocol.md now says the Menu key on a focused chip works
off macOS only.
docs/mcp.md names Impact Bursts and its six brushes with id impact-bursts, and the Dry Media brushes go back to Dry Media; the Strokes rows count sixteen generated libraries; an evidence bullet describes the library. The gaps.md status line keeps main's text.
Printer Setup started system-config-printer, xdg-open or open and dropped the
child, so the ended process stayed a zombie until the app quit. It now starts
them through host_services::spawn_detached, which waits for the process on a
thread. On Windows nothing changes.
Builds on #11007, which adds spawn_detached.
FontDb added the bundled fonts to the font catalog with add_bytes on the
first call of FontDb::catalog, which copied every bundled font file into
the heap (3,381,864 bytes for the nine fonts in assets/fonts, more with
craft-fonts embedded). The app reads the catalog at startup, so every
session held those copies.
FontDb::new now registers them with Catalog::add_static (craft-libs
#4888, in the pinned rev), which reads the faces from the binary's own
bytes, so the deferral through a Once is gone.
The test checks that the bundled faces are in the catalog as soon as
the database is made, and that Catalog::face_data returns the embedded
bytes themselves (same pointer), so a copy fails it.
The 3D effects' `render` object takes `colorModel` (`document`, the default,
`grayscale` or `bitmap`). Grayscale gives each pixel of the rendered image the
Rec. 709 luma of its color, and Bitmap makes it black or white, after the
background and with each pixel's transparency kept, as Effect › Rasterize does
with the same model ids. Edge pixels are mapped from their straight color
before the coverage is rounded. Grayscale and Bitmap images are stored as gray
PNGs, and the model is part of the rendered image's cache key.
Any other value is refused with an error and leaves the object and the undo
history unchanged. The setting is saved with the effect.
Render Settings › Raster Settings… gets a Color row (RGB, Grayscale, Bitmap).
It opens blank for a selection that holds different models, and OK sets the
picked model on every selected object in one undo step.
Docs: docs/three-d.md, docs/mcp.md, docs/target-app-parity.md, params text.
With Tip alignment the arrowhead shortens the line and the projecting cap
is drawn at the shortened end, but reach_along put the cap's corners at
the path's own end, so the bounds reached half a stroke width past the
head's tip. The caps are now measured along the shortened line, aligned
as the renderer aligns them, and a trim that leaves no length still
counts the cap's dot. Follows #10994.
open_link, Show in Folder, opening a written file and Edit Original
dropped the spawned child without waiting for it, so on Linux and the
BSDs each finished xdg-open or editor process stayed a zombie until the
app exited. spawn_detached now starts a thread that waits for the
process before it starts it, so the process is reaped when it ends. On
Windows dropping the child closes its handle, so no thread is started.
Every test writes its own raw coverage profile in the shared SonarCloud
workflow, and at 4 shards each shard wrote about 80 GB in 8,000 files.
Since 2026-12-05 the shards of main's SonarCloud runs fail with "No
space left on device" in "Run this shard's tests" (runs 47575790406
and 47566278173), so main's nightly commit gets no analysis.
8 shards halve the raw profiles each runner holds. The shared workflow
fix is storytold/craft-common-actions#486, which merges the profiles
of one test binary as each test exits; this goes back to the default
once it merges.
Scene::stroke returned from the brush branch before it checked the stroke's
blending mode, so a brushed stroke with Multiply lost its blend in WMF, EMF
and PICT output without the blending warning. The check now runs first.
docs/mcp.md: name the output files for one and several artboards, the
visible-art frame limit, and when oversized fills are split or thinned.
docs/control-protocol.md: Open and Place also read .pct, .pic and .pict.
Restoring a selection now clears the marker a defaults-only paint left,
as every top-level command does, so new art takes the restored
selection's appearance live as it does when the journaled select.set
replays. A restored symbol part no longer loads its paints for new art,
as symbol.instance.selectPart, the step the journal records for it,
does not.
The desktop's font watch polled the font catalog's own check, which leaves
the registry out when the platform font service is off, so a font
registered from a folder no scan reads still waited for Refresh Font List.
FontDb::watch now polls FontDb::installed_fonts_changed, which also compares
the registry's list, rescans the catalog when it changed and wakes the app
as before. The app keeps a FontWatch in place of the catalog's Watch.