Remove Anchor Points mapped each subpath's next anchor to the path as
drawn with `LiveCorners::drawn_anchor`, which counted the anchors of
every earlier subpath again for each one. `LiveCorners::drawn_anchors`
maps the whole set while walking the subpaths once.
The docs now say that Remove Anchor Points selects the next anchor of
the uncut outline, which can be an anchor added on a side as well as a
corner.
Adding an anchor on a side of a path with rounded Live Corners moved
each selected anchor to every anchor of its corner. The ends of a
selected segment are selected anchors, so a selected side also selected
the far ends of the arcs at its two corners, and an arrow-key nudge
then moved those anchors too. The ends of selected segments now follow
the segments instead: after the addition, only the ends of the
segments as drawn are selected. Anchors selected on their own still
select their whole corner.
A plain path no longer builds its corner layout for Add Anchor Point,
Delete Anchor Point or Remove Anchor Points before falling back to the
plain edit, and Add Anchor Point builds it once for the cut check and
the selection. The selected segments are matched to the new layout
through one lookup per subpath instead of a scan for each segment.
docs/mcp.md and the Live Corners entry in docs/target-app-parity.md
now say that removing anchors clears the path's selected anchors and
segments, and that Remove Anchor Points selects the anchor before the
removed one at an open path's end.
A painted member whose own opacity, or the opacity of a nested group
holding it, is below 100% makes Revolve draw the shaded faces instead of
one image.
The status bar's Rotation menu and artboard navigator were memoized on the
document's revision, which rises on every frame of a drag, so the memo
missed and both controls were laid out again each frame. The memo now keys
on what the navigator lists: the artboards' names in order, with the
selected artboard, view angle and language as before. Edits that leave the
names alone replay the controls; a rename or a new artboard runs them.
The new test moves an object ten times and counts no navigation runs, then
renames an artboard and checks the navigator shows the new name.
Adding an anchor with the Pen or Add Anchor Point tool, or removing one
with the Pen, Delete Anchor Point, Remove Anchor Points or the Delete key
with Delete Removes Anchor Points and Keeps Paths Joined on, turned a
path with rounded Live Corners into a plain path: the arcs were baked
into anchors and the corner widgets disappeared.
path.insertAnchor now adds the anchor on the matching side of the uncut
outline, at the point the drawn segment has at t, and cuts the corners
again at their radii and kinds. path.removeAnchor and path.removeAnchors
remove the uncut corner each removed anchor belongs to, so removing
either end of a corner's arc removes that corner and the others stay
live; a path left with no corner is removed. A relative radius keeps the
length it is drawn at, up to the corner's new largest radius. Selected
anchors and segments follow their corners, a split selected segment
stays selected as its two halves with the new anchor, and Remove Anchor
Points selects the first anchor of the next corner.
An anchor added on a corner's arc still makes the path plain, and the
status bar now says the corners were expanded.
Docs: docs/mcp.md, the params text of path.insertAnchor,
path.removeAnchor and path.removeAnchors, and the Live Corners entry in
docs/target-app-parity.md.
With New Art Has Basic Appearance off, new type took nothing from a
selected object whose fills, strokes and effects matched the document's
redefined Default Graphic Style without a link to it (after Break Link
to Graphic Style, for example), because the check that keeps type plain
for the document's default look also caught a look taken from the
selection. That check now applies only to the look paint.default gives,
so new type takes the selection's fills and effects, and new type made
after paint.default still keeps its characters' color.
A metafile can fill a figure without closing it, for example a GDI path
bracket painted with FILLPATH and no CLOSEFIGURE. The fill draws the
figure closed, but the import kept it as an open path, so the object
reported closed:false and a stroke added later left a gap at its start.
A path the picture only fills now comes in with every open figure
closed. Stroked paths keep their figures as the file draws them. The
same rule covers EMF, WMF and PICT, which share the importer.
Recolor Artwork previews its colors on the art, but its modal layer
dimmed the whole window, canvas included, so the preview could not be
judged. The dialog now keeps the canvas of the window it opened in open
under its modal layer, as the Color Picker and the color adjustment
dialogs do: no scrim over it, and the wheel still scrolls and zooms the
view. Other presses on the canvas stay blocked.
A Color Picker opened from a row's new color also keeps the canvas
undimmed. The picker now registers the canvas, and while it is open over
Recolor Artwork the dialog below draws no scrim of its own, so the
picker's layer is the only one that dims the window.
While the Color Theme Picker is on, its clicks and Shift-drags on the
art now reach the canvas. Before, the modal layer blocked them, so a
click on the art added no pick.
Part of #10590.
A line of type in a font the file carries is kept as outlines when it
uses a different glyph for a character than the rest of the file does in
that font, because the font kept with the document holds one glyph per
character. That line got the warning for scripts whose letters join, so
a Latin document reported Indic-style reshaping. It now gets its own
warning, which is also one of the warnings on outlines that a layered
.ai drops when no outlines are left. Type kept as outlines because it
would reshape keeps the old warning.
A dialog's modal layer dims everything but the canvas the dialog
registers. Blend Options, the envelope and path dialogs, Split Into Grid,
Flare Tool Options, Justification, Proof Setup, Swatch Options, the
Tangent Circle radius dialog, the add-on dialogs and the command dialogs
with a Preview box registered no canvas, so the art they previewed was
shown dimmed and the wheel over it did not scroll the view.
dialogs::host::preview_canvas gives the current window's canvas, and
PreviewsOn::previews_on registers it when the dialog previews. The add-on
dialog host registers it for every add-on dialog. Blend Options with no
blend selected sets the defaults for new blends and previews nothing, so
it still dims the canvas.
Part of #10590.
* Locate both color wells by their reported radio values
The shared swatch pair exposes unnamed radio parts. Drive real clicks on the exposed area of Stroke and Fill and keep the original paint and modifier assertions.
(cherry picked from commit 5b990d637c)
* Use regional decimal marks in UI fixtures
(cherry picked from commit 4208649d63)
* Use ordinary canonical paths in script fixtures
(cherry picked from commit f37b5811ad)
* Restore Animated Zoom for mouse-wheel notches
Restore the glide when Zoom with Scroll Wheel and Animated Zoom are both on, as in 0.24.1. The canvas keeps precision point input and pinches immediate. Tracks #10418.
(cherry picked from commit 1dde4db0f3)
---------
Co-authored-by: Codex <[email protected]>
* Use regional decimals in remaining UI fixtures
(cherry picked from commit d689f09e46)
* Test Divide preserves artwork at complexity limit
(cherry picked from commit cc54974df6)
* Honor an explicit Crop Box when opening editable PDFs
Backport the PDF option handling from 82d4ec4336. Apply it to editable and linked opens while preserving the original file when an alternate box was requested.
(cherry picked from commit 73bbd005f3)
---------
Co-authored-by: Codex <[email protected]>
Hovering a style row of an expanded family in the font list previewed
only the family on the selected type. apply_preview now takes the style
the picker reports with its preview (FontPickerOutput::preview_style and
CharacterControlsOutput::preview_style) and passes it to the font
command, so the type shows the hovered style; a family row still
previews the family in the closest style it has.
Every craft-libs rev moves to storytold/craft-libs#5489's head
(4f3e34d0dd), which adds preview_style, gives style rows a sample in
their own face, and keeps a typed query when a family's disclosure, its
star or a filter is clicked. Cargo.lock changes only the craft-libs
source lines.