Commit Graph
15434 Commits
Author SHA1 Message Date
dotCooCoo df456ce5d6 Packaging Tools: each document keeps its own Check Fold Lines result
The Fold Lines panel kept one check for the whole app. Checking a second
document replaced the first document's result, so switching back to the
first document, unchanged since its check, showed no issues. The panel now
keeps the last check of each document by its id, and each result is still
shown only while its document has not changed since. Results of documents
that changed or closed are dropped when the next check is stored.
2026-11-16 09:31:17 -08:00
BFlat 94eacd67cd Merge pull request #8048 from dotCooCoo/feat/actions-reset-actions
Actions: Reset Actions restores the default set
2026-11-16 23:08:17 +07:00
BFlat 36c1f37ac6 Merge pull request #8096 from dotCooCoo/feat/packaging-check-fold-lines
Packaging Tools: Check Fold Lines finds the panels and hinges of a blank and lists what is wrong
2026-11-16 23:08:07 +07:00
BFlat 111077d770 Merge pull request #8123 from dotCooCoo/feat/recolor-wheel-brightness
Recolor Artwork: the Edit tab's wheel can show brightness and hue
2026-11-16 23:07:57 +07:00
BFlat fd24176ec8 Merge pull request #8127 from dotCooCoo/feat/isolate-selected-path
Isolation mode: the canvas context menu isolates one selected path
2026-11-16 23:07:46 +07:00
BFlat d9870d379f Merge pull request #8137 from dotCooCoo/perf/symbols-panel-current-symbol
Symbols: the panel reads the current symbol without running symbol.list
2026-11-16 23:07:36 +07:00
BFlat b86585d1b4 Merge pull request #8109 from dotCooCoo/feat/ai-graph-filled-lines
.ai graphs: Draw Filled Lines and its Line Width open live and save through the Gy record
2026-11-16 23:07:27 +07:00
BFlat cf99cd708f Merge pull request #8124 from dotCooCoo/feat/radial-repeat-splitter
Repeat: dragging a Radial Repeat's splitter hides instances and the others keep their places
2026-11-16 23:07:16 +07:00
BFlat 7d90d4ad8e Merge pull request #8115 from dotCooCoo/feat/split-resets-stroke-align
Scissors: paths a cut makes have every stroke aligned Center
2026-11-16 23:07:06 +07:00
BFlat 421c98f057 Merge pull request #8139 from dotCooCoo/perf/character-panel-stories-once
Character panel: work out the selected stories once, not once per field
2026-11-16 23:06:56 +07:00
BFlat b00aa7cd98 Merge pull request #8136 from dotCooCoo/fix/export-screens-single-pdf
Export for Screens: Single file PDFs are refused for assets, layers and each object
2026-11-16 23:06:47 +07:00
BFlat a6a2919b2c Merge pull request #8112 from dotCooCoo/fix/similar-fonts-no-numbers
Type: Show Similar Fonts lists a family with no numbers in common after the measured ones
2026-11-16 23:06:36 +07:00
BFlat 9dbd107205 Merge pull request #8126 from dotCooCoo/feat/shape-drag-grave-copies
Shape tools: Backtick held while dragging leaves copies of the shape
2026-11-16 23:06:28 +07:00
BFlat efe519a81a Merge pull request #8140 from dotCooCoo/feat/isolation-bar-click-exits
Isolation mode: a click on the isolation bar's empty space exits isolation mode
2026-11-16 23:06:19 +07:00
BFlat e157e9c737 Merge pull request #8111 from dotCooCoo/perf/eps-readhex-readline-one-pass
EPS import: readhexstring and readline read the data in one pass
2026-11-16 23:06:11 +07:00
BFlat f09d3777c2 Merge pull request #8133 from dotCooCoo/feat/layers-target-to-delete
Layers: a target circle dropped on Delete Selection reduces the item to basic appearance
2026-11-16 23:06:02 +07:00
BFlat ace89049c1 Merge pull request #8125 from dotCooCoo/feat/graphic-styles-empty-preview
Graphic Styles: a style with no fill and no stroke shows an outlined shape with a red slash
2026-11-16 23:05:53 +07:00
BFlat 942a65b16c Merge pull request #8144 from dotCooCoo/fix/flat-logo-soft-edge-slivers-v2
Image Trace: Flat Logo traces blurred black edges beside gray without gray slivers
2026-11-16 23:05:43 +07:00
BFlat 75e3b7b4d3 Merge pull request #8147 from dotCooCoo/feat/color-guide-save-selected-cells
Color Guide: Save Color Group to Swatches saves the selected cells as the group
2026-11-16 23:05:34 +07:00
BFlat 3275ae1951 Merge pull request #8132 from dotCooCoo/feat/magic-wand-cmyk
Magic Wand: Fill Color and Stroke Color tolerances compare CMYK values in a CMYK document
2026-11-16 23:05:25 +07:00
BFlat ee59999a00 Merge pull request #7982 from dotCooCoo/feat/common-tangents
Path Precision Tools: Common Tangents draws the lines touching two closed paths
2026-11-16 23:05:15 +07:00
BFlat a6e94de555 Merge pull request #5484 from ruchirguitar/feat/4943-more-indian-languages
Complete #4943: Nepali, Konkani and Sindhi language options
2026-11-16 21:48:41 +07:00
BFlat ac0465a4e8 Merge pull request #8031 from ruchirguitar/feat/4028-recolor-lab-swatches
feat(ui): recolor lab entry and swatch libraries access (#4028)
2026-11-16 21:48:33 +07:00
dotCooCoo eb72830339 Color Guide: Save Color Group to Swatches saves the selected cells as the group
With variation cells selected, the Save Color Group to Swatches button
now saves those cells as one swatch group, in grid order (row by row,
left to right, each cell once), named after the harmony rule, in one
undo step, each color in its own model. With no cell selected it saves
the harmony colors as before.

A cell selection now ends when the guide it was made in changes: the
base, the Color Guide Options, the variation mode, the harmony rule, the
library limit, or the colors the grid shows. Before, changing the
variation mode or the options kept the old cell positions selected, so
Save Colors as Swatches could save colors that were never picked.
2026-11-16 06:37:00 -08:00
dotCooCoo a1dac2c27f Image Trace: Flat Logo traces blurred black edges beside gray without gray slivers
With a gray between black and white, an edge pixel of black on white
took the black-and-white blend only when one of its eight neighbors lay
past the gray on each side and the flat black and white areas lay nearer
than the flat gray. On an edge blurred by a pixel or more neither holds,
so gray slivers lined black shapes: a black disc beside a gray square on
white traced up to 35 gray paths at blurs of 1 to 3 pixels.

The check now walks from the pixel along the line between the two outer
colors, up to 5 steps each way, each step to the neighbor that lies
farthest toward one of them while the pixels keep getting darker (or
lighter). The blend of the outer two lies as near as the farther of
their flat areas, or as the larger of the two step counts to a pixel of
each outer color when that is smaller. The first step is the old
neighbor check. The same disc and square now trace with one gray path
at blurs of 1 to 2 pixels. At 3 pixels, with the colors named, a gray of
128 is one path, a gray of 200 leaves 4 slivers with no area, and a gray
of 230 leaves 8 slivers of up to 21 pixels (14 gray paths before).

On edges blurred by a pixel or more, gray near black loses pixels. A
soft-edged gray band up to 4 pixels wide along black traces as black
and white at blurs of 1.5 and 2 pixels, and one up to 3 pixels wide at
blurs of 1 and 3 pixels. A soft-edged gray stroke 2 pixels from black
can lose some or all of its gray, and one 4 pixels away a few pixels. A
soft-edged gray stroke running out of black, blurred by 1 or 1.5
pixels, loses 3 or 4 of the 16 pixels nearest black. Sharp-edged bands
and strokes keep their gray.

Docs: docs/image-trace-adjustments.md, docs/target-app-parity.md.
2026-11-16 06:18:09 -08:00
dotCooCoo 2a464df744 Magic Wand: test that magicWand.set refuses a reset that is not true, false or null
The rejection test now gives `reset` a string and checks that the call returns an error and leaves the settings unchanged.
2026-11-16 06:10:21 -08:00
dotCooCoo 9973247dfc Type: test that Show Similar Fonts puts a family without numbers first when asked about it
The test now lists that family last, so it passes only when the family
asked about is moved to the front and the others keep their order.
2026-11-16 06:00:19 -08:00
dotCooCoo 8ca9613337 Isolation mode: a click on the isolation bar's empty space exits isolation mode
A click on the isolation bar's empty space, or on the isolated object's
name at the end of the breadcrumbs, leaves isolation mode altogether, as
Exit Isolation Mode does, nested isolation included. The back arrow, the
breadcrumbs of the levels above and the pattern buttons keep their own
actions, and a drag across the bar does not exit.

While an opacity mask is edited the click stops editing the mask. In
symbol editing mode it leaves the mode, also from a group isolated inside
the symbol's art and together with the isolation the mode was entered
from. While a pattern is edited it does nothing; Save a Copy, Done and
Cancel end pattern editing.

Docs: docs/target-app-parity.md.
2026-11-16 05:56:36 -08:00
dotCooCoo 70fdab8445 Export for Screens: Single file PDFs are refused for assets, layers and each object
With `pdfs: "single"` and several assets, layers or selected objects
(`selection: "each"`), document.exportForScreens wrote one PDF named
after the document holding only the first item's art, and every other
item's PDF was left out. Single file puts artboards on the pages of one
PDF; each asset, layer or object is cut out of the document with its own
art, so the export now refuses that combination before it writes any
file, and the Example line refuses it too. `pdfs: "multiple"` still
writes a PDF of each item, and `selection: "one"` writes one PDF either
way.

Docs: params text, docs/mcp.md, docs/target-app-parity.md.
2026-11-16 05:50:00 -08:00
dotCooCoo 756341ddc9 Character panel: work out the selected stories once, not once per field
With the Selection tool, every Character and Paragraph field read its
value through selected_stories, which walked the selected objects and
looked up each type object's story again. With the default panels open
that was 24 builds of the same list per frame.

selected_stories and selected_story_texts now keep the last list,
with the document (a held Weak keeps its address from being reused),
its revision and a copy of the selected objects. A change to any of
them builds the list again. Type objects are still resolved from the
current document on every read, so the panels show the same values.

Tests compare the kept list with a fresh build after an edit, a
reordered or replaced selection, a selection set without a new
revision, a selected group and a switch to another document at the
same revision; compare what both panels draw and their field values
with and without the kept list; and count one build per frame.
2026-11-16 05:41:04 -08:00
dotCooCoo f76735fcb4 Merge main into fix/similar-fonts-no-numbers 2026-11-16 05:38:12 -08:00
dotCooCoo c6046dacec Graphic Styles: the white fill of a no-paint preview covers type's characters
A style with no fill and no stroke whose Characters row sits above some of
its rows showed its type preview with the characters' own fill over the
white backing when Override Character Color was off. The backing now puts
every row above the contents, so the white fill covers the characters.
2026-11-16 05:37:33 -08:00
FredApps b352745d44 Merge pull request #8117 from storytold/imoto/svg-writer-consumer
svg: write the document wrapper through craft-svg
2026-11-16 14:36:56 +01:00
dotCooCoo 69b4f3ae96 Shape tools: Backtick held at the press measures the first copy from there
A drag that starts with Backtick already down set the copy spacing origin at the first drag event, so a short first stretch of the drag could leave no copy. The press now sets it.
2026-11-16 05:34:43 -08:00
dotCooCoo 75b02ea8df Symbols: the panel reads the current symbol without running symbol.list
The Symbols panel and its panel menu asked for the current symbol on
every frame by running symbol.list, which builds a row per symbol and
walks the whole document once per symbol to count its instances. They
now read it from the active document with cmd::current_symbol, the
rule symbol.list itself uses for its `current`: the stored name while
a symbol has it, else the first symbol. symbol.sortByName,
symbol.place, symbol.options and text.insertInline use the same
function, and symbol.list's reply is unchanged.

An idle frame of the panel or its menu now runs no command, so on
macOS the native menu is not brought up to date on every frame while
the panel is open. In a document with 200 symbols and 50,000 objects
the read takes 0.035 us instead of 48.5 ms in a release build (thread
CPU time on Linux, median of 7 runs). The gain matters on large
documents; on small ones it is too small to notice.
2026-11-16 05:29:31 -08:00
dotCooCoo 3a3bafd006 Layers: a target circle dropped on Delete Selection reduces the item to basic appearance
Dropping a layer, group or object's target circle on the Layers panel's
Delete Selection button now runs Reduce to Basic Appearance on that item
instead of Clear Appearance. The item keeps its topmost visible fill and
stroke, loses its other rows and its effects, and is not deleted. A drop
that changes nothing records no undo step. The help page describes this
drag as the alternative to Reduce To Basic Appearance:
https://helpx.adobe.com/illustrator/using/appearance-attributes.html

Before this change the drop also removed the remaining fill and stroke
and reset the object's opacity and blend mode.
2026-11-16 05:29:10 -08:00
dotCooCoo 8a47799f17 Magic Wand: Fill Color and Stroke Color tolerances compare CMYK values in a CMYK document
In a CMYK document the Fill Color and Stroke Color tolerances run from 0
to 100 and measure the Euclidean distance between the C, M, Y and K
percentages; RGB, Gray and Lab colors are converted to CMYK. RGB
documents keep the 0 to 255 RGB distance. The panel's fields take the
range of the active document.

A tolerance above 100 set in an RGB document is kept and applies as 100
while a CMYK document is active. magicWand.set now returns an error for
a tolerance that is out of range or not a number, and for a switch that
is not true or false, and then changes no setting, reset included;
before, it clamped the values and applied reset first.
2026-11-16 05:15:24 -08:00
dotCooCoo 0897b32a78 Isolation mode: the canvas context menu isolates one selected path
With one path selected, a member of a group or a compound path included,
the canvas context menu now has Isolate Selected Path (object.isolate),
next to where Isolate Selected Group shows for one group or compound path.
Neither item shows for an object that object.isolate refuses: a hidden or
locked object, one in a hidden or locked group or layer, a guide while
Lock Guides is on, and, while a symbol is edited, an object outside the
symbol's art.

Help page: https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=324
2026-11-16 05:06:04 -08:00
dotCooCoo 101e4625e9 Graphic Styles: a style with no fill and no stroke shows an outlined shape with a red slash
A style whose rows paint nothing showed as a blank white tile. Its
thumbnail now shows the preview square or type outlined in black and
filled with white, with the style's effects, under a red slash. The
panel's views, the Control bar's Style picker and chip, the dragged
chip, graphic style library panels and the large preview on the
selected object all show it. A row that paints None does not count as a
fill or stroke; a hidden row or one with zero opacity does.
2026-11-16 04:59:07 -08:00
dotCooCoo 9ecc8087c3 Shape tools: Backtick held while dragging leaves copies of the shape
Holding Backtick while dragging out a rectangle, rounded rectangle,
ellipse, polygon, star or line leaves a copy of the shape being drawn
each time the pointer has moved 8 screen points with the key down, up to
128 copies a drag. Each copy is its own object, drawn as the drag showed
it then. The release keeps the copies and the last shape as one undo
step, and Escape takes them all back. The spacing and the limit are
VectorCraft's own values.

The `backquote` descriptions of `pointer_gesture` name the shape tools.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-16 04:53:06 -08:00
dotCooCoo 64dfd6ca14 Repeat: dragging a Radial Repeat's splitter hides instances and the others keep their places
With one radial repeat selected, the Selection tool shows a splitter on
its circle, half a step past the last instance shown. Dragging it back
around the circle hides the instances it passes, and dragging it forward
shows them again; one instance stays shown at least. The instances left
keep their places: the repeat keeps the count shown in instances and
spaces them a full circle's step apart with endAngle, and the full
circle's count is read back from that step. Each drag previews and
commits object.repeat.options as one undo step, Escape cancels it, and a
drag that ends where it began leaves no undo step. There is no splitter
when the step does not divide a full turn, for one instance to a turn or
with a radius of 0. The radius handle of a single instance sits opposite
it.
2026-11-16 04:50:48 -08:00
dotCooCoo bf8c08e2a1 Recolor Artwork: the Edit tab's wheel can show brightness and hue
A button under the Add Color and Remove Color tools switches both Edit
tab wheels between hue with saturation and hue with brightness. On the
brightness wheel a marker's distance from the center is its brightness
(black at the center, full at the edge), a drag sets hue and brightness,
the slider under the wheel edits saturation, and Add Color adds the hue
and brightness clicked at the base color's saturation. The segmented
wheel's five rings become brightness steps. Switching changes no color,
the button is off for the color bars, and each opening shows hue and
saturation. The dialog field is `wheelAxes` (`hueSaturation`,
`hueBrightness`).
2026-11-16 04:50:45 -08:00
dotCooCoo 4e8ff28cb4 .ai graphs: a filled-line series keeps no stroke, so turning Draw Filled Lines off draws its thin line
A series read from bands with unstroked markers, or bands alone, kept an
explicit no-stroke paint. With Draw Filled Lines turned off, the thin line
took that paint and was not drawn. Such a series now keeps no stroke, as a
graph drawn here does, and its thin line is drawn in the series color at
1 pt. A series whose markers carry a stroke keeps it.
2026-11-16 04:36:43 -08:00
dotCooCoo 70a8ccc8a2 Merge main into feat/radial-repeat-splitter 2026-11-16 04:13:30 -08:00
ruchirguitar d7a1877e98 #8053: keep French tangent punctuation nonbreaking 2026-11-16 17:41:20 +05:30
dotCooCoo f54a3faa39 Packaging Tools: Check Fold Lines reports overshooting and stacked fold lines
- A crease that runs past the cut outline by the tolerance or more is
  reported as outside, though its hinge is still built.
- Two lines that fold, of any role, on top of each other are reported as
  duplicate; a line drawn twice is still checked for where it lies.
- Hidden lines are left out in every scope, members of a selected group
  included.
- The ids scope gets its own noCut message.
- The notStraight, ambiguous and summary texts say what the check finds:
  the summary counts hinges, not creases.
- The fold angle fields, which nothing in this change reads, are removed.
- A window drawn as open cut lines stays a hole when a cut line crosses
  it or when slits join it to an outline of open lines, so that three
  lines meet at a corner. Cut lines drawn whole that cross a cell leave
  it material.
- A slot drawn across the outline is a notch, not a hole, as when the
  notch is drawn in the outline; a crease in it lies outside the blank.
- notStraight measures each hinge piece at its farthest point from the
  hinge line instead of at five samples.
- Cut lines drawn on top of each other so many times that the gap search
  would look at more than 16,777,216 pairs are reported as tooComplex
  before the search.
2026-11-16 04:10:41 -08:00
FredApps 631441ce86 svg: write the document wrapper through craft-svg (#778, #789)
The XML declaration, DOCTYPE entity subset and root <svg> open now go
through SvgWriter. Mapping and the rest of the document stay in the app.
Width and height stay unitless in one place so #7105 can rebase.
2026-11-16 13:10:03 +01:00
FredApps 7452b6f383 Merge pull request #7669 from storytold/feat/cutover-remaining-codecs
refactor(codecs): partial shared image-codec cutover, preserving remaining readers
2026-11-16 12:50:00 +01:00
ruchirguitar 49637d63ac 4028: merge main and exercise picker and row-menu UI 2026-11-16 17:18:38 +05:30
dotCooCoo 52bbca2ecb Type: Show Similar Fonts lists a family with no numbers in common after the measured ones
FontLikeness::distance left out every number either face does not give,
so a family whose faces give none of them (static faces with no OS/2 or
post table) was 0 from every family, and Show Similar Fonts could list
it right after the chosen family, as an exact match. Faces that share
no number to compare are now f32::INFINITY apart, so such a family
comes after every family of its script group that shares one, and
families equally far keep their order. The order of measured families
does not change. This is VectorCraft's own rule.

Builds on #7983, which added Show Similar Fonts.
2026-11-16 03:47:51 -08:00