The side widget shows only for exactly one whole live polygon that is visible, unlocked and not on a locked artboard, with none of its anchors or segments selected. The progress line now says so.
Each <textPath> with an href walked the whole document to find the element it names, so a file with many texts on paths took time proportional to the number of texts times the number of elements. The importer now builds a map of element ids at the first such lookup, keeping the first element in document order for each id, and looks each href up there. Files whose texts name no element do not build the map. The imported document is the same: a test compares the whole document and warnings with the per-id walk, including duplicate, missing and unusable ids.
Add Bounding Rectangle and Add Bounding Circle refuse a selected object
of a symbol instance's art, so they are now dimmed while one is selected,
as other commands that refuse it are.
- The circle keeps only the hull's corners while it reads a path's
anchors too, so a path with very many anchors does not gather them all
first.
- The convex hull treats -0.0 and 0.0 as one coordinate, so points on a
vertical line at x = 0 give the line's two ends.
- docs/target-app-parity.md says that a curve is split into 1,024 pieces
at most, and a piece that still bends counts by its control points.
Window › Retype shows a panel that lists the fonts whose glyphs the
selected outlined text exactly matches. Find Matching Fonts lists ten,
ranked by how many shapes each matches and then by how closely, and
Find more font matches adds the next five from the same search. Each
row shows a sample in the font, at the size the panel menu sets (Small,
Medium, Large) and with the text typed in the panel. A click on a row
sets the font on the selected live type. Reset Retype Panel clears the
list.
- type.retypeFonts {count?} returns the ranked fonts without changing
the document. It compares shapes with the glyphs of up to 96 loaded
fonts, those of the document's live type first, by type.retype's
matching. A shape counts once for each font it fits. Of two loaded
versions of a font, only the version its name gives is compared.
- RetypeIndex::all_matches returns every fit of a shape, so fonts past
the first 16 fits are ranked too.
- retype.find, retype.list, retype.preview and retype.reset drive the
panel.
- Rows for the panel's labels and the commands' errors in every
complete catalog. The Retype row also translates the Type › Retype
menu item.
Docs: docs/mcp.md (Retype panel), docs/target-app-parity.md,
docs/ui-parity.md, docs/gaps.md, docs/type-parity.md.
Part of #4934. Builds on #8441.
The walks that look for dimension ends and lines to snap to, and the
dimension lines a linear dimension lines up with, stop going through the
remaining layers and siblings once they have read 20,000 objects.
With Smart Guides on, a selection the Selection tool held by a point of
a path's edge (a press on its stroke, on its outline in Outline view, or
on the fill within 6 screen points of the edge) snapped that point only
to other anchors and centers, or lined its bounds up. It now also lands
on the other objects' paths ("path") and where paths and ruler guides
cross ("intersect"), as a selection grabbed by an anchor does since
On a straight path, the selection then slides along that path, the
point staying on it, until its bounds line up with other objects, are
spaced evenly with them or line up with a ruler guide. The slide goes
at most twice the Snapping Tolerance and not past the path's ends. On a
curved path and at a crossing the point lands as an anchor does, and
the bounds do not line up.
- The French script error line now has the catalog's no-break spaces before its colons.
- es.tsv drops the old file.info control character row a merge brought back.
(cherry picked from commit bb66ae9a87)
Clicking between app windows (floating panels and the canvas) passes through one frame where none of them has focus. The palette levels counted the app inactive on that frame and lowered every floating panel's OS window. The panels flickered, could end up disappearing behind the main window until the next repaint, and a click on one panel's bar could hand the keyboard to another.
The app now counts as inactive once none of its windows has had focus for 0.25 s, counted from the first frame that saw none. craft-ui's docking waits as long.
Fixes#6986
- The French script error line now has the catalog's no-break spaces before its colons.
- es.tsv drops the old file.info control character row a merge brought back.
Two PRs merged tonight each added the same row, so bundled_catalogs_are_consistent fails on main
(gu: duplicate "" "Panel"). Both rows have the same translation.