Commit Graph
6429 Commits
Author SHA1 Message Date
dotCooCoo af64010722 Merge main into fix/flatten-staggered-boxes-sweep-order 2026-11-15 10:56:05 -08:00
dotCooCoo 8d9a467005 Flatten: boxes staggered right and up meet only the box before in the grouping sweep
When an arriving box that joins everything it overlaps covers an open
box to the right and above, and ends higher than it, the open box now
keeps only its part below the arriving box's bottom. The sweep's tree
holds each open box by its current top, at a place that is either a
box's top or just below a box's bottom, so a box can be cut short from
above, from below, or both. Any later box that would have met a removed
part meets the arriving box instead, which is open at least as long and
in the same set, so the groups stay the same. A box held by an open box
is not opened and cuts nothing short.

512 boxes, each 1 pt right of and above the one before, or left of and
below it, now meet 511 open boxes in the sweep instead of 130,816, with
and without transparency.
2026-11-15 10:54:58 -08:00
dotCooCoo f1507ccec3 Merge main into fix/an-image-whose-recode-fails-is-written-without 2026-11-15 10:54:25 -08:00
dotCooCoo 2238a00e43 Graphics: --present-mode and --frame-latency set how the window presents frames
--present-mode (fifo, autovsync or novsync) and --frame-latency (1 to 3),
or VECTORCRAFT_PRESENT_MODE and VECTORCRAFT_FRAME_LATENCY, change the
window surface for one launch. A flag overrides its variable, and a value
outside these stops the app with a message. The log records the surface
the app requests at startup. On Windows and Linux, a launch that sets
either one opens its files in a new window, as --new-instance does.
Without them the window keeps autovsync with one frame queued.
2026-11-15 10:54:08 -08:00
dotCooCoo f92a366e3c Merge main into fix/svg-import-absolute-ltr-character 2026-11-15 10:48:48 -08:00
dotCooCoo 250b642812 Merge main into fix/svg-import-png-keeps-icc-profile 2026-11-15 10:48:38 -08:00
dotCooCoo d154d72890 SVG import: absolutely placed characters one text object cannot place import as a group
SVG reorders right-to-left characters only within a text chunk, while one
text object reorders the whole line. In
<text x="100 160 220" direction="rtl">אbג</text> the left-to-right b is
drawn right before ג with no kerning between them, so ג stayed where the
line put it and the import warned.

When kerning cannot put every absolutely placed character on its x, the
text is now cut before each such character and each piece is placed
again, and the text imports as a group of point type objects named after
the element. A text one object can place stays one object. A split text
in a clip path clips by the outlines of all its objects.
2026-11-15 10:48:26 -08:00
dotCooCoo 2d361e2ad7 SVG import: a raster stored again as PNG keeps its ICC profile
An image that SVG import writes again as PNG (a TIFF, or a PNG, JPEG,
GIF or WebP whose orientation turns it) now keeps the ICC profile its
file carries, as an iCCP chunk, when the profile's color space is the
stored samples': gray for gray samples, RGB for RGB ones. Open and
Place already keep it. Profiles of another color space, ones too short
to be a profile, and the profile of a TIFF whose own reader converts
its pixels to RGBA are left out, and the image still imports. Sample
types a PNG doesn't hold are stored as 8-bit RGBA, as Open and Place
store them.
2026-11-15 10:47:47 -08:00
dotCooCoo 2f432926b2 Smooth tool: keep corners on a path cut into very many short segments
The Smooth tool measured the turn around each corner by walking at most
256 segments from the anchor, and did not keep an anchor as a corner
when twice the reach lay farther than that. A corner of a path cut into
short segments was rounded off: an open path with 0.05 pt segments at
the default 12 pt reach, or a square in 0.25 pt segments with a 40 pt
reach.

The walk now has no segment limit. Each segment's length is measured
once per path, and the lengths are added up in blocks of 2, 4, 8 and
more segments, so finding the point a reach away skips whole blocks and
measures only the segment it lands in. Each block adds up only its own
segments, so short segments keep their lengths next to very long ones.
2026-11-15 10:41:11 -08:00
dotCooCoo 08b3c0b00a Keyboard Shortcuts: Export Text… also saves the list as a CSV file
Export Text…'s save dialog in the desktop app adds a CSV type after
Text and Shortcut sheet, and shortcuts.exportText takes `format: "csv"`.

The CSV file is UTF-8 with a byte order mark, CRLF line ends and RFC
4180 quoting. Its header row is Group,Command,Shortcut in every UI
language, then one record per row the dialog lists, in the sheet's
groups (Tools, then a group per top-level menu) with names and
shortcuts in the UI language. A row with no shortcut has an empty
Shortcut field. A field that starts with =, +, - or @ and has more
after it, or that starts with a tab or a carriage return, starts with
an apostrophe.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-15 10:39:56 -08:00
dotCooCoo 90708361c0 Merge main into fix/export-nested-symbol-reshape-budget 2026-11-15 10:37:36 -08:00
dotCooCoo 878c6ba1e1 Export: nested symbol instances count their baked art against the symbol art limit
An export that bakes a symbol instance with geometry effects inside the
art of another such instance counted only the symbol's art before its
effects against the 262,144 objects of nested symbol art one export
bakes. Copies the art's effects made were not counted, so the baked art
could pass the limit. The art the instance bakes to now takes the place
of the symbol's art in the count; when it does not fit, the instance
stays as it is with its effects and gives back what its art held while
it baked, as it does when reshaping it gives nothing.
2026-11-15 10:36:47 -08:00
BFlat 957397e7a1 Merge pull request #7710 from dotCooCoo/feat/packaging-fold-roles
Packaging Tools: Make … Line gives paths a fold line role that their swatch carries
2026-11-16 01:35:03 +07:00
BFlat 39336f44d9 Merge pull request #7863 from dotCooCoo/feat/diacritic-position
Type: Adjust Horizontal and Vertical Diacritic Position move marks off their letters
2026-11-16 01:34:36 +07:00
BFlat 689d60d5b8 Merge pull request #7891 from dotCooCoo/fix/plain-paste-merged-swatch-label-contrast
Paste: Paste without Formatting sets pie legend label contrast from merged swatch colors
2026-11-16 01:34:28 +07:00
BFlat 38aec2b2fb Merge pull request #7797 from dotCooCoo/fix/outlined-strokes-under-a-non-uniform-type
Type: outlined strokes on unevenly scaled type keep their thickness in each direction
2026-11-16 01:34:20 +07:00
dotCooCoo a6d9dd2881 Import PDF: artboards on trim boxes keep the bleed between them
Opening a PDF with Crop To Trim Box put each artboard 36 pt after the
one before, while the bleed boxes round the trim boxes became the
document's bleed. With a bleed over 18 pt, one page's bleed reached
into the next artboard, and a page exported with its bleed showed part
of its neighbor. The document's bleed is now read from every picked
page first, and the artboards are 36 pt apart plus that bleed on both
sides, as linked pages on their trim boxes are laid out since #7723.
2026-11-15 10:34:12 -08:00
BFlat f8af52bba1 Merge pull request #7790 from dotCooCoo/fix/directional-pixel-effects-before-a-rotating-or
Effects: directional pixel effects before a rotating or reflecting Transform effect keep their angle
2026-11-16 01:34:02 +07:00
BFlat 54d20b303c Merge pull request #7860 from dotCooCoo/feat/variables-data-set-box-rename
Variables: the Data Set box renames the current data set
2026-11-16 01:33:45 +07:00
dotCooCoo c0db7a8426 .ai save: envelopes on a large canvas stay editable
The editing copy of a large canvas wrote every envelope as its drawn
art. It now writes warp, mesh and top object envelopes live at 1/10 of
their size with the rest of the art, under the same checks as on a
normal canvas, and the reader opens them at their size from the editing
data alone or beside the PDF part.

Read from the editing data alone, a Large Canvas copy also gets:
- an envelope's saved box size compared with its contents at the
  declared scale, so a bounds margin kept with Distort Appearance is no
  longer lost;
- every path's stroke weight, dashes and dash offset at the declared
  scale, not at 1/10.
2026-11-15 10:33:11 -08:00
BFlat a1ec9d7e84 Merge pull request #7852 from dotCooCoo/feat/3d-panel-export-3d-object
3D and Materials: Export 3D Object adds the selection to Asset Export
2026-11-16 01:33:09 +07:00
BFlat b759c9e369 Merge pull request #7874 from dotCooCoo/fix/pdf-dont-include-profiles-removes-image-profiles
PDF export: a set Don't Include Profiles removes image color profiles
2026-11-16 01:33:00 +07:00
BFlat eaadc48d5a Merge pull request #7835 from dotCooCoo/feat/contextual-task-bar-smooth-free-transform
Contextual Task Bar: the Smooth tool shows its Fidelity and Tool Options
2026-11-16 01:32:29 +07:00
BFlat adc0b1ca98 Merge pull request #7876 from dotCooCoo/fix/mcp-queued-psd-import-options
Docs: queued PSD files ask for their import options with Show Import Options on
2026-11-16 01:32:02 +07:00
BFlat 351e9cfe1e Merge pull request #7856 from dotCooCoo/fix/pdf-knockout-overprint-isolation
PDF import: an isolated group with overprinting art inside stays isolated
2026-11-16 01:31:50 +07:00
BFlat a505c34ceb Merge pull request #7853 from dotCooCoo/fix/svg-blur-by-direction
SVG import: a blur that differs by direction is kept as its SVG filter
2026-11-16 01:31:37 +07:00
BFlat 20e577fe45 Merge pull request #7758 from dotCooCoo/feat/recolor-find-colors
Recolor Artwork: Find shows the selected rows' art and dims the rest
2026-11-16 01:31:19 +07:00
BFlat f23d7f9d00 Merge pull request #7744 from ruchirguitar/feat/4936-check-spelling-dialog
feat(ui): implement Check Spelling modal dialog (#4936)
2026-11-16 01:31:00 +07:00
dotCooCoo 58fc13a1e0 Eraser: the drag's area outline takes the tip the pen gives at each step
The outline of the area an Eraser drag covers used the set Angle and
Roundness and varied the Size only with Pressure, while the release
(since #7726) erases with the tip the pen gives at each point on the
Pressure, Tilt, Bearing and Rotation modes.

Each step now takes the tip halfway between those at its ends, read as
the release reads the stroke. A step whose angle or roundness varies is
outlined where its own tip is round, and the parts inside other steps'
areas are removed as before. A pen turned in place gives the last step
the new tip, and a changed mode or Variation starts the outline again.
A round tip whose Size follows the pen shows each step that wide.
Random shows the value itself until the release draws it.
2026-11-15 10:23:55 -08:00
dotCooCoo 6bc3249fdf Keyboard Shortcuts: Export Text… also saves a printable shortcut sheet
Export Text…'s save dialog in the desktop app offers two file types:
Text (the text file as before, still the first and default type) and
Shortcut sheet (PDF). The type picked decides the file.

The sheet lists the rows that have a shortcut, Tools and then a group
per top-level menu, each under a colored band, shortcut on the left and
name on the right. The groups flow down four columns of landscape Letter
or A4 pages, titled with the set's name. A row with several shortcuts
has a line for each, a shortcut too wide for its column is set smaller,
and a long name ends in "…". The sheet is laid out as a document and
written by the PDF writer.

shortcuts.exportText takes `format` ("text" or "sheet"; default text)
and `pageSize` ("letter" or "a4"). Without `pageSize` the sheet is on A4
when the current document prints on A4, else on Letter. A `path` is
written as given, as text without `format`, and a bad value is an error.
When `format` names a format, or the save dialog reports the type
picked, the name the dialog returns gets that format's extension, and a
file already at the changed path is replaced only after asking.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-15 10:20:55 -08:00
dotCooCoo 9548a669a0 SVG export: type on a path that starts with a drawn repeat mark is outlined
Type on a path whose frame starts with a repeat mark drawn as the
character it repeats is now written as outlines with a warning, as other
type on a path that a <textPath> cannot reproduce is. With Kurikaeshi
Moji Shori off it stays live text.
2026-11-15 10:18:45 -08:00
dotCooCoo 402b62b20d 3D: a transparent gradient lines up its colors and transparency across the faces
Follows #7338. Under colored lights, and under the classic effects'
shading, a gradient with transparent stops is drawn opaque on each face
under one opacity mask of its transparency. A gradient without a
placement of its own fitted its colors to each face's bounds, while the
mask fitted the whole solid, so the color and transparency ramps did not
line up and the colors started over on each face. Such a gradient is now
placed once on all of the solid's faces, grown by 1 pt, before it is
split into colors and mask. Opaque gradients and placed gradients are
drawn as before.
2026-11-15 10:18:36 -08:00
dotCooCoo 1a78011eae Merge main into fix/graph-design-art-paint 2026-11-15 10:13:04 -08:00
dotCooCoo 3ca38f2237 Paragraph: Kurikaeshi Moji Shori draws ゝ or ヽ with a combining voicing mark as voiced
ゝ or ヽ followed by U+3099, which a font draws as one glyph, is now drawn
at a line start as ゞ or ヾ would be, instead of as the plain kana. A mark
that shares its cluster with other glyphs, or with any other combining
character, keeps its own glyphs.
2026-11-15 10:01:43 -08:00
dotCooCoo 7d7c5918f3 MCP docs: Kurikaeshi Moji Shori covers the first repeat mark of a frame of type on a path 2026-11-15 09:52:57 -08:00
dotCooCoo 71a474450d Merge main into feat/3d-classic-black-overprint 2026-11-15 09:34:04 -08:00
dotCooCoo 9255edc3d8 Merge main into feat/3d-classic-light-sphere 2026-11-15 09:29:07 -08:00
dotCooCoo bf2a90ed90 Merge main into feat/3d-bevel-reset 2026-11-15 09:28:38 -08:00
dotCooCoo bb3653e98f Docs: the command palette is named by its menu item, not by ⌘K
The egui crate's header comment and the M14.8 line in
docs/target-app-parity.md called it "the ⌘K palette" and "a ⌘K command
palette". Cmd+K runs edit.preferences, and help.commandPalette (Help ›
Search Commands…) defaults to Cmd+Shift+/. Both now name the menu item,
and the crate comment links the palette module.
2026-11-15 09:22:55 -08:00
dotCooCoo 51803c222d Docs: moving a label can scale the plot of a graph saved without placedArt
docs/mcp.md said that moving a label on its own never moves or scales a
graph's plot. A graph saved without `placedArt`, or with one that has no
width or height, is measured on `placed`, the bounds of all of its art
including the labels. Moving an outermost label of such a graph on its
own changes those bounds, and the next redraw moves and scales the plot.
The paragraph now says so.
2026-11-15 09:19:33 -08:00
dotCooCoo 1e32738b8f MCP: confined SVG output checks the linked images the file draws
The read-root check for SVG output now looks at the same art the
writer draws:

- A placed document's art is checked, with the pixels its file holds.
  A placed native file that links an image outside the read roots was
  written with that path under Images: Link.
- Hidden objects inside symbols, patterns and graph designs are left
  out unless hidden layers are kept, as they are in the layers.
- With profile tiny12 the file leaves out opacity masks, and their
  images are not checked.
- An object whose effect SVG has no filter for is checked as the image
  the file draws of it, for file output and clipboard.exportSvg alike.

The last three refused files and clipboard SVG that name no file
outside the roots.
2026-11-15 09:13:08 -08:00
dotCooCoo 3e4b8d81ff Merge main into fix/an-image-whose-recode-fails-is-written-without 2026-11-15 09:08:24 -08:00
dotCooCoo fd468f0042 Merge main into fix/custom-toolbar-errors-translated 2026-11-15 09:08:24 -08:00
dotCooCoo 59889cd2af Merge main into feat/properties-graph-section 2026-11-15 09:08:13 -08:00
BFlat 5bd8acfce9 Merge pull request #7762 from dotCooCoo/feat/3d-classic-track-cube
3D (Classic): the track cube turns the object on the Rotation tab
2026-11-16 00:04:07 +07:00
dotCooCoo 3dad1013a4 Image Trace: Noise leaves cut-edge blends out of a speck's color
When Noise picks the nearest color for a speck, the speck's average now
leaves out the semi-transparent pixels along a cut-out image's edge that
are the color beside them blended with the transparent background.
settle_cut_edges returns which pixels those are. A speck made only of
them merges by border. In Grayscale the speck's gray is read with luma,
the gray Grayscale traces with, and the test probe shift_probe denoises
as a trace does.

The docs now say the rule applies in Color and Grayscale (in Black and
White a region has only one neighboring color, so Black and White Logo
changes only by its Noise value), name `ea3f81d9c3` as the base of the
measurements, and say that the gradient-border test sets Noise 15
because at Noise 8 its borders stray 0.92 px against a 0.9 px limit.
2026-11-15 09:01:14 -08:00
dotCooCoo 65b2129138 Live Paint: livePaint.strokeEdge refuses a through id that is not one of the group's edges
`through` now takes only the ids of the group's edges, each once: a face's
id, an unknown id, another group's edge or an edge given twice is an error
and changes nothing. A hidden edge in it is still skipped by the join. For
a double-click the Bucket passes only edges of the group, each once, so an
earlier click that filled a face whose fill was the edge's stroke paint
(Paint Fills and Paint Strokes both on) no longer sends that face.

The Bucket finds the faces a fill drag crossed among those whose bounds
meet the drag's bounds only.

A canvas test covers the middle-button press and the Space-held press
between two Bucket clicks. The progress-doc line lists the new tests, and
docs/mcp.md says which edges the tool passes in `through`.

Follows #7875.
2026-11-15 09:00:15 -08:00
BFlat a391dedfe5 Merge pull request #7875 from dotCooCoo/fix/live-paint-bucket-click-history
Live Paint: Bucket double-click and triple-click match the paint from before a drag, a view-tool press or a joined edge
2026-11-15 23:56:28 +07:00
BFlat cf34cf8ed0 Merge pull request #7829 from dotCooCoo/fix/shadow-validation-builds-its-shadow-geometry
3D: shadow validation casts from the solids it checks
2026-11-15 23:56:19 +07:00
dotCooCoo 24867f7827 Paste: legend labels in a pie's wedges follow wedges that take the document's swatch
When a pasted pie's wedge links a global swatch that the document gives
another color (swatchConflict "merge", the default), the wedge takes the
document's color. Its legend label kept the contrast it had in the copy,
so a wedge that turned dark could show a black label, and one that
turned light a white label, until the pie was drawn again.

Pasting now reads which wedges show a dark fill before the copy is
linked to the document's swatches. A pie whose wedges change darkness
gets the legend label contrast a redraw sets: white on a dark wedge,
black on a light one. Pies whose legend labels have a fill of their own
keep it. This applies to every paste command, Paste without Formatting
included, and to pies inside opacity masks.
2026-11-15 08:53:31 -08:00