Commit Graph
2027 Commits
Author SHA1 Message Date
aiongg 873d83bec7 L12 build fixes: trial imports, unused import, artboard pairs in equal columns 2026-11-12 14:32:46 +00:00
aiongg 4258ddb15c presets: the browser's toolbar takes the host's tools and a picker names its browser; BrushPresetPicker puts its buttons in the search row and renames in place 2026-11-12 14:32:46 +00:00
aiongg 62d21e73ee draw: a locked shape layer disables the shape panel 2026-11-12 14:32:46 +00:00
aiongg 9b55676e41 ui-contract: a colour ramp and checker with rounded corners; GradientSwatch keeps its ramp inside its ring 2026-11-12 14:32:46 +00:00
aiongg af792540ea draw: StrokeButton draws the no-stroke sample and closes its popover on a change from outside 2026-11-12 14:32:45 +00:00
aiongg d438ee0b1f draw: pair the artboard's W/H and X/Y fields, indent the crop shield's settings 2026-11-12 14:32:45 +00:00
aiongg 55b9e58ad0 craft-font-subset: take the rename prefix and notice from the caller
Naming carries prefix (the word before the number in new family and
PostScript names) and changed_by (the Apache notice), so the crate names no
service. harfbuzz-subset-sys records that MIT-Modern-Variant is allowed for its
vendored HarfBuzz only.
2026-11-12 14:32:45 +00:00
aiongg 760669272f craft-fonts-build: cut interface faces with craft-font-subset
The subset feature uses craft-font-subset's cut_face (HarfBuzz) in place of
skera, which leaves the workspace. CFF interface faces now cut correctly, so
Error::NotTrueType goes; a cut keeps its source's extension.
2026-11-12 14:32:45 +00:00
aiongg 5bfb923ccd craft-font-subset: add the fsType embed-permission check
embed_permission reads the OS/2 fsType usage permission (installable, editable,
preview and print, restricted) and the no-subsetting and bitmap-only bits, with
the precedence cadcraft's PDF export uses; allows_subset says whether an
exported file may carry a subset.
2026-11-12 14:32:45 +00:00
aiongg 4717f13ae7 Add craft-font-subset and harfbuzz-subset-sys from font-preview-service
Moves font-preview-service's HarfBuzz subsetter into the framework as the one
font subsetter: harfbuzz-subset-sys builds the vendored HarfBuzz 15.0.0
subsetter and holds the safe wrappers, so unsafe stays in that crate (added to
design-lint's contract/unsafe-allow). craft-font-subset keeps the service's
API (subset, subset_renamed, encode_woff2, closure, codepoints) and tests, and
adds cut_face for build-time interface cuts. The facade gets the native-only
font-subset feature.
2026-11-12 14:32:45 +00:00
aiongg 66b9f69fdb Build fixes: toggle_row takes the toggles by slice; drop TextColumns' unused length_row, the editor's unused Focus import and a trial's unused Show import 2026-11-12 14:32:45 +00:00
aiongg a706a9ddb6 TabStopsDialog: each row edits its stop in place (position field, alignment and leader Selects through ListRow::cell_field), as the old; the detail row under the table goes, and Set moves into the new row's position field 2026-11-12 14:32:45 +00:00
aiongg a47749025a ListRow::cell_field: a hosted component in a column's cell in place of its text, in the label's place in the label's column; its stop joins the row's group 2026-11-12 14:32:45 +00:00
aiongg 3a69c4d974 number trials: close the glyph scrub trial after the rebase onto craft-framework 2026-11-12 14:32:45 +00:00
aiongg b537a04cc0 Validity::Error: a checked value that stands, read invalid with its message in the bad tone; TextColumns marks an out-of-range Number or Spacing field so, in place of the notices after it; the New Document preset name refusal uses it 2026-11-12 14:32:45 +00:00
aiongg e0d4068761 TextStylesPanel footer: Clear Override and Redefine at the start edge, the other actions at the end edge, through FooterBar::at_start 2026-11-12 14:32:45 +00:00
aiongg b48592be02 TextRuler: while Alt is held in a column border drag, each column's width shows between its borders, as the old 2026-11-12 14:32:45 +00:00
aiongg cef7d51cb6 TextEditor: the caret blinks for the whole session; in vertical text the formatting keys follow the flow; a formatting key the host does not take moves the caret as its arrow does 2026-11-12 14:32:45 +00:00
aiongg 65568b98e0 ParagraphControls: alignment and direction are rows of icon toggle buttons, each a Tab stop, as the old; a justify button on point text is disabled with its reason in the tooltip 2026-11-12 14:32:45 +00:00
aiongg 21051f8d27 Kerning field: the doc says what it shows for Metrics and Optical; a trial holds a named number value to its row label and the typed name 2026-11-12 14:32:45 +00:00
aiongg 18ab6fc52a MarkerDialog: Time and Duration are TimecodeFields (scrub, Up and Down frame steps, mono figures), as the old 2026-11-12 14:32:45 +00:00
aiongg 3203b19882 FindBar: the count and the search progress write their numbers in the user's digits and groups 2026-11-12 14:32:45 +00:00
aiongg 26cfefbc0c HyperlinkDialog: each Link to option shows its icon between the radio and the label (globe, mail, bookmark), as the old 2026-11-12 14:32:45 +00:00
aiongg 9acaa83178 NamedPresetRow: Buttons and Menu styles, commands scoped to the row (F2 renames), prompt opens focused 2026-11-12 14:32:45 +00:00
aiongg 54a549100c CommandPalette: recents kept for the session when the host binds none 2026-11-12 14:32:45 +00:00
aiongg c8f2a28def Label scope: measure the control baseline from the top of the labelled control
A control inside a label scope reports the screen y of its first baseline
(or centre line), and the scope stores it measured from the top of the rect
the label step placed the controls in. A piece a row centres beside a taller
one (a number field beside an AngleDial) reports a baseline further down, so
its side label lines up with its text instead of sitting above it.

PaintedText carries the run's first baseline for trials.
2026-11-12 14:32:45 +00:00
aiongg ee9aaf11eb EditorMock: show_at, and its stories fill a stage as tall as the room offered
A card sizes a filling story from its content, and the window's canvas has none.
EditorMock::show_at shows the window at a rect through AppShell::show_at; both
stories pass a stage of testing::room_height. The gallery's dock preview keeps show.
2026-11-12 14:32:45 +00:00
aiongg f317e50be3 FullWindowCanvas story: the canvas fills a stage as tall as the room it is offered
A filling container in a card sized from its content takes its content height, and
the full-window canvas has none. testing::room_height gives the room a story's card
offers, or the stage height where the room is unbounded; the story shows the canvas
on a stage that tall.
2026-11-12 14:32:45 +00:00
aiongg 56b30b938d Components index lists the round's new components and stories 2026-11-12 14:32:45 +00:00
aiongg a899406d9a Signature pad: a typed name too wide for the pad shrinks to its width instead of wrapping out of sight 2026-11-12 14:32:45 +00:00
aiongg 0c9f998107 Comments panel: drop the Props import the add box no longer uses 2026-11-12 14:32:45 +00:00
aiongg 6b82de8e54 ListRow::below hosts components in a line under the row's text; the version history's delete confirmation asks with Delete and Cancel under the question 2026-11-12 14:32:45 +00:00
aiongg 9ebab52892 Version history: the rows sit on a timeline, a line through the dots with the shown version's dot filled 2026-11-12 14:32:45 +00:00
aiongg 6a81e26d92 Comments panel: Enter posts from the add box, Enter on a card puts the focus in its reply box (RowState::activated_by_key), Cmd+Enter posts a reply or an edit; the kind icon sits on a sunken disc in the annotation colour 2026-11-12 14:32:45 +00:00
aiongg 68e0f52ebc Signature pad: the Type and Image tabs show their signature on the same paper as the Draw tab; the image hint is muted 2026-11-12 14:32:45 +00:00
aiongg 4469c68b92 Revisions panel: each change is a raised card with a bar in its kind's status colour, Accept and Reject at the end edge 2026-11-12 14:32:45 +00:00
aiongg 3d841bfda3 ThreadPopover and Version history put their buttons at the end edge; the thread's Resolve is a check button and its Post buttons are primary 2026-11-12 14:32:45 +00:00
aiongg b753029d14 TableSizePicker: squares draw as sunken wells, the lit ones in the selected fill with an accent outline; Left and Right run on across the rows 2026-11-12 14:32:45 +00:00
aiongg 6918db3e4d Tab: the selected tab draws an accent bar along its top edge in high contrast 2026-11-12 14:32:45 +00:00
aiongg c04d3e656f Tab shows unsaved changes as a * after its last text, never cut, and keeps its close button 2026-11-12 14:32:45 +00:00
aiongg c7362a6790 TabStrip wheel_selects: the wheel over the strip steps the shown tab by the collection's wheel notch; a collection that senses the wheel registers in the item step with its notch; DockConfig::wheel_selects_tabs passes it to dock groups 2026-11-12 14:32:45 +00:00
aiongg 94113ca1d7 DocumentTabs reports a double click on the strip's empty room as EmptyDoubleClick, where the host opens a new document 2026-11-12 14:32:45 +00:00
aiongg 2ff07c7258 JPEG Options drops the Format Options section line: the format radio row titles itself 2026-11-12 14:32:45 +00:00
aiongg 0c31ce2889 Captions as the old dialogs showed them: Text Columns rows show Width and Spacing before their fields and Preview above the page preview; the toolbar drawer keeps a placed tool's shortcut and reports In toolbar as its description 2026-11-12 14:32:45 +00:00
aiongg 1d1f2f2ce1 The colour row shows a swatch of the custom colour beside the list while one is chosen, and a click on it asks the host's picker at that colour, as picking Custom… does 2026-11-12 14:32:45 +00:00
aiongg 6d9381f411 A parameter radio row is its own section titled by the parameter, so its name shows once; Targa drops the section that repeated it 2026-11-12 14:32:45 +00:00
aiongg f9b127a2b7 Side labels can show a short caption in place of the name: LabelKind::Short keeps the text label's column and colon while the label's text names the control; WarpFields shows H and V beside the distortion fields 2026-11-12 14:32:45 +00:00
aiongg c8a092d0b5 EditorMock: the status bar as the old preview had it
The zoom and the chosen readout item, the colour mode, the layer count and the
mock's status message, and the CPU Rendering warning at the end. The message says
which tool was chosen and the size Image Size set, as the old mock's did. Uses
L04's StatusMessage.
2026-11-12 14:32:45 +00:00
aiongg 982734d240 EditorMock: a screen-mode binding and the Full screen story
The old gallery showed the mock app in the Canvas shell in Standard, Full screen,
Revealed and Right to left. Full screen is an EditorMock story over the shell's
screen_mode binding; right to left is the gallery's own direction switch.
2026-11-12 14:32:45 +00:00
aiongg 1e3d9345a0 EditorMock: the title bar as the old preview drew it
An integrated frame of the generic family with every caption at the end, the
hairline under it, and Search in the trailing group.
2026-11-12 14:32:45 +00:00