* Retype: add a context menu to matching-font rows
A secondary click, or Shift+F10 on the focused row, selects a font row in
the Retype panel without setting its font and opens a menu with Apply Font
(what a click on the row does; off without live text selected), the panel
menu's sample sizes and Reset Retype Panel. The menu closes when the list
or the document changes (G12).
* Rerun CI: the apt package download failed in a test shard's setup
---------
Co-authored-by: ruchirguitar <info@jeevantirth.org>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
With Direct Selection chosen, Cmd/Ctrl lends the Selection tool for the
press. That loan also took presses on the end of a shown direction handle,
so a Ctrl-drag on a handle moved the whole object (and anything selected
with it), or drew a marquee where no object was under the handle. Only Ctrl
added after the drag began mirrored the opposite handle.
A new Tool::keeps_cmd_press lets the active tool keep a Cmd/Ctrl press.
Direct Selection keeps one without Alt on the end of a shown handle of a
path, of type on a path, or of a selected blend spine anchor, so the drag
mirrors the opposite handle, with Shift constraining it. The session's
lent_tool_at asks it, so the press, the cursor and the status bar agree. A
press elsewhere, on a handle of the bounding box the lent Selection tool
shows, or with Cmd+Alt (Group Selection) is still lent as before.
docs/gaps.md and docs/ui-parity.md describe the press.
Conflicts:
- crates/engine/src/tests.rs: keep both the missing_links and moved test modules.
- crates/ui-egui/src/panels/links.rs: take main's labelled menu entries and give
the Show Missing Links row its translated title.
- docs/roadmap.md, docs/target-app-parity.md: take main's rows and re-apply this
PR's #5547 notes.
- docs/ui-parity.md: take main's Headless column layout, re-add this PR's history
and behaviour rows (Headless: unknown), and count the new row in the summary.
- object.rasterize with ids refuses objects whose nearest clip group or
clipped layer differs, before rendering: the image goes where the last
object is, so mixed sources would be clipped by another object's path.
- Document.rasterize reads the image id from the command's result inside
the run's savepoint, so an id above 2^53 binds the new RasterItem and a
missing id undoes the edit.
- Document.imageCapture refuses a destination that is another name of an
open document's file or a linked file (same device and inode, or same
volume and file index), and on Unix any file with other hard links,
which an in-place write would change under every name.
- Docs: gaps.md and target-app-parity.md list what rasterizing and
capturing still lack; mcp.md states the clipping rule, the hard-link
rule and that a later OS write failure can leave some files written.
The one-column Tools rail stacked Search above Edit Toolbar in its
footer. The extra row made the default rail taller than a 1000 pt
window holds, so the rail scrolled and Edit Toolbar was out of view.
A one-column rail now shows Edit Toolbar alone. Search Commands stays
in the title bar, Help > Search Commands... and its shortcut. The
two-column rail keeps Search beside Edit Toolbar.
Tests: one_column_rail_shows_edit_toolbar_in_a_1000_point_window; the
#8758 layout test checks the one-column footer, and the search query
test runs on the two-column rail.
A right-click on an event row, or Shift+F10 on the focused row, picks that
event and offers Remove Event, Clear Events and Link JavaScript Files..., the
same commands as the footer and the panel menu (G12).
The web build had no Gujarati face, so it never offered Gujarati: the
language gate looked only at embedded craft-fonts faces, and web builds
embed only BIZ UDPGothic.
- crates/text/web-fonts.txt lists Noto Sans Gujarati Regular as a
`demand` face, like Noto Sans Devanagari for Hindi: served beside the
wasm under fonts/ui/ and fetched by the interface font stack when its
text needs Gujarati, never at startup or in the background queue.
- The Gujarati gate counts an embedded Gujarati face, or on the web a
served one (SERVED_FONTS); desktop behaviour is unchanged.
- Tests: web_fonts_follow_the_list expects the new demand face;
web_offers_gujarati_with_the_served_gujarati_face checks that a web
build with only the served face offers `gu`;
web_gujarati_face_covers_the_gujarati_catalog checks that the served
face alone draws every Gujarati character of the catalog.
Docs: gaps.md (G16), localization-parity.md, roadmap.md,
target-app-parity.md.
In a pixel document, or with Units set to Pixels, the root `width` and
`height` were rounded to the chosen decimals, so a size below half the
last decimal place was written as 0 while the `viewBox` kept a positive
value. Both now keep enough digits to stay positive, and sizes that need
more than 14 decimal places are written in scientific notation, so two
tiny sides keep their proportions.
* Tools: add search beside Edit Toolbar
Open the existing tool-aware command palette from the Tools footer, preserving the customization button and fitting both column layouts.
Closes#8758.
* Format the toolbar Search interaction regressions
* Format the native Search tooltip expectation
* Use the current stroke paint API in Properties
* Scope app-bar test lookups to the title bar
---------
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
blend_render_consistency, direct_handle_mirror, ellipse_drag_anchors,
eraser_open_fill, group3_reference, path_fill_hits, pen_space_handle,
preflight and scissors_snap were each a test binary of their own. They
now are modules of crates/engine/tests/it, with their tests unchanged,
so the engine's tests link nine fewer binaries.
The files that stay separate change process-wide state (installed
plug-ins, Safe Mode, the font database, color settings, the working
directory), are run by name from CI or xtask (the Affinity corpus
tests, script_corpus, import_fuzz), or compile for about a minute on
their own (command_sweep), which would make every edit to tests/it
rebuild it.
Docs that named the old paths name the new ones, and the preflight
command in docs/production-preflight.md runs `--test it preflight::`.
Lines that called shipped work missing, pending or unconfirmed now say
what main has: the key anchor for Align and Distribute (#7769, #8023),
artboard colors in exports and print (#4991), update checks (#4138),
Touch Type, Snap to Glyph, ruby, kinsoku sets and tate-chu-yoko, the
file-font and read-only save regressions passing in #4569 and #6671,
and the Wayland cursor and Windows title bar fixes the reporters
confirmed (#1645, #1758). The built-in brush library count and list
match the twenty libraries in brushlib.rs, and the Preferences count
matches the two options still listed under Missing.
main's Document member list held saveAs and close as members that are not
available yet; this branch's save_open members implement them, so the
merge drops them from that list and keeps main's other entries. The
script host test lists take main's members together with this branch's
open, userInteractionLevel, fullName, path, saved and option classes,
and the heap accounting keeps main's ModuleNamespace arm beside the
FsEntry string arm.