Commit Graph
7740 Commits
Author SHA1 Message Date
dotCooCoo 4a60b78b5c Actions: action.batch errors count steps from 1 and name the member they reject
action.batch refused a bad step before any file opened as `commands[i]`,
counted from 0, while a step that failed as it ran was named
`action step N (`id`)`, counted from 1. A step whose params its command
refused gave only the command's own error, without saying which step it
was.

- The checks before the batch (no command, an unknown command, a nested
  batch, prefs.import) now name the step as `action step N (`id`) failed:`,
  from 1, as the runtime errors do. A long unknown id is cut short in the
  message, as an unknown key is.
- The parameter check names the action.batch step whose params it
  refuses the same way. command.batch keeps passing the step's error on
  as it is.
- Override Open matches only document.open, and Override Save only
  document.save and file.saveAs: file.open, file.save and document.close
  are not engine commands, and a step with one is refused as unknown.
  The params text no longer lists them, and docs/mcp.md says a step with
  file.open or file.save is refused as an unknown command.
2026-11-17 12:09:17 -08:00
ruchirguitar d6ff2f54ce Production Preflight: add output checks and repair panel 2026-11-18 01:35:12 +05:30
dotCooCoo 6252d4b29e Pencil: path.freehand refuses connect without extend
path.freehand ignored a connect given without extend and drew a new
path. It now refuses it with "connect needs extend". A connect given
with extend is checked (its id, a path other than the one extended
with an open end, and an end of "start" or "end") before a stroke of
one point returns, so a bad connect is refused there too, and
brush.freehand no longer changes the path's brush or the selection
before refusing it. A null connect is still a key left out.

Docs: params text, docs/mcp.md, docs/target-app-parity.md. i18n: the
new message in the catalogs that carry the other connect messages.
2026-11-17 11:56:49 -08:00
dotCooCoo 0febd204d7 EMF/WMF: Use Artboards applies live effects once for all artboards
An EMF or WMF export with Use Artboards applied the document's live
effects (geometry effects, and symbol art with effects) once for each
chosen artboard. vectorcraft_metafile::export_regions now checks every
region, applies the effects once and writes one metafile per region.
export is its one-region case, and the engine's encode calls
export_regions once for all chosen artboards. Each file's bytes and
warnings are unchanged.
2026-11-17 11:56:35 -08:00
dotCooCoo 3919a1a5df Symbols: Shift with Redefine Symbol keeps the art as ordinary art
Redefine Symbol chosen from the Symbols panel menu with Shift held now
updates the symbol and its instances from the selected art and leaves
that art as ordinary art, as the Edit symbols help page describes
(https://helpx.adobe.com/illustrator/desktop/manage-objects/traces-mockups-symbols/edit-symbols.html).
Without Shift the art still becomes an instance.

- symbol.update takes keepArt (default false). With true the art keeps
  its ids, layer and stacking position and stays selected, apart from
  art that is hidden or locked, and the result's id is null. A keepArt
  that is not true or false is an error.
- Redefining the symbol being edited with keepArt still leaves symbol
  editing mode in the same undo step.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 11:51:44 -08:00
dotCooCoo 7f801a3ec3 Panels: update native floating window geometry 2026-11-17 11:42:10 -08:00
dotCooCoo 15b3aa1d68 Brushes: Add original Pressure Sensitive library 2026-11-17 11:39:00 -08:00
dotCooCoo a1e3d6b5bb Graphic Styles: a style dropped on another with Alt replaces that style
A graphic style dragged onto another style in the Graphic Styles panel
with Alt held gives that style the dragged style's look. The replaced
style keeps its name, place and id, and the art still linked to it
takes the new look in one undo step; the dragged style and its art stay
as they are. Without Alt the style moves, as before.

graphicStyle.redefine takes {name, from} for this. A style dropped on
itself, or on a style with the same look, records nothing. A `from` that
names no style or is not a string, or `from` with `id`, is an error.
2026-11-17 11:31:04 -08:00
dotCooCoo 58d53b477a Type: the font menu's Document filter counts type in scatter brushes
The Document filter listed the families of type in layers, symbols,
patterns and graph designs, but not type kept in the art of a stored
brush. A scatter brush draws copies of its art along a stroke, type
included, so a family used only there was missing from the filter.

The filter now reads the stored brush library and counts type in each
scatter brush's art. Art and pattern brushes leave type out when they
bend their art, so their type is not counted. Malformed library
entries are skipped.
2026-11-17 11:27:35 -08:00
dotCooCoo feed8f47b2 Transform: Ellipse Properties has a Constrain Pie Angle link that keeps the pie span
Ellipse Properties in the Transform panel and the Properties panel's
Transform section now has a Constrain Pie Angle link beside Pie Start and
Pie End Angle. While it is on, a typed angle moves the other angle by the
same amount, so the pie keeps its size, as the help page describes:
https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/live-shape-properties.html

- object.setLiveShape takes constrainPie with one of pieStart and pieEnd.
  Every selected ellipse keeps its own span in one undo step; an angle
  equal to the current one records none. constrainPie with both angles,
  with neither, or with invertPie is a parameter error.
- VectorCraft's own rules: the link is off at every launch and is not
  saved; the two panels share it; the span is counted counterclockwise
  from the start angle to the end angle, across 0 degrees; a whole ellipse
  stays whole; after Invert Pie the swapped span is kept; the on-canvas
  pie widgets still move one angle at a time.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 11:24:44 -08:00
dotCooCoo c0e4624358 Links: frames that fetch nothing reuse the cached rows without copying them
The Links panel kept its links.list rows and Link Info in panel state by
value, so every frame copied the whole JSON list out of egui memory and
wrote another copy back, even when nothing was fetched. The cache is now
stored behind an Arc: a frame reads it without a copy and stores a new
one only when the list is fetched again (document revision, Show, Sort,
DCS option or the 2-second recheck) or Link Info changes. The flyout
reads the same cache by reference.
2026-11-17 10:59:10 -08:00
dotCooCoo bbf11feac3 Stroke: Delete and Escape skip width points hidden on a brushed stroke
Width points selected before their stroke took a brush show no handles,
but the Width tool still took Delete, Backspace and Escape for them. The
tool now leaves those keys to the app, as it does with no width points
selected.

- The Profile list shows its hover border whenever a click opens it,
  including on a brushed stroke with a profile, where it lists Uniform.
- A test checks that the list's hover text and the Width tool's status
  message are the same string, so the two share their catalog rows.
- An engine test checks that a press or a double-click on a brushed
  compound path puts the message in the status bar and runs no command.
- The doc comment of Session::brushed_strokes_profiled says when type
  counts, and the progress-doc line names the double-click and says that
  art and pattern brushes do not follow a width profile yet.
2026-11-17 10:45:44 -08:00
dotCooCoo ba3c7197f7 Twist: preserve boundary tangents 2026-11-17 10:45:19 -08:00
dotCooCoo 76078f1991 PDF import: a DeviceCMYK image in a PDF/X file opens with the output intent's profile
A file whose catalog has a CMYK /GTS_PDFX output intent describes its
DeviceCMYK colors with that intent's profile. A DeviceCMYK image in
such a file now opens tagged with that profile, so a CMYK image that a
PDF/X export writes as DeviceCMYK opens with its profile again.

An image drawn where a /DefaultCMYK is in scope keeps no profile, since
the default replaces DeviceCMYK there. The scope is read per image from
the resources it is drawn with, and the image cache keeps the tagged and
untagged reads apart.
2026-11-17 10:44:47 -08:00
dotCooCoo cc57835f8f Font menu: a new sample size keeps the list on its rows
A size picked from inside the open menu changed the row height while the
list kept its scroll offset in points, so the rows in view moved to other
families. The list now keeps the same row at the top of its view at the
new height.

Screen readers find Small, Medium and Large as radio buttons in a group
named Font Preview Size, with the current size chosen. Tests check both,
and the module doc is rewrapped to the file's width.
2026-11-17 10:42:53 -08:00
dotCooCoo a9ac500b1e Separations Preview: a second Alt-click on the only visible plate's eye shows every plate
An Alt-click (Option-click on macOS) on a plate's eye in the Separations
Preview panel shows that plate alone. Alt-clicking the same eye again,
while that plate is the only one of the document's plates shown, now
shows every plate, spot plates included, as the help page describes:
https://helpx.adobe.com/illustrator/using/printing-color-separations.html

- view.separationsPreview takes soloToggle: plate for this click. A
  plate shown among others becomes the only plate shown, as the help
  page describes for the first Alt-click. A hidden plate, another plate
  while one shows alone, or any plate while none is shown also becomes
  the only plate shown (VectorCraft's own rules). only still shows just
  the named plate when repeated. Neither adds an undo step.
- The eye's tooltip names the second Alt-click, in every catalog.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 10:40:17 -08:00
dotCooCoo 999e538fd6 Symbols: Alt-dragging art onto a symbol in the panel redefines it
Art dragged off the canvas and released on a symbol's tile or row in the
Symbols panel with Alt (Option on macOS) held now runs Redefine Symbol
(symbol.update) for that symbol, in thumbnail view and both list views.
The symbol under the pointer is outlined while the art is held over it
with Alt. A drop without Alt still makes a new symbol.

- A canvas art drag records the document it came from; art of another
  document, objects the document no longer has and an empty drag are
  not taken.
- symbol.update refuses art that holds an instance of the symbol it
  redefines, directly, in an opacity mask or through the art of the
  symbols it nests, so neither the menu nor the drop can make a symbol
  hold itself. The symbol-editing check shares the walk and now also
  looks inside opacity masks.
- Panel art drops take only a release of the primary button.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 10:36:06 -08:00
dotCooCoo 34587834ac SVG import: an image's bytes are hashed for its key once per import
Importer::image hashed the whole image buffer for its key on every <image> and <use> that showed it, and doc.images then kept only the first result. Every use of one data URL or linked file gets the same buffer, so the key is now kept for that buffer, by its address, for the rest of the import, with the buffer held so the address is not reused. Keys, stored images, links and warnings are unchanged; the tests compare the whole document with an import that hashes every image. With one 3.4 MB PNG data URL shown by 500 <use> elements, the import took a median 1,883 ms of thread CPU time when every image was hashed and 28 ms with the keys kept.
2026-11-17 10:28:46 -08:00
dotCooCoo 73e5d2e0f0 Merge main into fix/raster-supplied-options 2026-11-17 10:21:56 -08:00
dotCooCoo 6007ea7b06 PDF import: a Type 3 font's glyph procedures are checked for color once per document
The scan that looks for d0 glyph procedures ran every time a page or a
form listed a Type 3 font in a font dictionary of its own, and its result
was dropped once the font had been noted. It now runs when the font is
first noted for the document. Each page still maps the font's glyphs,
and the note the import keeps for the font is unchanged.
2026-11-17 10:11:06 -08:00
dotCooCoo 24e0208d31 Type: inline graphics are checked again only in the layer trees an edit changed
After an edit of a document with symbols, the refresh of inline graphics
walked every node of every layer. It now keeps the document the last
refresh left resolved, with the symbol bounds it measured, and checks
only the layer trees that are not the same nodes as that document's,
as long as the symbols, graph designs, pattern tiles and foreign data
(which holds the symbols' natural sizes and 9-slice guides) are the
same and each measured symbol still measures the same. Otherwise the
full pass runs, as before. Visit order is unchanged, so the document
and the ids of the texts laid out again equal the full pass's.
2026-11-17 10:08:24 -08:00
dotCooCoo f9e6399195 Layers: with Show Layers Only on, Locate Object becomes Locate Layer
With Panel Options > Show Layers Only on, the panel lists no object
rows, so Locate Object highlighted a row that was not there. The panel
menu, the bottom bar's button and a row's menu now read Locate Layer in
that mode and send layer.locate with layersOnly: true, which highlights
the innermost layer or sublayer holding the object (a layer locates
itself) and returns {id, objectId, ancestry}. The panel opens the layers
around it and scrolls to it. With the option off nothing changes.

Help page: https://helpx.adobe.com/illustrator/desktop/manage-layers/create-and-organize-layers/locate-objects-in-the-layers-panel.html

Adds Locate Layer rows to the 28 catalogs that translate Locate Object.
2026-11-17 09:58:54 -08:00
datatimp f531179713 Merge upstream/main into fix/8237-layers-alt-drop-copy-beside-itself 2026-11-17 12:58:32 -05:00
dotCooCoo cd4e9e9506 Transform: a live line shows Line Properties with Line Length and Line Angle
A line drawn with the Line Segment tool now shows Line Properties in the
Transform panel and the Properties panel's Transform section, with the two
properties the help page lists for a line:
https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/live-shape-properties.html

- object.setLiveShape takes lineLength (pt, above 0) and lineAngle
  (degrees, brought into 0 to 360). Every selected line changes in one
  undo step; a value that changes nothing records none.
- VectorCraft's own rules: the angle runs counterclockwise from 3 o'clock,
  as the Rotate field does; a new length keeps the first end in place and
  a new angle turns the line about its midpoint; a line whose ends meet
  reads 0 degrees; the section shows only while every selected object is a
  live line; a line that would reach past the coordinate limit is an error
  that changes no line.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 09:57:07 -08:00
dotCooCoo a09bcb3ecd Free Transform: a shear drag shows its angle next to the pointer
With Smart Guides' Transform Tools on, a Cmd/Ctrl side-handle shear with
the Free Transform tool now shows its angle next to the pointer, with
the same sign and one decimal place as the Shear tool's label. Before,
a shear showed no value, and a scale drag turned into a shear kept
showing the scale's size. Transform Tools off still hides the label.

Docs: docs/mcp.md (transformToolsGuides), docs/target-app-parity.md.
2026-11-17 09:52:11 -08:00
dotCooCoo 2559231664 Print: a near black linked to a missing swatch keeps its faint ink off PostScript plates
On PostScript separations, up to half a percent of another ink in a color
that counts as 100% black is left off that ink's plate, so an overprinting
near black does not knock out the ink below it. A color linked to a swatch
the document does not have was left out of that rule, although it separates
from its own values like an unlinked color and Overprint Black marks it to
overprint. A 100% K with 0.4% cyan linked to such a name then stayed on the
cyan plate and knocked out the cyan under it.

A link to a missing swatch now counts as unlinked for this rule, on solid
fills, strokes, character fills and gradient stops. Spot swatches and
Registration are still excluded, and PDF plates still draw the faint ink.
2026-11-17 09:49:50 -08:00
dotCooCoo c226533bc9 Swatches: linking the selection's paints checks ancestors through a set
Add Used Colors and New Color Group link the selected art's paints to
global swatches through Document::map_solid_paints_in, which drops each
id that sits inside another listed id. It searched the whole id list for
each ancestor of each id, so the work grew with the square of the
selection. It now looks each ancestor up in a set of the ids, as
without_inner in crates/engine/src/cmd/edit.rs does. The roots keep the
order of the list, duplicates and ids missing from the document, so the
same paints are linked in the same order.

- mapping_within_ids_matches_a_search_of_the_ids compares the count, the
  paints visited and the resulting document with the search for every
  list of up to three ids from a nested tree (nested ids in both orders,
  duplicates, a missing id and an empty list).
- crates/engine/examples/link_colors_bench.rs times both ways in one
  process. With 20,000 selected rectangles the call takes 16 ms of CPU
  time instead of 128 ms; with 2,000 it takes 1.4 ms instead of 2.5 ms.
2026-11-17 09:49:45 -08:00
dotCooCoo f40f085d21 Stroke panel: stroke.set collects its targets through a set
A Stroke panel edit with no item lists the selected groups and layers
that have a stroke of their own, then adds the leaves of the other
targets, and it checked each leaf against the growing list, so
collecting the targets took time that grows with the square of the
object count. The command now checks each leaf against a set seeded
with the listed groups and layers. The list is the same: its order is
kept, a group or layer named twice is still listed twice, and a leaf is
listed once.

crates/engine/examples/stroke_targets_bench.rs times both merges on the
same leaves in one process. With 20,000 paths in one group, collecting
the targets takes 0.66 ms of thread CPU time against 55 ms with the list
search, and the whole command takes 60 ms.
2026-11-17 09:49:10 -08:00
dotCooCoo 2733c8c85c Merge main into fix/ai-scatter-brush-art-upright 2026-11-17 09:41:16 -08:00
dotCooCoo 9e905635bf Preferences: Slices settings show a sentence on hover and focus
The line under the Preferences fields now shows a sentence for Show
Slice Numbers and Line Color when the pointer is over the row or its
control has the keyboard focus. A screen reader gets the same sentence
as the control's description. Every complete catalog has a row for each
one.

Tests: the one-sentence test covers the Slices category, and new tests
check the hover and keyboard-focus sentences.
2026-11-17 09:32:25 -08:00
dotCooCoo 99cb4f4190 Import PDF: All checks Import PDF pages as links and Range clears it
File > Open's Import PDF dialog now starts with Import PDF pages as links
checked for All, so every page of a PDF opened from its file opens
linked, and clears the box when Range is picked, so a range opens as
art. A box checked or cleared by hand keeps that state until the other
of All and Range is picked; ui.dialog.set of allPages does the same.
The box stays clear for a file without its path, with a password, or
over the 256 MB that linkPages takes (fileio::pages_can_link).

Docs: docs/mcp.md, docs/target-app-parity.md, docs/file-format-parity.md.
2026-11-17 09:30:55 -08:00
dotCooCoo ea782ca87e Swatches: a user swatch whose name starts with [ can be deleted and edited
The panel's Delete Swatch and Swatch Options, in the footer and the panel
menu, treated every selected name starting with "[" as reserved, so a
user swatch such as [Mine] or a color group such as [Team] could not be
deleted or edited there, and New Color Group and Save Swatch Library left
them out. The checks now use Swatch::is_reserved, as the engine's
swatch.delete and swatch.edit and the item context menu already do, so
only None and [Registration] stay protected. Selected names the document
no longer holds are left out instead of reaching the command as errors.
2026-11-17 09:22:26 -08:00
dotCooCoo ffae374bac Merge main into feat/graphic-styles-alt-drag-replace 2026-11-17 09:04:06 -08:00
dotCooCoo 8d7708f1c0 Graphic Styles: art or an appearance dropped on a style with Alt replaces that style
Art dragged off the canvas, or the Appearance panel's thumbnail, dropped
on a style in the Graphic Styles panel with Alt held runs
graphicStyle.redefine with that style's name and the object's id (the
first object of the art), in one undo step. The style keeps its name,
id and place in the list, and the art still linked to it takes the new
look. The style is outlined while one is held over it with Alt. An
object already linked to the style with its look changes nothing.
Without Alt the drop still makes a new style, and a style dropped on a
style still moves it.
2026-11-17 09:04:01 -08:00
dotCooCoo ee10fbc9f6 Merge main into fix/symbol-drop-across-documents 2026-11-17 08:42:42 -08:00
dotCooCoo 4ab773494e Workspace: the Tools drop strip lights up where Tools docks, and the docs name the exceptions
With no panels docked on the left and a toolbar made with New Toolbar docked there, a drop on
the canvas's left edge docks Tools at the window's edge, left of the toolbar's lane. The strip
that lit up during the move was the canvas's edge, right of the lane. The window's edge now
lights up instead.

The window.toolsBesideCanvas params text, docs/control-protocol.md, docs/target-app-parity.md and
the UiState doc comment now say that a drop with no panels docked on the left, or in the column
both edges share beside panels collapsed to icons, leaves Window › Toolbars › Keep Tools Beside
the Canvas as it is. ROADMAP's progress log gets a line for the changed drop rule.

The test of a release where the move started now presses on the title bar, moves past the drag
threshold so the move starts, and releases within the travel limit over the canvas's edge; it
fails without that limit.
2026-11-17 08:41:27 -08:00
dotCooCoo 6e44c63cc3 Undo: undo and redo keep the settings changed without an undo step
Undo and redo put back the whole document a step stored, so settings
that change without an undo step went back with it. Undoing any
earlier edit turned the perspective grid's Lock Grid off again, turned
its Snap to Grid back on, showed a hidden grid and switched the active
plane back. It also reset the grid from Gridline every and
Subdivisions, the export settings assets.settings.set stores, and the
current brush and symbol.

Each undo step now also records these settings as the step left them.
Undo and redo compare that record with the document they bring back:
a setting the step did not change stays as it is now, and a setting
the step changed comes back with the step. So undoing a perspective
grid preset still hides the grid the preset showed, and undoing a grid
definition that locked the grid unlocks it. The point Automatic Plane
Positioning holds still follows the steps, and is let go when the
active plane kept is another one.
2026-11-17 08:40:50 -08:00
dotCooCoo 4d1a36fb34 Merge main into fix/instance-row-effects-outline-hit 2026-11-17 08:37:25 -08:00
dotCooCoo 102cfd0cde Color: built-in CMYK profiles carry their paper and an exact colorimetric table
The ICC profile written for a built-in CMYK working space (embedded in
PDF, TIFF, JPEG and PSD exports) changes in two ways:

- The media white point (wtpt) is the model's paper instead of D50, so
  the ICC-absolute colorimetric intent reproduces the paper.
- The colorimetric Lab -> CMYK table (B2A1), which the gamut tag is also
  sampled from, is the inverse of the CMYK -> Lab table without
  black-point compensation. Before, all three Lab -> CMYK tables had
  compensation built in, so a dark build such as C40 M30 Y30 K60 that
  went through the profile and back missed by Delta E 2000 2.7 on
  Generic CMYK. The perceptual and saturation tables keep compensation.
2026-11-17 08:30:52 -08:00
dotCooCoo c4ead8e46f Transform: Rotate Bounding Box… turns the selection's bounding box without moving the art
Object › Transform › Rotate Bounding Box… asks for an angle and turns the
bounding box of the selected objects by it, leaving their art where it
is. Reset Bounding Box squares it again.

- object.rotateBoundingBox {angle, absolute?}: by default the box turns
  by angle from the angle the selected objects share (0 when theirs
  differ); absolute: true turns it to angle. Objects with different
  angles get one shared angle, and the objects inside a group or a
  linked opacity mask turn with it and keep their relative angle. A path
  of a compound path selected on its own turns only its own box, the
  same objects the transforms move. An angle within 1e-6° of 0 is
  stored as 0. One undo step, none when every box is already at the
  angle. A missing or non-numeric angle is an error. changed counts
  every box that turned, as object.resetBoundingBox counts the boxes it
  squares.
- object.resetBoundingBox squares only the box of a compound path's
  path selected on its own, instead of the whole compound path.
- Menu labels in every catalog.

Docs: docs/mcp.md, docs/target-app-parity.md.

Part of #5954.
2026-11-17 08:28:29 -08:00
dotCooCoo 9ae9da71b8 Fix numeric reference points in bounds transforms 2026-11-17 08:02:50 -08:00
dotCooCoo 2d1832394a Help: result paths name the menus as they are drawn
A command result's menu path now reads as the menus draw it in the UI
language: plug-in submenus and Scripts folders keep their own names.
menu_entries carries that shown path beside the English one. Outside
macOS, items that only the VectorCraft application menu lists are left
out of Help, since the window's menu bar has no such menu.
2026-11-17 07:59:10 -08:00
dotCooCoo 8f16658498 Fix #7906: a dialog that opens closes the Command Palette, flyouts and menus
A dialog opened without a press in the window, such as a pick in the
macOS menu bar, an automation command or a run that ends in a dialog,
left the Command Palette open over it, and the palette's search field
kept the keyboard focus. A tool group's flyout, the All Tools drawer
and an open menu or popup also stayed open above the dialog's backdrop.
The palette could also be opened over an open dialog from the macOS
menu bar or by an automation command, and its field then took the
keyboard focus from the dialog.

In the pass a dialog, the About window, a file dialog, the update
prompt or a progress window opens, the app now closes the palette, the
flyout, the drawer and any open popup. A flyout, drawer or menu opened
while a progress window is waiting to appear also closes when it
appears. While such a window is open, the palette stays closed, and the
widget that had the focus before the palette opened does not take it
back under the window. A palette opened after the window closes stays
open until the next window opens.
2026-11-17 07:52:30 -08:00
dotCooCoo 5a96aff5da Help: command results use the labels their menus show
Help now searches and shows a command by the label its menu draws in
the UI language, so Effect > Pathfinder > Add is found as Réunion in
French. menus::shown_label holds the menus' item-label rule, and the
menu bar and Help both call it.
2026-11-17 07:44:19 -08:00
dotCooCoo 0a14dc0a8c Docs: wrap the Enclosing Lasso paragraph in docs/roadmap.md 2026-11-17 07:43:48 -08:00
BFlat 27d0b095da Merge pull request #7075 from mockydevs/fix/twist-smooth-7069
Twist: handles follow the rotation's derivative, so a strongly twisted path is smooth
2026-11-17 22:38:15 +07:00
dotCooCoo 3c7f03f62d Stroke: the Profile list is dimmed while the stroke's brush keeps its own size
Brush art does not follow a stroke's width profile, so picking a profile
for a brushed stroke changed nothing on the canvas.

- While every stroke the Profile list edits draws with a brush, the list
  in the Stroke panel, the Properties panel and the Control bar is
  dimmed and says why when hovered. It opens no list while those strokes
  are uniform, and offers only Uniform, which removes the profiles, while
  one has a profile. The Flip Along and Flip Across buttons beside it
  are off. The strokes are the ones stroke.set edits: the
  active Appearance stroke row, a selected group's or compound shape's
  own stroke, or the objects' top strokes. Images and symbol instances
  do not count. A selection where one stroke has no brush keeps the full
  list.
- The Width tool adds, edits and deletes no width points on a brushed
  stroke; a press or double-click on one, or Delete with its width
  points selected, shows the same reason in the status bar. Without
  Shift, the press deselects the width points of other strokes. A
  plain stroke under a
  selected brushed one stays reachable, and width points selected
  before their stroke took a brush show no handles.
- The reason has a row in every complete catalog.
2026-11-17 07:30:44 -08:00
dotCooCoo 12977ec543 Fix #1954: PDF/X CMYK in the output intent's profile is written as DeviceCMYK
A PDF/X-3 or PDF/X-4 export tagged every CMYK color with an ICC-based
space of the same profile that the output intent embeds. In PDF/X-3 and PDF/X-4, CMYK colors in the
profile of a CMYK output intent are now DeviceCMYK, and the profile is
written once, as the output intent's DestOutputProfile (ISO 32000-1,
14.11.5:
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#page=641).

- With output.profiles none and a CMYK output intent, PDF/X-3 and PDF/X-4
  write every CMYK color as DeviceCMYK, unless colors are converted to a
  CMYK destination of another profile, which keeps its tag. Before, those
  standards tagged every color whatever profiles said.
- RGB and gray colors stay tagged, and so do CMYK colors and images in
  another profile.
- A CMYK image that carries the output intent's profile is DeviceCMYK,
  and so is every CMYK image when none makes CMYK colors DeviceCMYK. A
  CMYK JPEG then loses its ICC_PROFILE segments.
- Transparency groups blend in DeviceCMYK when CMYK colors are
  DeviceCMYK, also when the file has no ICC-based CMYK space.
- Files without a standard keep the tags that profiles asks for.
- The Save PDF dialog's note for PDF/X-3 and PDF/X-4 says that CMYK
  colors in the output intent's profile are written as DeviceCMYK.

Docs: docs/mcp.md, docs/target-app-parity.md and the document.exportPdf
params text.
2026-11-17 07:30:22 -08:00
dotCooCoo b778279d6f Help: kept command results follow their menu items
A kept command result now takes its menu item's current label and menu
path when the menu state changes, so Show Grid reads Hide Grid once the
grid shows, and a command that no menu lists any more drops out. The
results are brought up to date only when the menus' state hash changes,
with the menu entries looked up by command and params. Help commands
reject parameters that are not an object.
2026-11-17 07:27:00 -08:00
dotCooCoo cce26edfa0 Merge main into fix/metafile-loss-warnings
# Conflicts:
#	Cargo.toml
2026-11-17 07:25:38 -08:00