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.
A seam stroke's width was scaled by the square root of the image's
scale, so on an image stretched more one way its caps could reach past
the image. The provider now outlines each trimmed seam stroke in the
traced raster's pixels, with butt caps and round joins as Image Trace
does, and maps the filled outline back like the other paths, so the
seam fills stay inside the image whatever its transform.
Flat Color traces abutting fills, and each fill was drawn on its own, so
a light hairline showed wherever two colors met. The built-in provider
now lays the trace's seam fills under the fills, as Image Trace's
Abutting method with Fills does. Seam strokes are trimmed to half their
width inside the image, so they do not paint past its border, and they
are added only in the anchors and paths that every style's traced paths
leave of the limits, so they never make a later style's trace fail.
conceptVector.generate run from a script now stops when the script is
asked to stop, as imageTrace.make does, and keeps no job.
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.
During an add-on dialog's preview, a command from outside the dialog no
longer acts on a path whose selected anchors the preview renumbered (Set
Corners recut it), so Clear does not delete other points of the base
path. A refused outside command leaves the dialog's own selection as it
was, while a command that ran, such as Deselect, still sets it. The
journal records the selection the command acts on before it, so an
action replays it on the same objects.
In the Flatpak build the save panel answers with a path in the document
portal, which puts only that exact name into the folder picked. Three
more save panels changed the answer before writing, so the write
succeeded inside the portal and no file appeared:
- Keyboard Shortcuts > Export Text added or replaced the extension of
the format picked (list became list.pdf).
- Save Metadata Template added .xmp to a name typed without it.
- Unembed added the stored image format's extension to a name typed
without one (links.unembed does this in the engine).
Each now opens the save panel again in the answer's folder, suggesting
the completed name, and the status bar says why. Its answer is written.
Paths outside the portal are unchanged. The check reuses the helper the
main Save and Export flows use, now shared as
io::save::portal_ask_again, and the engine exposes
links::unembed_path so the panel knows the name Unembed writes.
A canceled undo group, or a canceled undo scope that put back an earlier
snapshot, now advances the document's history restore count, as Undo
and Redo do. The same steps can make an equal object with the same id
again after such a cancel, so Raster Settings, Placement Options and
Create Object Mosaic ask to be reopened. A scope canceled without an
edit puts back the same snapshot and does not count.
Raster Settings OK also refuses while a tool edit computed on another
thread is pending, since running the command would apply that edit
first, after the targets were checked.
When the objects the dialog opened on render again, OK clears their
earlier fallback warning from the status bar while it still shows it,
unless a selected object still gives that warning; the selection's
first other warning takes its place.
text.create gave new type an empty appearance whatever new art's
template held, so type made with the Type tools ignored New Art Has
Basic Appearance off and a graphic style picked with nothing selected.
New type now takes the template's fills, strokes and effects when the
template is more than one plain fill and stroke or comes from a graphic
style. With Override Character Color on, its characters lose the fill
and stroke the template paints, as when a style is applied to type; a
color given to text.create keeps the characters' fill. With the option
on and no style picked, new type is unchanged. Type keeps its own
opacity and blend mode, as before.
Docs: docs/mcp.md (New art), docs/target-app-parity.md.