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.
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.
* 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]>
A graphic style picked with nothing selected and then redefined gave new
art and type the look picked with the new definition's isolate and
knockout, still linked to the style. New art now links to the style only
while its fills, strokes, effects, opacity and blend mode match the
style's current definition; otherwise it keeps the look picked without
the link, isolate or knockout. appearance.newArt reports the style the
same way, and undoing the redefinition links new art again.
New type made with the look paint.default gives in a document whose
Default Graphic Style was redefined took that look and lost its
characters' color, which failed
an_open_document_takes_another_profiles_default_fill_stroke_and_font.
That look is the document's default, so new type made with it keeps its
characters' color, as with the shipped default.
path.insertAnchor on type on a path, unselected or with selectAnchor,
left the new anchor direct-selected under the type's id. The arrow keys
and path.moveAnchors then sent that anchor to the path editor, which
refused it with "object N is not a path". The type now stays selected
whole with no direct-selected anchors, as path.removeAnchor leaves it,
so a nudge moves the type.
The progress-doc entry now limits the tools to type outside
perspective and lists the Pen with Alt with the Anchor Point tool's
gestures rather than with adding and deleting anchors.
A graphic style picked in one document and used for new type in another
lost its look when the style was one plain fill and stroke, and lost its
opacity and blend mode in every case, because both checks read the style
name that is dropped outside the style's document. New type now checks
whether its look came from a graphic style separately from the link: the
link is still left out in another document, the look and transparency
are not.
The docs say that area type made with `text.create` and `area` takes the
template, and only Type on a Path and `text.createInPath` area type keep
the default appearance.
The Anchor Point tool, the Add and Delete Anchor Point tools, Pen + Alt
and the Pen's Auto Add/Delete only picked anchors of plain paths, and
the path.* anchor commands refused type on a path ("object #N is not a
path"), so dragging an anchor of type on a path's path did not pull
handles out, as it does on a path.
- The tools pick the anchors and segments of selected type on a path
outside perspective, and draw its anchors and handles; Scissors still
does not cut it.
- path.convertAnchor, path.reshapeSegment, path.setHandle,
path.moveAnchor, path.insertAnchor and path.removeAnchor edit the
type's path in document space through its transform; the type lays
out again and its brackets keep their fractions of the path.
path.removeAnchor refuses to leave it fewer than two anchors.
Docs: docs/mcp.md, docs/target-app-parity.md.
New art and type took the graphic style picked with nothing selected by
its name, so in another document they were linked to a style of the same
name there, and took its isolate and knockout. The template now records
the document the style came from, and new art elsewhere takes the look
without the link.
New area type that text wrap moves as it is made (an Auto Size frame
below a wrap object grows) had the template's placed gradients fitted to
the frame before the reflow. Both ways of making type now let text wrap
reflow it first and fit the gradients to the frame it ends with; type
whose bounds do not change keeps its placement.
The docs name text.create as the command whose type takes the template,
state that Type on a Path and Area Type keep the default appearance, and
note that a color given to text.create keeps the characters' fill under
Override Character Color.
New art made with a graphic style picked with nothing selected took the
style's opacity and blend mode but kept the default isolate and
knockout. A style with Isolate Blending or Knockout Group set therefore
left the new object unlinked at once, and Redefine Graphic Style
skipped it. New objects and new type linked to a style now take its
isolate and knockout too.
With New Art Has Basic Appearance off and a basic graphic style picked
with nothing selected, only the first new type took the style. New type
was never linked to the style, so the next one inherited an unlinked
basic look and came out plain.
New type made with a graphic style's look now takes the style's opacity
and blend mode and is linked to it, as graphicStyle.apply does for type.
Other new type keeps its own opacity and blend mode.