- The contrast lines count a narrow band's crossings among a cell's
crossings where no band on the next line joins it, so a band that
widens past the samples is no longer cut across.
- The lines show where a pick passes when the fill or stroke is None or
a pattern (`contrast_pick_backdrop`), and are hidden while Alt sends
a pick to the other proxy.
- The Background chip shows the background the ratio uses, so a pinned
100 % K shows as black with a rich black Appearance of Black.
- `color.contrast` with "below" is an error when a blend mode other
than Normal mixes the color with art that is not one color where its
level reads it; a blend inside an isolating group over such art still
answers.
- `wcag::closest_passing`, `color.contrast`'s params text and
docs/mcp.md say that a nearer passing color can be missed when the
passing lightnesses fall in more than one stretch, that a null fix
shows no chip, and that a null `contrastBackground` sets Behind
Selection.
- The wide-gamut contrast test restores the color settings through
`restored_settings()`.
The test of the #777777 fix now also checks that the gray one 8-bit step
lighter than the fix fails AA, so a search that lands on a darker gray
fails it. The doc comment of `contrast_lines` names its `narrow`
parameter, and `docs/mcp.md` says that Enter applies the focused fix
chip, as a click does.
The params text now says what docs/mcp.md says: a fix also meets the
level with the color, the background, the art below each group or
layer, the opacities, and the color and alpha each level gives rounded
to 8 bits per channel. docs/mcp.md names the rounded color and alpha of
each level too.
The fix chip drew no focus indicator, and the background chip recolored
its own border. Both now draw the outline a focused color field draws
around itself (widgets::focus_outline).
The fix search lowered an out-of-gamut chroma by bisection, which stops
at the first gamut boundary. Near blue the chromas sRGB holds at one
lightness come in two stretches, so a blue that needed a little more
contrast lost much of its chroma (blue on #B8B8B8 got a fix of chroma
0.25 against blue's 0.31). The search now uses oklab::from_oklch, which
takes the largest chroma below the asked one that fits.
The box's and the wheel's contrast lines measured each field color with
the plain display conversion, while color.contrast shows 100 % K alone as
black when Appearance of Black is rich. The lines now use the same
conversion through Backdrop::shown, and the backdrop the lines are kept
against carries the setting, so the lines are found again after the
setting changes.
A hue ring or strip drag changes the field on every frame, and a CMYK
target separates every sample, so finding the full lines each frame
slowed the drag. While a drag changes the field, the lines are found on
an 8 by 8 grid without the narrow-band search, and the full lines are
found once the drag ends. A drag that keeps the field keeps the full
lines.
color.contrast's fix search now accepts a candidate only when it meets
the level both as measured and with the color, the background, the art
below each group or layer, the opacities, and the pixel and alpha each
level gives rounded to 8 bits per channel. The renderer rounds the
paint's color and alpha that way, so a fix that meets 4.5:1 only before
rounding (a gray of about 118.7/255 on white, which paints as #777777 at
4.48:1) is no longer offered. The reported ratio and its pass results are
unchanged.
The per-level drawing of the backdrop moves into Pass::draw, which both
the measured ratio and the 8-bit check use.
* 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
* 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>
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.
* 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)
- 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.