Commit Graph
15655 Commits
Author SHA1 Message Date
BFlat 25ae8943d8 Merge pull request #8213 from dotCooCoo/perf/trim-selection-one-pass
Trim at Crossings: the selection is updated in one pass
2026-11-17 09:46:42 +07:00
BFlat 6d8db923c2 Merge pull request #8221 from dotCooCoo/feat/flare-alt-click-default
Flare: an Alt-click draws a flare at the click with the tool's options
2026-11-17 09:46:34 +07:00
BFlat 62b2559a0b Merge pull request #8218 from dotCooCoo/fix/emf-text-advances
Metafile import: EMF and WMF text keeps the character advances the file gives
2026-11-17 09:46:25 +07:00
BFlat 46b7894231 Merge pull request #8238 from dotCooCoo/feat/blend-options-id-fields
Blend: options on several blends set only the values given; `id` edits one blend
2026-11-17 09:46:15 +07:00
BFlat e3d779c2de Merge pull request #8270 from dotCooCoo/fix/spot-swatch-same-name-separation
Print: spot plates list only the swatch that art links to by name
2026-11-17 09:46:07 +07:00
BFlat 457c5fba1c Merge pull request #8251 from dotCooCoo/perf/magic-wand-membership-sets
Magic Wand: compound and selection membership checks use hash sets
2026-11-17 09:45:57 +07:00
BFlat 2d393d8a8a Merge pull request #8094 from el-j/fix/pdfx-transparency-reduction-6861
Fix #6861: Automated transparency reduction for PDF/X and PDF 1.3
2026-11-17 09:45:49 +07:00
BFlat 1205ad480f Merge pull request #8222 from dotCooCoo/fix/flat-logo-sharp-band-gray
Image Trace: Flat Logo keeps gray bands along black on nearly sharp edges
2026-11-17 09:45:40 +07:00
BFlat db23daa318 Merge pull request #8059 from dotCooCoo/fix/find-font-escape-dropdown
Find Font: Escape over an open list closes only the list
2026-11-17 08:20:54 +07:00
BFlat edb2e447ce Merge pull request #8084 from dotCooCoo/fix/issue-8041
Fix #8041: the Swatches panel shows no Recent Colors or Swatch Tiles heading
2026-11-17 08:20:46 +07:00
BFlat 95aede8b49 Merge pull request #8195 from dotCooCoo/feat/trim-crossings-knife-flyout
Trim at Crossings: the tool is in the Scissors tool's flyout and shows a knife cursor
2026-11-17 08:20:36 +07:00
BFlat c8870d5bd6 Merge pull request #7998 from dotCooCoo/feat/palette-compact-rows
Command Palette: compact rows in a shorter list that scrolls and says how many matched
2026-11-17 08:20:27 +07:00
BFlat 3e1a6f7e51 Merge pull request #8072 from dotCooCoo/fix/ai-editing-perceptual-stops
AI editing data: a Perceptual gradient is written with the stops on its curve
2026-11-17 08:20:18 +07:00
BFlat 5232789973 Merge pull request #8076 from dotCooCoo/fix/export-screens-pdf-bleed
Export for Screens: Include Bleed keeps a PDF page's TrimBox at the artboard
2026-11-17 08:20:09 +07:00
BFlat 84a8d781fc Merge pull request #8043 from dotCooCoo/fix/issue-8024
Eyedropper: Escape ends a gradient stop's or Key Color's pick and returns to the previous tool
2026-11-17 08:20:01 +07:00
BFlat 3547934a09 Merge pull request #8186 from dotCooCoo/perf/variables-panel-rows-per-revision
Variables: the panel builds its rows once per document version
2026-11-17 08:19:53 +07:00
BFlat 1b14abbcdb Merge pull request #8080 from dotCooCoo/perf/curved-stroke-edges
Render: wide curved strokes draw their rims closer to the curves
2026-11-17 08:19:45 +07:00
BFlat b99a5cf798 Merge pull request #8091 from dotCooCoo/fix/issue-8047
Selection: a press on members picked with Group Selection drags only them
2026-11-17 08:19:37 +07:00
BFlat 7c65af31ce Merge pull request #8067 from dotCooCoo/feat/align-3d-preview-bounds-1302
Use Preview Bounds: Extrude & Bevel, Revolve, Inflate and Rotate are measured by their 3D art
2026-11-17 08:19:29 +07:00
BFlat 2510109da1 Merge pull request #8100 from dotCooCoo/perf/brush-targets-dedup-set
Brushes: brush_targets drops repeated paths with a set instead of a linear search of its output
2026-11-17 08:19:20 +07:00
BFlat 79d2536e8e Merge pull request #8089 from dotCooCoo/fix/issue-8063
Part of #8063: Dimension tool points snap to drawn dimensions and show anchor and path labels
2026-11-17 08:19:12 +07:00
BFlat f619888fe2 Merge pull request #8074 from dotCooCoo/feat/intertwine-layers-drop
Layers: dragging objects into an Intertwine group adds them to it
2026-11-17 08:19:04 +07:00
BFlat 374ff5b8c3 Merge pull request #8191 from dotCooCoo/fix/fold-check-per-document
Packaging Tools: each document keeps its own Check Fold Lines result
2026-11-17 08:18:55 +07:00
BFlat 05c7e0d559 Merge pull request #8071 from dotCooCoo/feat/type-on-path-desired-spacing
Type: type on a path takes Justification's Desired spacing and glyph scaling
2026-11-17 08:18:47 +07:00
BFlat be60816347 Merge pull request #8046 from dotCooCoo/perf/svg-glyph-shared-document
SVG glyphs: a glyph from a shared SVG document reads only what it refers to
2026-11-17 08:18:39 +07:00
BFlat f8855d748a Merge pull request #8054 from dotCooCoo/fix/swatch-css-gradient-midpoints
Swatches: CSS export writes gradient midpoints and curves as stops
2026-11-17 08:18:32 +07:00
BFlat f3a5d3788a Merge pull request #7973 from dotCooCoo/feat/palette-panels-and-effects
Command Palette: lists commands that run from a pick, plus panels and effects
2026-11-17 08:18:23 +07:00
BFlat 20ef08768a Merge pull request #8052 from dotCooCoo/feat/pathfinder-mixed-shape-mode
Pathfinder: Shape Mode buttons show a question mark for selected members in different modes
2026-11-17 08:18:15 +07:00
el-j 7194204871 Address review comments: reuse clear_transparency helper and run layer normalization only without transparency 2026-11-17 01:04:57 +01:00
dotCooCoo df45b7cc4b Blend: Type, Ramp and Reverse Spine count a selected key as its blend
The Blend panel dimmed Type, Ramp and Reverse Spine only when a selected
object was itself a blend without a spine. With a key of each of two
blends selected through Direct Selection, the controls stayed enabled
while the commands, which act on each key's blend, refused the edit.
The panel now checks each selected object's nearest blend, as the
commands resolve it.
2026-11-16 16:01:47 -08:00
dotCooCoo 3dd40902a5 Print: note EPS export of process-named spot stops with plates
EPS export writes a gradient whose stop links to a spot swatch named
Cyan, Magenta, Yellow or Black and carries process plates in process
colors, with a warning. The stop_inks doc comment and the progress-doc
line now say so.
2026-11-16 15:59:22 -08:00
el-j a0edcf73c4 Merge remote-tracking branch 'upstream/main' into fix/pdfx-transparency-reduction-6861 2026-11-17 00:42:30 +01:00
dotCooCoo 31c53a8658 Print: spot plates follow the swatch art links to by name
A fill, stroke or gradient stop links to a swatch by name, and the first
swatch of that name is the one it prints from. The plate list added a spot
plate for every spot swatch, so a spot swatch after a process swatch of the
same name got a plate that printed nothing, while art linked by that name
separated as process. The plate list now takes only the first swatch of
each name.

A spot swatch named Cyan, Magenta, Yellow or Black had no plate of its own
and printed nothing on the process plate of its name. Art linked to it now
prints its tint on that process plate, as PDF and EPS export write it, and
a gradient stop's own process plates print beside it.
2026-11-16 15:29:19 -08:00
dotCooCoo 562021f185 Blend: Blend Options sends only what was set; unknown orientation is an error
- The Blend Options dialog sends the spacing, count or orientation only
  when it was set in the dialog or differs from the first blend's, so
  OK on several blends no longer copies the first blend's spacing and
  orientation onto the others.
- object.blend.options: a spacing mode without a count keeps the count
  of a blend already in that mode. An orientation other than page or
  path, a spacing that is not a string, and `value` without `spacing`
  are errors (orientation also in object.blend.make and the options new
  blends start with).
- The Blend panel dims Type and Ramp while any selected blend has no
  spine, since the command refuses easing for such a selection.
- Tests check the live preview while a Ramp or Shift drag is under way.

Supersedes #8022 by ruchirguitar.
2026-11-16 14:38:00 -08:00
FredApps 9a01d266b0 Merge pull request #8152 from storytold/cutover/shared-packbits
refactor: share TIFF and EPS PackBits encoding
2026-11-16 23:30:20 +01:00
dotCooCoo 8970de7da5 Magic Wand: compound and selection membership checks use hash sets
select.magicWand searched lists in three places: paintable looked up
each object's parent in the list of compound paths, add mode looked up
each hit in the selection, and subtract mode looked up each selected
object in the hits. These lookups now use HashSets. The output is still
built by walking the lists, so the wand selects the same objects in the
same order as before.

A test compares paintable, added, subtracted and select.magicWand in
set, add and subtract mode with copies of the earlier searches on a
20,000-path document. An ignored release-build probe times both.
2026-11-16 14:18:19 -08:00
Dylan M. Taylor ca7ad8db03 fix(deps): pin PackBits and PDF cohort to merged shared revision 2026-11-16 16:04:48 -05:00
dotCooCoo 99ccdb790a Image Trace: Flat Logo docs count a gray stroke's loss at black in pixel centers
The parity line said a soft-edged gray stroke running out of black loses
"3 or 4 pixels" where it meets black. It now says 3 or 4 of the 16 pixel
centers along its middle nearest black, as docs/image-trace-adjustments.md
and the test count them.

In docs/image-trace-adjustments.md, gray near black on blurred edges now
traces gray at fewer of its pixel centers instead of "losing pixels", a
wider band loses some or most of its gray instead of part of it (bands 3
and 4 pixels wide at a blur of 1 pixel keep about 60 of 336), and the
paragraph is wrapped to the file's line width.
2026-11-16 13:04:10 -08:00
Dylan M. Taylor 9c61c0b66e Merge pull request #8103 from storytold/refactor/eps-shared-write
refactor(eps): delegate PostScript write primitives to craft-ps
2026-11-16 15:55:40 -05:00
dotCooCoo 2d9b36ec7e Image Trace: Flat Logo band test checks the widths left unchecked at blurs of 1 and 3 pixels
The band test now also sums the samples traced gray for bands 3 and 4
pixels wide blurred by 1 pixel (about 60 of 336 over the three grays;
16 without the sharp-edge stop) and for bands 4 pixels wide blurred by
3 pixels (about 39 of 192).

across_edge decides from the first step alone whether one side's edge is
sharp, so each side's path is walked once. On 856 code-drawn band and
stroke cases and 39 images the results are the same as before.

The docs count pixel centers instead of pixels, write "0.6 pixels"
throughout, give the parity line's band claim its bound of 1 in 16, and
state again that a light gray stroke 6 or 8 pixels from black keeps its
gray because its pixels do not reach black in 5 steps.
2026-11-16 12:54:49 -08:00
dotCooCoo 3c7222b27e Metafile import: each line of text with advances splits and underlines on its own
Text on more than one line is placed a line at a time at every
alignment, and each line splits where an advance that tracking can't
give puts its characters, as a single line does. An underline or
strikethrough also runs on to the end of a line's last advance when
tracking can't reach it.
2026-11-16 12:50:23 -08:00
dotCooCoo 3e3c95ec37 Blend: options on several blends set only the values given; id edits one blend
object.blend.options wrote the first selected blend's spacing, orientation,
type, ramp and shift onto every selected blend, whatever the call gave. Each
blend now takes only the values given and keeps its own for the rest, through
one closure used for the selection and for `id`.

- `id` edits that blend alone. A hidden or locked blend and an object that
  is not a blend are errors, and the blend's own spine decides whether
  easing is allowed.
- A call that changes no blend records no undo step.
- The Blend panel's Ramp and Shift sliders share one helper: a drag
  previews on the canvas and records one undo step on release, instead of
  one per frame.

Builds on #8022 by ruchirguitar.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-16 12:42:53 -08:00
dotCooCoo 4351143a2a Metafile import: multi-line text with advances aligns each line by its own advances
Centered or right aligned text on more than one line was placed by the
span of all its advances together, so a second line moved the first.
Layout also leaves the tracking after each line's last character out of
the width it aligns, so one object can't align every line by its
advances. Such text now becomes one point type object per line, each
aligned by its own advances and placed on its line's baseline. Left
aligned text stays one object.
2026-11-16 12:38:25 -08:00
dotCooCoo 473b887542 Merge main into feat/flare-alt-click-default 2026-11-16 11:59:16 -08:00
dotCooCoo 7953a12116 Metafile import: EMF and WMF text keeps the character advances the file gives
Follows #7608. Text from EMF, WMF and EMF+ pictures was laid out with the
font's own spacing, so the per-character advances the file gives
(ExtTextOut's lpDx, EMF+ DrawDriverString glyph positions) were dropped.

- Characters are spaced by their advances as tracking, with pair kerning
  off. When a ligature forms at one tracking and breaks at the next,
  standard ligatures are turned off for that text.
- On a single left to right line, an advance that tracking can't give
  (wider than its range, or a tab) starts a new point type object where
  the advance puts it, also between the letters of a ligature the
  tracking breaks apart. An underline or strikethrough is filled across
  the space between. Right to left and multi-line text stays one object.

ExtTextOut: https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-exttextoutw
DrawDriverString: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-emfplus/b794b780-e9a8-4682-af65-9b614aecfbe6
2026-11-16 11:57:10 -08:00
BFlat 5fd8cf2c45 Merge pull request #7378 from dotCooCoo/fix/svg-filter-messages-tr-labels
i18n: SVG filter refusals are translated, and side-by-side menu items differ
2026-11-17 02:51:10 +07:00
BFlat 014caef43b Merge pull request #8176 from dotCooCoo/perf/task-bar-has-colors-early-exit
Task bar: the Recolor check stops at the first color
2026-11-17 02:51:01 +07:00
BFlat 3e75a7eae7 Merge pull request #8013 from dotCooCoo/fix/transform-copies-raster-effects-groups
Effects: each copy of a group's or layer's Transform effect carries the raster effects before it
2026-11-17 02:50:52 +07:00
BFlat fb6845b07a Merge pull request #8161 from dotCooCoo/perf/cut-selection-one-pass
Cut: take the cut objects out of the selection in one pass
2026-11-17 02:50:44 +07:00
BFlat 3e9947ac9d Merge pull request #8179 from dotCooCoo/feat/graphic-styles-drag-to-new-duplicates
Graphic Styles: a style dropped on New Graphic Style is duplicated at the end of the list
2026-11-17 02:50:36 +07:00