Commit Graph
7873 Commits
Author SHA1 Message Date
dotCooCoo 6a1be1e26e Symbols: the bottom bar's Symbol Options button edits the current symbol
The Symbols panel's bottom bar gets a Symbol Options button between Break
Link to Symbol and New Symbol. A click, with or without Alt, opens Symbol
Options on the current symbol, as the panel menu's Symbol Options… does
(`ui.symbolOptions {edit: true}`). The button is disabled while the
document has no current symbol, and it uses the Swatch Options icon.
2026-11-17 14:02:54 -08:00
dotCooCoo 0727e8fb5f New Document: a profile's redefined Default Graphic Style sets the starting fill and stroke
When a New Document profile's Default Graphic Style differs from the shipped
one (white fill, 1 pt black stroke), file.new resets new art in documents
from that profile to the style's fills, strokes and effects, not linked to
the style. Default Fill and Stroke (paint.default, D) gives the defaults and
the selected art the same look in those documents; type still gets a black
fill and no stroke. A profile with the shipped style leaves the current fill
and stroke as they were.

Part of #8350
2026-11-17 13:53:20 -08:00
dotCooCoo d04b8b3f21 Layers: a repeated Locate reveals the row it already highlighted
Running Locate Object or Locate Layer again on the row it already
highlighted wrote the same highlight, so the Layers panel did not open
the layers around the row or scroll to it: a sublayer whose layer was
closed since stayed hidden. layer.locate now leaves a one-time request
on the document (DocState::locate_reveal) that the panel takes on its
next frame, opening the layers around the located row and scrolling to
it whether or not the highlight changed. The request is not saved and
adds no undo step, and the panel drops it when the row is no longer
highlighted.
2026-11-17 13:47:51 -08:00
dotCooCoo cc759b0135 Document Setup: the Transparency tab previews the grid
A checkered box to the right of Grid Size and Grid Colors shows the grid
the dialog holds before OK: the chosen square size and the two colors,
the first in the top-left square. It is drawn with the canvas's own
transparency grid tile and cell size, through the same display profile,
so it matches the canvas for every size and color pair. It changes
nothing in the document, and Simulate Colored Paper and View > Show
Transparency Grid do not change it. A grid value the dialog cannot read
shows as the document's setting.

The canvas's tile code now takes the colors and a cache key, so the
dialog's tile is cached apart from the canvas's.
2026-11-17 13:44:53 -08:00
dotCooCoo f4359f39b9 Merge main into fix/twist-boundary-tangent 2026-11-17 13:42:02 -08:00
dotCooCoo 7fc76a7397 Merge main into perf/metafile-artboards-bake-once 2026-11-17 13:42:00 -08:00
dotCooCoo 3fe3a00aca Merge main into feat/graphic-styles-alt-drag-style-onto-style 2026-11-17 13:41:56 -08:00
dotCooCoo 4967500c21 Merge main into feat/font-menu-sample-size 2026-11-17 13:41:54 -08:00
dotCooCoo 647478f9a6 Docs: qualify the CMYK JPEG and DeviceCMYK claims for PDF export and import
A CMYK JPEG loses its ICC_PROFILE segments in some DeviceCMYK cases, masked CMYK images keep their inks on PDF import, and the none rule needs no CMYK destination of another profile.
2026-11-17 13:40:46 -08:00
dotCooCoo 127e1e0ca3 Merge main into fix/font-menu-document-brush-text 2026-11-17 13:35:51 -08:00
dotCooCoo 9a2e931e1c Merge main into feat/separations-alt-click-show-all 2026-11-17 13:35:50 -08:00
dotCooCoo 5aed23a9f3 Merge main into perf/svg-image-key-once 2026-11-17 13:35:31 -08:00
dotCooCoo 1b1f60ba8c SVG Options: Show in Browser opens the SVG in the default browser
The SVG export options on the help page list a Show in browser option
beside Show Code, which displays the image in the default web browser:
https://helpx.adobe.com/illustrator/desktop/save-and-export/export-files-to-different-formats/export-file-format-options-in-illustrator.html

SVG Options gets a Show in Browser button beside Show Code. It writes
the SVG of the dialog's current, unconfirmed choices for one page (the
selection's crop under Export Selection, otherwise the first artboard
the options choose) to a new folder inside "VectorCraft SVG Preview" in
the system's temporary folder and opens it (file.export.svg.browser).
The dialog stays open, the choices are not remembered, and nothing is
written to the chosen file. The folder follows Save for Web's preview
folders: a private folder per preview, and folders an hour old are
removed; each kind removes only its own. The button is disabled on the
web build, and control and MCP requests are refused, as Save for Web's
Preview in Browser is.

Show Code and Show in Browser share one encoding step, so Show Code
changes in two ways. A range that OK refuses now shows OK's error:
before, Show Code showed the first artboard's code for a range it could
not read, and the first artboard named for a range such as "1, 9" when
the document has no artboard 9. A range naming one missing artboard was
already an error, with a different message. From Save As or Save a
Copy, both keep hidden layers, as the save does. A document with no
artboards shows the bounds of its art.
2026-11-17 13:33:33 -08:00
dotCooCoo 9591bdf68d Merge main into perf/inline-refresh-changed-subtrees 2026-11-17 13:30:42 -08:00
dotCooCoo e6ec393062 Shapes: the Circle tool draws a circle through two or three points
The Circle tool, in the Ellipse tool's flyout, draws a circle with
shape.circleThroughPoints. A drag from one point to another, or a click
on each, draws the circle with the two points as the ends of a diameter.
A click on a first point, then a press on a second point dragged to a
third, draws the circle through the three. Shift keeps the second point
at 45° steps from the first. For a circle on two points, Alt rounds the
diameter to the nearest ruler tick at the current zoom in the General
unit. Each point snaps to Smart Guides. Until the release the tool shows
the circle as a dashed outline (solid once it is more than 50,000 screen
points around), a cross at its center, a line from the center to each
point and, with Measurement Labels on, the diameter by the pointer.
Three different points on one line, or a circle past the canvas, show
"Circle too large" by the pointer instead, and the release draws
nothing. Escape, a dropped press, and an edit, Undo or Redo made outside
the tool drop the first point. A second press within 3 screen points of
the first point, or one that snaps to it, places nothing when let go
there, and draws the circle on the diameter it drags out when dragged.
Each circle is one undo step. The tool's icon is new and drawn for
VectorCraft.

shape.circleThroughPoints also takes two points, or two selected anchor
points, as the ends of a diameter. Its two errors about the number of
points now say "two or three", in every catalog that translates them.

Part of #7178.
2026-11-17 13:29:12 -08:00
dotCooCoo 90f999b18c Merge main into fix/free-transform-shear-readout 2026-11-17 13:26:09 -08:00
dotCooCoo 1ea1fd8556 Merge main into feat/transform-line-properties 2026-11-17 13:26:08 -08:00
dotCooCoo 2bc8a8f9da Merge main into fix/print-near-black-missing-swatch 2026-11-17 13:26:00 -08:00
dotCooCoo 01f5be9470 Merge main into feat/prefs-descriptions-slices 2026-11-17 13:21:50 -08:00
dotCooCoo 32d04737b7 Merge main into feat/symbols-new-symbol-shift-keeps-art 2026-11-17 13:18:51 -08:00
dotCooCoo cc4ce97fc3 Symbols: Shift with New Symbol keeps the art as ordinary art
Making a new symbol from the selected art with Shift held now adds the
symbol and leaves the art as ordinary art, as the Create a symbol section
of the help page describes
(https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=192).
Without Shift the art still becomes an instance.

- symbol.new takes keepArt (default false). With true the art keeps its
  ids, layer and stacking position and stays selected, apart from art
  that cannot be selected, frames of threaded text stay in their
  thread, and the result's id is null. A keepArt that is not true or
  false is an error.
- The Symbols panel's New Symbol button and its New Symbol... menu item
  read Shift when clicked and carry it through Symbol Options' OK;
  Shift with Alt on the button makes the symbol at once and keeps the
  art. Art dragged onto the panel reads Shift as it is released.
- ui.symbolOptions takes keepArt for a new symbol and refuses it when
  editing a symbol.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 13:18:49 -08:00
ruchirguitar b268319320 Production Preflight: fix review issues and merge main 2026-11-18 02:48:20 +05:30
dotCooCoo ba890e4d05 Merge main into fix/cmyk-profile-paper-white 2026-11-17 13:17:29 -08:00
dotCooCoo 513b4aefaa Merge main into fix/issue-1954 2026-11-17 13:17:24 -08:00
dotCooCoo 3a64d72a64 Merge main into fix/painted-type-used-as-a-clipping-path-loses-its 2026-11-17 13:15:58 -08:00
dotCooCoo 7f92a8ec6e Merge main into fix/instance-row-effects-outline-hit 2026-11-17 13:13:10 -08:00
dotCooCoo 140f64a872 Merge main into feat/polygon-side-widget 2026-11-17 13:13:08 -08:00
dotCooCoo 9e93054036 Merge main into feat/discover-help-panel 2026-11-17 13:13:07 -08:00
dotCooCoo 7751474ddc Shear: the docs give the numeric axis range and the angle clamp 2026-11-17 13:10:24 -08:00
dotCooCoo 1483e61f85 Swatches: Swatch Options and New Swatch show the out-of-gamut and web color warnings
Both dialogs now show the out-of-gamut triangle and the out-of-web-color
cube under the color, each with its correction beside it. A click on the
icon or on the correction changes the dialog's color; OK applies it as
one swatch.edit or swatch.new undo step. The warning icons in the Color
panel and the Color Picker now correct the color too.

The triangle shows in RGB, HSB and Lab and the cube in every mode but
Web Safe RGB. A web correction of a Grayscale, Lab or CMYK color is
edited in RGB; a gamut correction keeps the color's CMYK equivalent and
is edited in CMYK.
2026-11-17 13:07:53 -08:00
dotCooCoo d2a0bc0142 Merge main into fix/metafile-empty-artboard-first 2026-11-17 13:02:33 -08:00
dotCooCoo c9812414ce Merge main into feat/save-for-web-shift-color 2026-11-17 13:00:56 -08:00
dotCooCoo a3bdb2871f EMF/WMF: export checks the chosen artboards before turning raster effects into images
An EMF or WMF export with an empty or non-finite artboard among the
chosen ones, or with no artboard to write, turned the document's raster
effects into images before the writer refused it. The engine now checks
the artboards first with the writer's own rule
(vectorcraft_metafile::check_regions) and refuses with the same
messages, "the export region is empty" and "the document has no
artboard", without that work. Exports that go ahead write the same
bytes.
2026-11-17 12:58:21 -08:00
dotCooCoo 1806633274 Control bar: X, Y, W and H use the Transform panel's reference point
The inline X and Y fields showed the center of the selection's box and
every edit sent reference point 4, whatever point the Transform panel's
locator had chosen. They now show the shared reference point (or, with
Use Registration Point for Symbol, the symbol instance's registration
point), a new X or Y moves that point, and a new W or H keeps it in
place, as the Transform panel and the Properties panel's Transform
section do. The edits also follow the Transform panel menu's Transform
Object Only, Transform Pattern Only and Transform Both.
2026-11-17 12:55:29 -08:00
ruchirguitar 24a37f8ba3 M7/G4: Type › Retype, phase 1 (#4934)
type.retype turns selected outlined text back into live point text when
each glyph shape is exactly a glyph of a loaded font, a font the document
uses or a family named in fonts: the same up to uniform scale, rotation
and translation. Matched glyphs map back to characters through the cmap
and become point text in that font and size at the same baseline and
turn, one object per line, with the first glyph's fill and stroke, in one
undo step. Shapes that match no font stay and are reported.

Matching (vectorcraft_text::retype) samples each contour at equal steps of
arc length and fits a similarity transform; it is bounded (faces, glyphs,
path elements, contours) and panic-free. Near matches, the ranked font
list, installed fonts not yet loaded and images are phase 2.
2026-11-18 02:20:06 +05:30
dotCooCoo d41c165121 Merge main into fix/swatches-bracket-names-not-reserved 2026-11-17 12:50:02 -08:00
dotCooCoo c9d3080b75 Merge main into feat/layers-drag-into-live-paint 2026-11-17 12:48:03 -08:00
dotCooCoo c9dd40ea54 Type: Type tools keep the other frames' layouts between frames
With a Type tool active, the overlays laid out every selected area type
and type on a path on each frame only to read whether its text
overflows, and the single kept layout of the edited frame was replaced
by each of them, so the edited frame was laid out again too. After
Select All in threaded text, the story's other frames were laid out on
every frame with no cache at all.

The tool now keeps each other frame's layout from the last overlays
call, keyed by the layout inputs (fonts and hyphenation exceptions) and
the text object, as the ports of the other tools already do. Each call
keeps only the frames it draws, up to 2,048, and choosing another tool
drops them. The overlays are the same.
2026-11-17 12:47:39 -08:00
dotCooCoo 88b5da22bc DXF: Use Artboards applies live effects once for all the drawings
DXF export with Use Artboards baked the whole document's live effects
and placed symbol art again for every artboard. export_drawings now
checks the options and every region, bakes once, and writes each
drawing from the same baked document. export calls it with one drawing,
and the encoder makes one call for all the chosen artboards. Each
drawing's bytes, linked images, warnings and setting notes are the same
as before; the tests compare them with drawings baked one at a time.
2026-11-17 12:46:29 -08:00
dotCooCoo 5c2b3be4fc Document Setup: a grid color box opens the Color Picker
On the Transparency tab, a click on either color box beside Grid Colors,
or Enter or Space with the keyboard on it, opens the Color Picker over
Document Setup on that color. The picker's OK sets only that entry of
gridColors and goes back to Document Setup, whose Grid Colors menu then
names the pair (Custom unless it matches a preset); Document Setup's OK
applies it in one undo step. The picker's Cancel leaves both colors as
they were. Each box is a focusable button named for its color.
2026-11-17 12:46:09 -08:00
datatimp e7e90c19c5 Document the refused copy of objects beside their own top-level layer 2026-11-17 15:45:42 -05:00
dotCooCoo 59fbf8bbe6 Merge main into feat/interpolate-control-points 2026-11-17 12:42:20 -08:00
dotCooCoo 8920f81410 Merge main into feat/3d-graphics-extrude-side 2026-11-17 12:41:57 -08:00
dotCooCoo 7c20eb3b5e Merge main into feat/object-mosaic-dialog 2026-11-17 12:37:29 -08:00
dotCooCoo 521ae73872 Blob Brush: dragging a black dot in the tip preview sets the Roundness
The Blob Brush Tool Options' tip preview draws a black dot at each end
of the tip's short axis and an arrowhead on its Angle line. A click or a
drag that starts within 8 pt of a dot sets the Roundness from the
pointer's distance from the center along the short axis, as a whole
percentage of half the tip's length (0% to 100%), and keeps doing so
past the square's edge until the release. A click or a drag that starts
anywhere else in the square still sets only the Angle.

The help page describes moving a dot toward or away from the center to
change the roundness:
https://web.archive.org/web/20220911143322/https://helpx.adobe.com/pdf/cs6/illustrator_reference.pdf#page=183
The dot placement, the mapping and the 8 pt reach are VectorCraft's own.

A dot gesture gives the keyboard focus to a new Roundness slider, which
screen readers get after the Angle slider and Tab reaches after it; its
arrow keys step the Roundness by 1% (10% with Shift, Home and End to 0%
and 100%). Every catalog gets a row for the slider's name.
2026-11-17 12:36:27 -08:00
dotCooCoo f1ef00c844 Merge main into feat/find-replace-dialog 2026-11-17 12:34:34 -08:00
dotCooCoo 9344305559 Shear: an Angle axis shears along a line at a custom angle
The Shear dialog's Axis now has Angle beside Horizontal and Vertical, with
an Axis Angle field (0 degrees when the dialog opens) that takes input
while Angle is chosen and keeps its value otherwise. object.shear takes a
numeric axis from -359 to 359 degrees, a line on the page measured
counter-clockwise from horizontal, as object.reflect's numeric axis is; the
shear angle stays a separate value. 0 shears as horizontal and 90 as
vertical. An angle outside the range, a number written as a string, or any
other value is an error naming it, and nothing changes.

Behavior reference: https://helpx.adobe.com/illustrator/desktop/manage-objects/reshape-transform-objects/shear-objects.html
describes the angled axis and its range. The counter-clockwise direction
and the 0 degree start are VectorCraft's own.

Docs: docs/mcp.md, docs/target-app-parity.md. Catalogs: an "Axis Angle"
row in every language.
2026-11-17 12:30:40 -08:00
dotCooCoo 40b298277a Merge main into feat/layers-locate-layer 2026-11-17 12:29:29 -08:00
dotCooCoo 4f83ed2fb8 Merge main into feat/swatches-drag-to-new 2026-11-17 12:27:20 -08:00
dotCooCoo bc56d2b49b Merge main into perf/layer-select-all-one-pass 2026-11-17 12:26:57 -08:00