Commit Graph
17504 Commits
Author SHA1 Message Date
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 957712ca71 M7/G4: retype float checks without negated comparisons (#4934) 2026-11-18 02:48:38 +05:30
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
ruchirguitar 75d9d61ce9 M7/G4: rustfmt the retype module declaration (#4934) 2026-11-18 02:36:38 +05:30
ruchirguitar ec27c42af7 docs: G13 keeps the partial Snapping panel, unchecked rotated-object snapping and one estimate (#8387) 2026-11-18 02:32:53 +05:30
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
dotCooCoo b047caa3f3 Merge main into feat/eraser-tip-preview-drag 2026-11-17 12:51:05 -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 464bfe36da Layers: a path dragged into a Live Paint group keeps the group's identity and paint
A dropped path named "Live Paint Sources" that lands in front of the
group's sources group made the group stop counting as a Live Paint group,
so the drop failed. The group's own sources group now goes back in front
before the paths are added.

A dropped path named "Face" or "Edge" was read as one of the group's
faces or edges and its paint overwrote the generated part's paint. The
joining paths are now left out of the old parts.
2026-11-17 12:45:34 -08: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 b709400711 Merge main into perf/ai-save-gradient-index 2026-11-17 12:39:03 -08:00
dotCooCoo 11d60e156b Merge main into feat/background-save-progress 2026-11-17 12:38:21 -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 0ab5451f78 .ai save: gradient and pattern definitions are found by name and by gradient
Each gradient fill or stroke, and each gradient swatch, looked for its
definition by comparing its gradient with every definition written so
far, and each new definition's name was checked against every other
name. A document with thousands of distinct gradients spent most of the
editing data's time in these comparisons.

The writer now keeps the definitions' names in a map and the
definitions no swatch names under a key made from every field of their
gradient (a zero of either sign giving the same key). Each candidate
under a key is still compared in full, the first in definition order
is used, and a style that isn't written frees the names and keys of
the definitions it added. Pattern definitions are found by name the
same way. The written program is unchanged, byte for byte.
2026-11-17 12:34:44 -08:00
dotCooCoo f1ef00c844 Merge main into feat/find-replace-dialog 2026-11-17 12:34:34 -08:00
dotCooCoo 3b715e9764 Tile: the kept pane outlines hold a weak document reference
The outline cache identified its document by address, so a new document
allocated at a freed document's address could show the freed document's
outlines when the revision, selection and screen mapping matched. The
cache now holds a Weak reference and compares it with Weak::ptr_eq, which
keeps the address reserved while the outlines exist.
2026-11-17 12:31:46 -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
BFlat ee60c51fd9 Merge pull request #8323 from dotCooCoo/fix/psd-cmyk-placement
Fix #8316: preserve CMYK PSD images when placed or relinked
2026-11-18 03:23:55 +07:00
BFlat 1f84febb08 Merge pull request #8169 from dotCooCoo/fix/symbol-lookup-index
Symbols: render and SVG/PDF export find each instance's symbol in one index
2026-11-18 03:23:44 +07:00
BFlat aab753f4f2 Merge pull request #7819 from dotCooCoo/feat/textures-map-art-and-shading
Export 3D Object: mapped graphics export as textures of their faces
2026-11-18 03:23:34 +07:00
dotCooCoo 54e8d3046e Save for Web: Delete Color removes colors from the color table
The color table's trash button and Delete Color in its new menu delete
the selected GIF or PNG-8 colors. Pixels that used a deleted color take
the nearest color left, with the current reduction's color distance and
dither, and the preview matches the saved file. A click selects one
color and makes it the anchor, Shift-click selects the range from the
anchor, and Ctrl-click (Command-click on macOS) adds or removes one.

- colorTable.deleted lists the deleted colors by source. A deleted color
  leaves the locked, transparent and webShift lists.
- colorTable.customPalette fixes the palette at the first deletion, so a
  deleted color is not made again; the table reads Custom. Restore
  Generated Table in the menu, or another reduction, clears both.
- Deleting every opaque color, or every color not mapped to transparent,
  is an error and changes nothing.
- Presets and the remembered settings keep the edit.
- quantize_to uses all 256 fixed colors when no pixel is transparent.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 12:23:26 -08:00
BFlat 41b70ed172 Merge pull request #8333 from dotCooCoo/fix/issue-6117
Enclosing Lasso: the tool is in the Lasso tool's flyout
2026-11-18 03:23:25 +07:00
BFlat 521e5ac158 Merge pull request #8258 from dotCooCoo/feat/type-forced-line-break
Type: Forced Line Break inserts a line break in the paragraph, at the caret
2026-11-18 03:23:16 +07:00
BFlat 0d8315801f Merge pull request #8207 from dotCooCoo/fix/issue-8090
Fix #8090: the Eyedropper samples into picked gradient mesh points
2026-11-18 03:23:07 +07:00
BFlat 7429d7247f Merge pull request #8265 from dotCooCoo/feat/live-paint-isolation-adds-paths
Live Paint: paths drawn in an isolated Live Paint group join it when isolation ends
2026-11-18 03:22:58 +07:00
BFlat 97503140eb Merge pull request #8166 from dotCooCoo/fix/blur-drag-test-clock
Tests: canvas tests keep their color settings when a parallel test changes them
2026-11-18 03:22:47 +07:00
BFlat bb0329a885 Merge pull request #7750 from dotCooCoo/feat/mesh-drop-color-point
Gradient mesh: a color dropped or eyedropped on a point or patch recolors it
2026-11-18 03:22:38 +07:00
BFlat a18fef053f Merge pull request #8288 from dotCooCoo/fix/metafile-loss-warnings
Metafile import: warn about images, clips and raster operations the reader leaves out
2026-11-18 03:22:29 +07:00