Copies go to %LOCALAPPDATA%\Microsoft\Windows\Fonts\Craft\<family>, are listed as
per-user font values under HKCU\...\CurrentVersion\Fonts, loaded with AddFontResourceW,
and announced with WM_FONTCHANGE. The ledger records each registry value, so withdrawal
unloads the font, deletes the value and then the file. Windows 10 1809 and later,
unpackaged builds only.
The Win32 calls live in the new crate craft-font-os-windows, the one crate in crates/
allowed unsafe (named in AGENTS.md): it copies the workspace lints with
unsafe_code = "deny" and allows unsafe only on the functions that call Win32.
Boundary tests set by a production constant check a small limit through a
private seam that takes it (b64 decode, drawingml table normalize, openpgp
verify), with the real constant nightly; captions and jbig2 check their
full-size boundaries nightly. Sweeps run every divisor-th case at the gate
(develop balanced highlights and thin line, jpeg low-memory tokens, png
streamed rows, mxf extreme fields, pdf crypt proptests), the fax bomb guard
page is wider and shorter, the resample bound pulls a shorter block, the nef
measured frames are read through probe_info, and local tone compares 64 and
256 pixels.
next carries dock-gaps (#3383), whose IME commit a0b1c35a8f is the same change as
this branch's 8c2cd95de3, and Skylar's focus and text-field work.
Conflicts:
- runtime/ime.rs, runtime/egui/ime.rs, testing/host_key_trials.rs: next's only
change to these files is a0b1c35a8f, which this branch already holds and has
replaced with the fence built on egui's pending_ime_reset (a3a58be575). This
branch's side is kept. a0b1c35a8f's trial stays in its adapted form
(an_app_editor_s_own_reset_at_the_press_reaches_it_and_it_composes_again, run
with the reset in the output and through egui alone).
- runtime/egui/fixture.rs: ResettingEditor and host_resetting_ime_editor keep
this branch's form (in_output, ask, a press inside the editor's rect). next's
root focus fact in run_frame (ea6febd719) merged cleanly.
- runtime/focus.rs: State keeps candidates_seen and takes next's
surrender_after_scopes and surrender_deferred; tab_to_egui stays removed. The
end hook takes the app's egui widgets first, then runs next's deferred and
after-scopes surrenders; next's block that surrendered a component widget
egui's Tab focused goes with the removed egui-Tab path.
No code in next calls host_stop or the removed egui-Tab path.
Under CRAFT_HOSTILE_DIVISOR above 1 the cases that build a fixture per repeated
part or per declared node action check the first, middle and last member of each
set; the nightly run checks every member. each_part_activates_once reads the
paths a part has from the settled base fixture, the hit-area case skips parts the
base shows no pressable piece of, and access_focus_focuses skips stories with no
enabled Focus node, all before building a fixture.
- `WindowHost::lights_room`: the room the macOS traffic lights take over the content (inset frame, not in full screen).
- `FullWindowDialog`'s title row starts after that room where the header lies under it, as the shell's title bar does.
- Liquify's `Rows::choose` shows each select in a `Field`, so Mesh Size, Use and Mode are drawn beside their selects.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts resolved (upstream's design and defaults win; the port's opt-ins stay):
- ui-contract fonts: upstream's served-faces provider, catalog job queue and byte budget;
the port's FaceBytes::chain (Word subset siblings, F-8) re-done on the provider: a served
face lists its served chain faces before the interface faces, a sibling landing after its
owner remakes egui's fonts once, drawing a face marks its chain drawn. The port's chain
trial moves onto upstream's rig, plus a late-sibling trial.
- text editor HostCx follows FacesCx's job-based document_face and document_face_bytes.
- ui-widgets Swatch: upstream's SwatchFill (split, spectrum, image, empty) with the port's
Swatch::optional / SwatchFace::optional (new SwatchFill::None, the "no colour" diagonal)
and Swatch::icon (glyph on the empty well) on top; both word sets kept.
- draw PaintBar: upstream's MixerLoad fill.
- font-manager: upstream's sample band; host rows (port) use it too.
- ui-panels / ui-patterns dock grips: upstream's drag_origin and named slack.
- platform clipboard tests: both trials kept.
Co-Authored-By: Claude <noreply@anthropic.com>
* Extract the material graph runtime from TextureCraft
Preserve its evaluator, compiler, existing verification, and format reference from TextureCraft #777 at 22a37c29.
Original TextureCraft importer author: xilefenko (TextureCraft #521).
* Adapt graph helpers to the shared workspace lints
Preserve node evaluation and version tracking while splitting long dispatch branches. Update the EXR doctest and rule table references for the shared crate.
* Read the format reference with LF endings in its test
* Test that the format reference example reads the same with CRLF line endings
* Make the kind versions follow module attributes, arm order, raw strings, includes and the epoch
* Fix graph cache keys, publish, import and subgraph extraction; harden the graph tests
* Keep the cubic sampler from panicking on NaN texels; say what RGBE drops; check NaN halves by their bits
* Lower vector inputs of f_to_bool and f_vec to valid WGSL; tighten the FX-map error and pattern coverage tests; document clamping and the splatter data cutoff
* Say which composite glyph placements the font reader lacks; fail the y-up text test on a blank render
* Leave publish as it was; unit-test the WGSL vector lowering; document EPOCH and keep_outputs results
* Satisfy clippy in the version scanner and the WGSL lowering; compare cache hits by relation
craft-ui-contract's tests ask for them as a dev-dependency (their font oracle),
which gave cl test ui-contract its own epaint_default_fonts and so its own
egui and framework build. The feature only adds two byte constants; egui's emoji
fallback is epaint's own feature and stays off.
* font-store: index format 1.2 and the preview service as a download mirror
Reads index format 1.2 and pins craft-font-index 995ef20. An optional font
preview service (CRAFT_FONT_PREVIEW_URL, else the preview_service setting)
serves installs and licence texts by sha256 before the index's URLs; a
service that fails on the network is skipped for a minute, per origin, by
every clone of the client. Settings gain the previews switch.
* font-manager: previews from the font preview service
A preview client (remote.rs) fetches WOFF2 subsets of each face from the
service on its own worker threads, highest priority first, with a shared
disk cache. The Browse list shows each family in its own face; the detail
view shows variable faces with their axes and named instances, and the
family's licence and NOTICE texts. Without a service, or with previews
switched off, the panel works as before.
* font-store: a host default for the preview service
FontStore::with_default_preview_service (and SuiteStore's) names the
service used while neither CRAFT_FONT_PREVIEW_URL nor the user's setting
names one. It is never written to settings.json, so clearing the setting
brings it back and other apps sharing the store don't see it.
PreviewServiceSource gains Default.
* font-manager: box the installed face in a card's Face, so the enum stays small on Windows
* font-store: a host default for the network setting
FontStore::with_default_network (and SuiteStore's) gives the setting the
host uses while the user hasn't chosen. settings.json saves network only
once the user chooses, and never the host's default; an agent's store
ignores it. Files from before could hold "off" without a choice, and that
"off" still counts as the user's.
* font-store: per-source samples in merges, mirror only for curated families, an unreadable settings file fails closed
Index::merge keeps each source's own sample map, so a source left out as a
duplicate brings no samples, also from inside an index merged before.
Installs and legal_text ask the preview service only for curated families:
it holds only the built-in sources' files, and asking for a user source's
file would send it the file's hash.
A missing settings.json is no choice, so the host's defaults apply. One that
exists but can't be read, is too large or doesn't parse reads as network off
and no preview service, not even the host's default; a write over it starts
from those values.
* font-manager: review fixes for the preview service
- Preview is offered for a family whose subsets failed, in its card and its
details sheet.
- Licence and NOTICE texts are kept by the file's sha256 too, so a refreshed
index never shows the old text.
- Axis sliders keep only the user's edits; an untouched axis follows the
subset's default. The readout shows up to two decimals.
- The detail view asks for the sample subset also when the typed text has
too many characters for a request of its own.
- The typing pause is measured after the toolbar has handled input.
- A failed subset schedules a repaint for its retry.
- DiskCache::contains asks the folder, so a file another app cached later is
found.
- Installer docs name the host's default preview service.
- The fake service in the flow tests drops a request cancelled while held.
* Fonts panel: notice when the preview server can't be reached; opt-in sans-serif and system-language default filters
menu: upstream's memoised bar and English names in the model, with the port's icons/compact
options and disabled submenus. behavior: press keeps both the pointer-left and pass-drag
states; KeyRole gains PartialEq/Eq. automation: agents deps via craft-control, screenshot
params with region, document points with a page. font picker: upstream's column list, kinds,
actions and missing note, with the port's host groups, current host row and mixed label.
theme: wordcraft and pdfcraft app palettes. Cargo.lock: port side; vendor jbig2: upstream.
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
Extract the Craft Anything implementation at 8cec25d without changing limits or data models. Retain provenance for subsequent Afloat, BFlat, and RRFZ changes in the crate README.
The story's catalog had no face that maps Arabic, so no row showed the
Arabic sample. craft-font-manager's build script embeds Noto Sans Arabic
with fonts-build's Embed when the suite feature is on and CRAFT_FONTS_DIR
names a craft-fonts checkout; without it the table is empty and the story
shows the other families only.
* craft-develop: extract sensor and local_tone stages (#587)
* craft-develop: fix sensor chart_table/color/binned compilation
* craft-develop: factor OffsetList alias in xtrans demosaic for clippy
* craft-develop: remove unused Bayer test helper
All sensor fixtures already call Cfa::bayer directly. Remove the unused wrapper so strict test lint can pass without suppressing warnings.
AI-assisted: OpenAI Boris.
* craft-develop: keep binned feasibility checks allocation-free
Reject blocks that cannot fit the active area. Check each CFA phase over one period rather than allocating per-block layouts during preflight. Keep the existing path for valid rendered bins and cover both the fitting and non-fitting cases with a small synthetic crop.
AI-assisted: OpenAI Boris.
---------
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>