* Text styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine)
* fix(text-styles): require text target for clear overrides and update parity docs
* Properties panel: add contextual Quick Actions for text (Create Outlines, Retype, Find and Replace)
* Properties panel: address review comments on Retype reveal idempotency, test assertions and parity docs
- Forward secondary clicks on name label links for stroke/fill and effect rows
- Enable Reduce to Basic Appearance when any selected subject needs reduction (including compound path children)
- Add headless regression tests for label context clicks and multi-selection reduction
- Update M14 roadmap entry and UI parity evidence, and clean conflict markers in ui-parity.md
`cargo xtask ui-commands` writes the new `installed` parameter of
retype.find and the new retype.cancelSearch row into
crates/mcp/src/ui_catalog.rs, so `cargo xtask ui-commands --check`
passes again.
* Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071)
* Drop a restated rule from This repository
* Remove the cleanroom xtask command, which does not exist
* AGENTS.md: correct the repository facts
The desktop app's platform modules allow unsafe; list them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
#8813 tops up the font list with fonts renamed `Menu Test Font NN` on runners
with 20 or fewer families, but vectorcraft_testkit::fonts::renamed only takes
a 13-byte family (the length of "Source Sans 3"). Every run that reaches the
loop panics, as the coverage shard on main does. `Menu Test FNN` is 13 bytes.
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: BFlat <bombayapirat@gmail.com>
Every gate since 20 Nov 00:38 UTC except one has been stopped mid-link
with "The runner has received a shutdown signal" (exit 143), on main and
on pull requests. Turn on the shared gate's dev-strip input, as photocraft
does, so the ~100 test binaries link without line tables or symbols.
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- A font file that grew past the limits after the installed fonts were
listed counts as skipped, and the bytes read from it count toward the
2 GiB a search reads. A suitcase font's resource fork is read the same
way, no further than one byte past the limit.
- The 500,000-glyph budget counts the glyphs an index draws (each
matched glyph once), not the face's mapped characters.
- The Retype panel's background search hands the command the loaded
fonts that match as well as the installed fonts it found, so a loaded
font that matched stays listed after the fonts found are loaded.
- A shape that no glyph's key fits (more than 48 contours) no longer
keeps type.retype reading installed files after the other shapes
have matched.
The gate's one job builds all 106 test binaries on a 4-CPU, 16 GB runner,
and it is often stopped with exit code 143 ("The runner has received a
shutdown signal") during that build. ci.yml now runs the gate as five
legs:
- Shards 1 to 4 run `cargo xtask ci shard`, which builds and runs the
tests and doctests of its own crates: ui-egui, engine, the apps with
mcp and xtask, and every other crate.
- Shard 5 runs the other `cargo xtask ci` steps.
- On pushes to main, a `cache warm` leg runs `cargo xtask ci warm`,
which builds what every shard builds and saves the dependency cache.
`gate (ubuntu-24.04)` passes only when all five legs passed.
`cargo xtask ci` with no argument runs every step, as before.
`cargo xtask shards` lists each shard's crates. It fails when a crate
named in xtask/src/shards.rs is not a workspace member or is named
twice, and when a crate builds with other features in its shard than in
`cargo test --workspace`. Every shard runs it first. vectorcraft-affinity
and vectorcraft-pdf now turn on `synth` and `read-count` in their own
dev-dependencies, which vectorcraft-engine's dev-dependencies turned on
before. Without that, 39 tests of affinity's `it` binary do not build in
a shard without the engine.
The gate also sets dev-debug "0" and dev-strip: true, so the workspace
crates build without line tables and the test binaries without debug
info or symbols.
Retype compares at most 96 loaded faces in one index: the document's
fonts, the fonts in `fonts` and the faces earlier searches of the
installed fonts loaded come first. Loaded faces past those 96 were never
compared, and the search of the installed fonts leaves loaded faces out,
so a shape only such a face matches stayed unmatched.
- type.retype now compares the loaded faces past the first 96, 96 at a
time, with the shapes that are not plain and that the first 96 do not
match, before it reads any installed file. The background search hands
those faces to the command with what it found in the installed fonts.
- A face that another version of its family and style shadows is no
longer compared ahead of the other loaded faces.
- A background search whose command fails before it takes what the
search found no longer leaves it for a later command.
- With the Retype panel's list full, installed faces count as skipped
only when a shape would start a search of the installed fonts.
- "Retype failed: internal error: its thread stopped" has a row in each
complete catalog.
Docs: docs/mcp.md (Retype installed fonts).
* eps: delegate scene-writer shading, image stream, and line style syntax to craft-ps
* chore(eps): repin craft-ps to merged craft-libs main (cfcc86242)
Shapes no loaded font matches are now compared with the installed fonts
that nothing has loaded yet. type.retype reads their files one at a time,
smallest first, until each such shape matches a font it has read, and
type.retypeFonts (the Retype panel's list) ranks the matching installed
fonts with the loaded ones, up to 96 fonts in all.
- A file is read for the search and released. A face whose glyphs match
is loaded as it was read, without the family's other files, and later
searches in every open document compare it ahead of the other loaded
faces. A matching face that another version of the same family and
style shadows is loaded and not listed.
- Files over 256 MiB, and the files and faces past 2 GiB read or 500,000
glyphs drawn, are left out and counted in the result's
installed.skipped.
- A plain shape (one contour of up to four straight edges, such as a
rectangle or a hyphen) does not start the search, and matches only a
font the other shapes found.
- installed: false turns the search off; any value other than true,
false or null is an error. retype.find takes installed too.
- In the app, Type > Retype and Find Matching Fonts (the panel's button,
or retype.find from a menu or the command palette) search on a thread
of their own. After 0.4 seconds a progress window shows the files
read, with Cancel (also Esc, retype.cancelSearch). When the search is
done the command runs with the fonts it found, without reading the
installed fonts again, unless the document or its selection changed
meanwhile. Reset Retype Panel and a new search stop a panel search.
An MCP cancel stops the search between files.
Part of #4934.
- eps: restore linear-time memchr::memmem::find in lex::find so
search_in_a_loop_runs_out_of_the_budget does not hit O(N*M) under
craft_ps::read::lex::find.
- ui-egui: wait for FontDb background scan and ensure >20 font families
in menu_access_stationary_pointer_repeat_and_rerun_do_not_retarget_or_double_invoke
so coverage/minimal runners do not race or fall short of 20 families.