Conflicts in docs only (status lines and table rows): main's entries and
this branch's are both kept, each once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts in docs only (status lines and table rows): main's entries and
this branch's are both kept, each once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sample a profile until the straight line between samples stays within the
outline tolerance, in points, and fit the sampled edges at that same
tolerance. A profiled outline now covers the same area as the shape before
the smoothing (star with Wave: 15597.7 pt² against 15595.4 pt² on the same
fixture), while staying G1 cubics rather than one cubic per flatten step.
Profile interpolation again takes each run's own secant slope at its ends,
so a preset draws the shape it drew before the smoothing work.
* Text styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine)
* fix(text-styles): require text target for clear overrides and update parity docs
* Properties panel: add contextual Quick Actions for text (Create Outlines, Retype, Find and Replace)
* Properties panel: address review comments on Retype reveal idempotency, test assertions and parity docs
- Forward secondary clicks on name label links for stroke/fill and effect rows
- Enable Reduce to Basic Appearance when any selected subject needs reduction (including compound path children)
- Add headless regression tests for label context clicks and multi-selection reduction
- Update M14 roadmap entry and UI parity evidence, and clean conflict markers in ui-parity.md
* Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071)
* Drop a restated rule from This repository
* Remove the cleanroom xtask command, which does not exist
* AGENTS.md: correct the repository facts
The desktop app's platform modules allow unsafe; list them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Follows #8765. graphicStyle.apply with target "contents" gave every face
and edge of a Live Paint group the whole style, so faces drew the style's
strokes along their outlines and edges drew its fills. Each face now takes
only the style's fills and each edge only its strokes, with or without
add, and neither is linked to the style. An add that gives a face or edge
nothing leaves it and its link as they are, and an apply that changes
nothing records no undo step.
appearance.clear on the contents leaves a face one empty fill and an edge
one empty stroke, and appearance.reduceToBasic keeps only a face's fill
and only an edge's stroke.
Docs: docs/mcp.md, params text, docs/target-app-parity.md.
With Direct Selection, one live rectangle or live polygon selected whole now shows the Corners link in the Properties panel beside its own rows. Before, the panel showed the link only while an anchor of the shape was selected. The pop-up sets every corner of the shape. A path with Live Corners selected whole still shows no corner rows.
The Control bar and the Properties panel show a Corners link beside the
radius field of the picked corners. It opens a pop-up with the corner
kind, the radius (blank while the picked corners differ) and Relative or
Absolute rounding. Each change sets the picked corners of every selected
path in one object.setLiveShape call with items, one undo step: the
corners holding a Direct-Selected anchor, or every corner of a path
selected whole. The Properties panel shows the link while a corner is
Direct-Selected; its corner rows now cover several selected paths too,
and a live rectangle or polygon selected alone, which keeps its own
radius and kind rows, shows the link for the pop-up.
object.setLiveShape with relativeRadii: true now works on a plain path
with corners: the path keeps its outline as the base of its Live
Corners. Before, it did nothing, and relativeRadii: false added an empty
undo step. A Relative path whose corners are all uncut again keeps its
rounding, and Absolute on one with no corner cut makes it a plain path
again.
With Relative rounding, a radius is now compared as the fraction it
would store, so typing the radius the field shows, or a radius past the
corner's maximum again, adds no undo step. Before, it was compared with
the radius as drawn.
Part of #1232. Reported by XTRECY-BD.
README's What's missing no longer names Extrude & Bevel, Inflate and
Rotate; G3 and the effects-parity 3D summary name what remains: base and
Substance materials and shadows from lights after the first.
While the pointer is within 5 px of a Live Corners widget (the distance
within which a press picks the widget), the canvas draws the cut of the
corner that widget controls in a 2 px line of the layer color, under the
widgets. It works with every tool that shows the widgets: Selection,
Direct Selection and the shape tools. Round, inverted round and chamfer
corners are highlighted; a square corner has no cut, so nothing is drawn.
No line is drawn while a mouse button is down (a press on the widget or
a pan), or where a widget is hidden.
CornerWidgets::hovered_cut finds the widget under the pointer and takes
its corner's segment from the path as drawn, through the corner sources
LiveCorners keeps, so a live rectangle, a live polygon and a plain path
with Live Corners all highlight the segment they draw.
Docs: docs/mcp.md (Live Corners) and the docs/target-app-parity.md
evidence list.
Part of #1232, reported by XTRECY-BD.
Near matching ranked every glyph of the shape's contour count and proportion
before comparing the 256 closest, and that ranking was not counted against the
point comparisons each shape and command may make, so a large selection over
many fonts could spend unbounded time there. Each glyph ranked now takes one
comparison per contour and one more from the same budget, the ranking keeps
the closest glyphs without sorting the rest, and the shares of contour length
are read without allocating per glyph.
Retype compares at most 96 loaded faces in one index: the document's
fonts, the fonts in `fonts` and the faces earlier searches of the
installed fonts loaded come first. Loaded faces past those 96 were never
compared, and the search of the installed fonts leaves loaded faces out,
so a shape only such a face matches stayed unmatched.
- type.retype now compares the loaded faces past the first 96, 96 at a
time, with the shapes that are not plain and that the first 96 do not
match, before it reads any installed file. The background search hands
those faces to the command with what it found in the installed fonts.
- A face that another version of its family and style shadows is no
longer compared ahead of the other loaded faces.
- A background search whose command fails before it takes what the
search found no longer leaves it for a later command.
- With the Retype panel's list full, installed faces count as skipped
only when a shape would start a search of the installed fonts.
- "Retype failed: internal error: its thread stopped" has a row in each
complete catalog.
Docs: docs/mcp.md (Retype installed fonts).
The glyphs of a split compound path can become separate type objects, for
example on two lines. A compound filled by the nonzero rule whose glyphs
overlap passed the paint check, and with an opacity below 100% the two objects
then painted the overlap twice. A split whose parts overlap now keeps the shape
an outline when the shape has an opacity below 100%, a blend mode other than
Normal, a gradient or pattern fill or a stroke.
The check for every corner being picked now counts every selected path
with corners, including one whose widgets are hidden because its sides
are too short on screen. A click or Shift-click on another path's
widget then keeps or toggles as usual instead of picking that corner
alone and dropping the hidden path's picks.
The docs now state the all-picked exception for a plain click and the
multi-path case for a Shift-click.
Splitting a compound path copies its contours and compares each with the
others. A selected compound of a few contours with a very large number of path
elements was split however many elements it had. Such a shape is now matched
whole only, like one of more than 256 groups or 512 contours.
Part of #1232. With Direct Selection and some corners picked, the widgets
of the other corners used to hide, so a Shift-click could remove a picked
corner but not add another one. Now every eligible widget shows: a
picked corner's widget has a dot at its center and the others are
hollow.
- A click on a widget that is not picked picks its corner alone. A click
on a picked widget keeps the picks, so Shift-clicking several corners
and then double-clicking one of them opens Corners for all of them. A
Shift-click adds or removes a corner on any selected path and keeps
the other picks; on a path selected whole beside a path with picked
corners it removes that corner (select.anchorsMany, mode toggle).
While every corner of every path is picked, a click or Shift-click
still picks that corner alone, as #6106 made it.
- A drag or Alt-click on a widget that is not picked edits its corner
together with the picked ones, as one undo step, and does not pick it.
A drag on a picked widget edits the picked corners alone.
- Over a widget that is not picked, the end of a selected anchor's
direction handle, or an anchor at least as near to the pointer as
the widget's center, takes the press, the cursor and the
double-click.
Hollow widgets are drawn below the anchors and handles.
- A Shift-click on a rounded corner picked by one of its two anchors
removes the corner instead of swapping that anchor for the other.
- The Selection tool and the shape tools still show and edit the picked
corners' widgets alone, drawn as before. The angle, side length and
Hide Corner Widget rules are unchanged.
Docs: docs/mcp.md, docs/control-protocol.md, docs/target-app-parity.md,
docs/ui-parity.md.
A near-matched glyph joins a line when its size and turn are each within the
tolerance of the line's, and the line's type then draws it at the line's size
and turn. Together with the glyph's own leftover distance, that change could
put the drawn glyph further from its shape than the tolerance: an m 4% larger
and turned 0.04 radians stayed on its line at tolerance 0.05.
The layout check now also measures, for each near-matched glyph (and each glyph
of a line whose first glyph is one), how far the change from its matched size
and turn moves the drawn outline relative to its spread, combined with its own
leftover distance, and splits the line before it when that passes the
tolerance, or when the glyph's center sits further away than its origin may.
Shapes no loaded font matches are now compared with the installed fonts
that nothing has loaded yet. type.retype reads their files one at a time,
smallest first, until each such shape matches a font it has read, and
type.retypeFonts (the Retype panel's list) ranks the matching installed
fonts with the loaded ones, up to 96 fonts in all.
- A file is read for the search and released. A face whose glyphs match
is loaded as it was read, without the family's other files, and later
searches in every open document compare it ahead of the other loaded
faces. A matching face that another version of the same family and
style shadows is loaded and not listed.
- Files over 256 MiB, and the files and faces past 2 GiB read or 500,000
glyphs drawn, are left out and counted in the result's
installed.skipped.
- A plain shape (one contour of up to four straight edges, such as a
rectangle or a hyphen) does not start the search, and matches only a
font the other shapes found.
- installed: false turns the search off; any value other than true,
false or null is an error. retype.find takes installed too.
- In the app, Type > Retype and Find Matching Fonts (the panel's button,
or retype.find from a menu or the command palette) search on a thread
of their own. After 0.4 seconds a progress window shows the files
read, with Cancel (also Esc, retype.cancelSearch). When the search is
done the command runs with the fonts it found, without reading the
installed fonts again, unless the document or its selection changed
meanwhile. Reset Retype Panel and a new search stop a panel search.
An MCP cancel stops the search between files.
Part of #4934.
Targets::collect_inner stopped visiting objects once its 20,000-anchor
budget was spent, so in a document with more anchors the objects
visited last (the topmost, newest ones) gave no edges or centre either,
and a ruler guide, a move, a scale or a drawn point did not snap to
them. The anchor budget now caps only the anchors and the segment
budget only the segments; every visible object gives its bounds, up to
a separate cap of 100,000 objects.