Commit Graph
2004 Commits
Author SHA1 Message Date
BFlat 74af4fdc5c Merge pull request #8008 from dotCooCoo/fix/spelling-continues-past-cap
Check Spelling: Ignore and Change All reach every word past the check limit
2026-11-16 10:34:56 +07:00
BFlat f9aa592ffd Merge pull request #8011 from dotCooCoo/fix/symbol-pixel-grid-followups
Symbols: Align to Pixel Grid moves a snapped instance's linked mask and leaves editing layers to their symbol
2026-11-16 10:34:48 +07:00
BFlat 4512fab69b Merge pull request #7412 from dotCooCoo/fix/graph-axes-group-edits-kept
Graphs: Appearance edits given the Axes or Legend group are kept
2026-11-16 09:32:35 +07:00
BFlat cfb980bb9d Merge pull request #7828 from dotCooCoo/fix/trace-seam-fills-clip
Image Trace: seam fills are clipped to the image and skip live shapes
2026-11-16 09:32:19 +07:00
BFlat 02b1be39e3 Merge pull request #7980 from dotCooCoo/fix/transform-copies-raster-effects-each
Effects: Transform effect copies of type, images and symbol instances each carry the raster effects listed before it
2026-11-16 09:32:08 +07:00
BFlat 783f09d3b2 Merge pull request #8004 from dotCooCoo/fix/hit-test-follows-geometry-effects
Selection: clicks and marquees follow an object's own geometry effects
2026-11-16 09:31:55 +07:00
BFlat 83964730c1 Merge pull request #7833 from dotCooCoo/fix/pen-input-params-pressure-tilt-rotation
Pen input: out-of-range pressure, tilt, rotation and size values are refused
2026-11-16 09:31:46 +07:00
BFlat 06687770e8 Merge pull request #7999 from datatimp/fix/7975-new-type-black
Type: new type starts in [Normal Character Style]'s fill, not the current fill (#7975)
2026-11-16 09:30:48 +07:00
dotCooCoo 0d4d4399fc Check Spelling: text.spelling.change leaves words that already read as the replacement
A listed word whose text already equals `to` is now left out of the edit.
When every listed word does, the command makes no edit and no undo step,
so the redo history is kept, and `changed` is 0.
2026-11-15 17:51:22 -08:00
dotCooCoo 2a973becbc Symbols: Align to Pixel Grid leaves symbol editing layers to their symbol
- An instance of a pixel-aligned symbol on another symbol's editing layer is part of
  that symbol's art, so it is no longer snapped and written into that art.
- Turning Align to Pixel Grid on for the symbol being edited now writes its art back
  and shows it snapped on the editing layer at once, instead of after the next edit.
2026-11-15 17:17:28 -08:00
dotCooCoo 3d0900bd77 Symbols: a symbol instance snapped to the pixel grid takes its linked mask along
Snapping an instance of a pixel-aligned symbol to whole points set its transform
directly, so the art of a linked opacity mask stayed at the old fractional position
and shifted against the artwork. The instance now moves as any move moves it, and
the art of an unlinked mask stays where it is.
2026-11-15 17:17:28 -08:00
BFlat abb4af9b87 Merge pull request #7965 from dotCooCoo/fix/export-3d-object-skips-flat-art
3D and Materials: Export 3D Object leaves objects without a 3D effect out in the command
2026-11-16 08:13:27 +07:00
BFlat 2f255f5f99 Merge pull request #7871 from dotCooCoo/feat/3d-classic-black-overprint
3D (Classic): the Black Overprint shading color shades with overprinting black over the fill
2026-11-16 08:13:18 +07:00
BFlat 796e37bdb1 Merge pull request #7987 from dotCooCoo/fix/clipboard-flavours-confined-svg
Clipboard: clipboard.flavours leaves out an SVG withheld from a confined caller
2026-11-16 08:10:45 +07:00
dotCooCoo b1b5e86e57 Image Trace: Outline view leaves out renamed seam fills
Outline views left out an Abutting trace's seam fills only while their
clip group kept the name "Seam Fills". Renamed, the group drew its
clipping box and, on a stretched image, the outlines of its filled
seam bands. The group is now also left out when it is still the lowest
traced shape, where the trace puts it.

The outline-view test samples inside the seam band beside the shared
edge on the stretched image, and checks that renaming the group leaves
the view unchanged.
2026-11-15 16:56:01 -08:00
dotCooCoo ca822f41f7 Check Spelling: Ignore and Change All reach every word past the check limit
text.spelling.check listed at most 10,000 words and always started each
type object at its first byte, so the dialog could not go on inside an
object. With 10,001 unknown words in one object, Ignore ended the check
after the first 10,000. Change All stopped when a round changed nothing,
so a target after 10,000 other unknown words was never reached. Follow-up
to #7744; part of #4936.

- text.spelling.check takes from {id, byte}, which goes on from that
  byte of that type object and then the objects after it, and max
  (1 to 10,000). The paragraphs before the one that holds from are not
  checked again.
- The dialog keeps the words a check lists after the one shown, and
  Ignore and Ignore All take the next word from them. A new check goes
  on from the last word listed once they run out. Every word is reached,
  in a selected group's type too.
- text.spelling.change {to, words} replaces every listed word in one
  undo step and lays each object out once. Change All finds every
  occurrence with one check after another, then changes them with it.
- Change and Change All to the word shown make no edit and no undo step.
- When another command changes the document or the custom dictionary
  while the dialog is open, the next step checks the scope again from
  its start. An ignored occurrence stays skipped while the same word is
  at the same bytes.
2026-11-15 16:34:23 -08:00
dotCooCoo 46e5ab21e0 Merge main into fix/pen-input-params-pressure-tilt-rotation 2026-11-15 16:06:17 -08:00
BFlat cad4bb0c6e Merge pull request #7834 from dotCooCoo/fix/the-liquify-warning-s-tool-name-and-object-kinds
i18n: Liquify's skip warning shows its tool and object kinds in the interface language
2026-11-16 06:56:45 +07:00
BFlat 3e615f7c67 Merge pull request #7972 from dotCooCoo/feat/glyphs-show-opentype-categories
Glyphs: the Show menu lists the font's OpenType glyph categories
2026-11-16 06:56:16 +07:00
BFlat 89ebbd754a Merge pull request #7898 from dotCooCoo/fix/live-paint-strokeedge-through-edges
Live Paint: livePaint.strokeEdge refuses a through id that is not one of the group's edges
2026-11-16 06:56:07 +07:00
BFlat 75dc7dcd20 Merge pull request #7964 from dotCooCoo/feat/ellipse-anchor-count
Ellipse: the click dialog sets how many anchors the ellipse has
2026-11-16 06:55:58 +07:00
BFlat 47dd56afbb Merge pull request #7962 from dotCooCoo/feat/symbol-align-to-pixel-grid
Symbols: Symbol Options › Align to Pixel Grid keeps a symbol's instances on the pixel grid
2026-11-16 06:55:41 +07:00
BFlat bf7fefd89e Merge pull request #7954 from dotCooCoo/feat/file-info-templates
File Info: the menu saves, imports and lists metadata templates
2026-11-16 06:55:33 +07:00
BFlat 6a3c9cfc8b Merge pull request #7957 from dotCooCoo/feat/eraser-alt-drag-marquee
Eraser: an Alt-drag erases everything inside a marquee, a square with Shift
2026-11-16 06:55:17 +07:00
BFlat 009ba234d7 Merge pull request #7958 from dotCooCoo/fix/recolor-randomize-skips-empty-rows
Recolor Artwork: Randomize leaves rows with no current colors out
2026-11-16 06:54:48 +07:00
dotCooCoo 963c06620e Selection: clicks and marquees follow an object's own geometry effects
A click or a marquee with the selection tools now finds a path or compound
path where its live geometry effects draw it, the copies a Transform effect
makes included, and not where its own geometry no longer paints.

- The engine registers its Use Preview Bounds evaluator with
  `vectorcraft_doc::hit::set_drawn_art`. Hit testing keeps the evaluated art
  per object, evaluates it again when the object, the document's symbols,
  patterns, swatches or live inputs change, and widens each object's cull box
  by the art its effects draw.
- Groups and layers with geometry effects or fills and strokes of their own
  are hit through their evaluated art. Clicks, Select Behind, the locked
  objects under the pointer and marquees map the art back to the members it
  is drawn from, at the depth each tool selects, and Direct Selection takes a
  group whose own paint the art draws.
- Clipping paths keep their own geometry, except that a clip group's own
  effect moves where its mask outline is taken. An isolated clip group's
  members are marqueed by their own geometry, as clicks take them. A clip
  group whose evaluated art holds only its clipping path is tested member by
  member.
- Outline view uses the plain paths, and a layer with Preview off is clicked
  in outline. Intertwine groups keep their woven hit order.

Docs: docs/target-app-parity.md.
2026-11-15 15:50:59 -08:00
datatimp 2ff3c6e506 Type: new type starts in [Normal Character Style]'s fill, not the current fill (#7975) 2026-11-15 18:23:16 -05:00
dotCooCoo f3d4b0b726 Merge branch 'fix/trace-seam-fills-clip' of github.com:dotCooCoo/vectorcraft into fix/trace-seam-fills-clip 2026-11-15 14:41:19 -08:00
dotCooCoo dbf0927385 Image Trace: the seam fills' clip stays within the traced paths' box
The Seam Fills group's clipping path was the image's box. A group with a
clip is measured by its clipping path, so on a trace with transparent or
ignored margins the expanded trace measured as the whole image, and
selection, alignment and resizing used that box. The clipping path is now
the image's box cut to the box of the traced paths: on a turned image it
has up to eight corners, and the anchor limit counts eight for it.

docs/mcp.md, the params text and the progress line describe the clip.
2026-11-15 14:31:51 -08:00
dotCooCoo c207c08edb Image Trace: seam strokes on images scaled alike, and canceling while outlining
Whether a trace's seam fills are strokes or outlines now depends on the
image object's own transform. A raster decoded scaled down to fit has its
two sides rounded separately, so it was scaled a little differently across
and down and every such trace got outlines. The stroke width now uses the
smaller scale of the raster, so a stroke still covers at most 0.75 pixels
on each side of its edge. The check for an even scale compares the axes'
lengths and angle directly, without a square root of a small difference.

Outlining the seam strokes now stops when the trace is canceled, checking
every 64 strokes. A stroke that reaches the make step without an outline
on a stretched image is left out rather than outlined outside the anchor
limit.

docs/mcp.md: the group clips the strokes or outlines.
2026-11-15 14:02:29 -08:00
dotCooCoo 2da339f850 Merge main into fix/trace-seam-fills-clip 2026-11-15 14:01:05 -08:00
dotCooCoo 946dcb5910 Merge main into feat/3d-classic-black-overprint 2026-11-15 13:43:05 -08:00
dotCooCoo 886c7bef8c Merge main into fix/graph-axes-group-edits-kept 2026-11-15 13:41:56 -08:00
dotCooCoo 7da8b8fc6c Merge main into fix/clipboard-flavours-confined-svg 2026-11-15 13:36:15 -08:00
BFlat aeeb4e8b1c Merge pull request #7895 from dotCooCoo/fix/pasted-pie-labels-follow-merged-swatch
Paste: legend labels in a pie's wedges follow wedges that take the document's swatch
2026-11-16 04:31:18 +07:00
BFlat 910b79119b Merge pull request #7368 from dotCooCoo/fix/graph-design-art-paint
Graphs: paint, stroke and transparency commands leave a design's art in a series out
2026-11-16 04:30:58 +07:00
BFlat 8920f24351 Merge pull request #7920 from dotCooCoo/fix/smooth-corners-dense-paths
Smooth tool: keep corners on a path cut into very many short segments
2026-11-16 04:30:41 +07:00
BFlat deabf9dab1 Merge pull request #7888 from dotCooCoo/fix/place-cursor-asks-encrypted-pdf-password
Place: the place cursor keeps an encrypted PDF and asks for its password
2026-11-16 04:29:39 +07:00
BFlat 087246a785 Merge pull request #7896 from dotCooCoo/fix/svg-image-check-follows-writer
MCP: confined SVG output checks the linked images the file draws
2026-11-16 04:29:28 +07:00
dotCooCoo e5eaf31b4d Merge main into fix/transform-copies-raster-effects-each 2026-11-15 13:29:20 -08:00
BFlat 6998fedc80 Merge pull request #7864 from dotCooCoo/feat/variables-import-entry
Variables: Import… in the panel menu reads a CSV or an XML data source
2026-11-16 04:29:11 +07:00
BFlat 628f43ce85 Merge pull request #7945 from dotCooCoo/feat/gradient-end-handle-length
Gradient tool: dragging the end handle changes only the length, Alt-drag the length and angle
2026-11-16 04:28:45 +07:00
dotCooCoo 1ead2bf809 Image Trace: seam fills on a stretched image stay within 0.75 image px of their edge
On an image stretched more one way than another, a seam stroke was as
wide as 1.5 pixels at the larger scale, so across the less stretched
direction it reached far past its edge: on a 40 x 20 image scaled 20x
across, a stroke along a horizontal edge covered 15 pixels on each
side, over transparent rows too.

On such an image, the seam fills are now each stroke's outline in image
pixels (butt caps, round joins), filled with the stroke's paint. An
image scaled alike in every direction keeps strokes. The anchor limit
counts the outlines' anchors. Outline views and Expand by color
recognize a seam fills group of filled outlines as they do one of
strokes, and Expand by color again recognizes the unclipped seam fills
group of a trace made before the seam fills were clipped.
2026-11-15 13:04:35 -08:00
dotCooCoo 0c5de2d598 Merge main into fix/transform-copies-raster-effects-each 2026-11-15 13:02:21 -08:00
dotCooCoo d8682e7e75 Effects: each copy of type, an image or a symbol instance draws the raster effects listed before its Transform effect
A Drop Shadow, glow, blur, Feather or pixel filter listed before a
Transform effect that makes copies of type, an image or a symbol instance
was drawn once under all the copies, at the object's own distances. Each
copy now carries those raster effects, as paths' copies do: scaled by the
copy's mean scale, with a Drop Shadow's offset turned, reflected and
scaled with the copy. Raster effects listed after the Transform effect
still paint once around all the copies.

Type is copied as its outlines, an image in its frame and a symbol
instance as its symbol's art. The canvas, the object's cull bounds,
export and Expand Appearance use the same art; type whose Transform
effect only moves its copies is exported as its outlines in that case.
Type and symbol instances in perspective, objects whose fill or stroke
has geometry effects of its own, and objects with a linked opacity mask
keep one set of raster effects.
2026-11-15 13:01:58 -08:00
dotCooCoo e030efa52c Clipboard: clipboard.flavours leaves out an SVG withheld from a confined caller
Under read roots, clipboard.exportSvg refuses an SVG that would name a
linked image file outside them, but clipboard.flavours still listed
image/svg+xml and the SVG markup as text/plain, and
Session::clipboard_flavours still made them. Both now take Include SVG
Code only when the SVG is not refused; PDF, PNG and a type-only copy's
text are unchanged.
2026-11-15 12:58:28 -08:00
dotCooCoo 1c95aa2b65 Glyphs: the Show menu lists the font's OpenType glyph categories
After Alternates for Current Selection, the Glyphs panel's Show menu
and panel menu list the categories the browsed font's GSUB features
give glyphs to: Ligatures, Swash, Stylistic Alternates, each stylistic
set by the font's name for it (else Set N), Small Caps, Ornaments,
Fractions and Figures. Choosing one shows that category's glyphs, the
characters first and then the glyphs no character maps. A font without
the chosen category shows Entire Font.

- text: FontFace::glyph_categories reads the single, alternate,
  multiple and ligature substitutions of each category's features,
  once per face, leaving out a substitution an earlier subtable of
  its lookup shadows, within a total glyph budget.
- engine: text.glyphCategories {family, style?} lists them.
- ui-egui: the Show menu and panel menu entries, with Ligatures,
  Ornaments and Figures rows in every catalog.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-15 12:56:14 -08:00
dotCooCoo f3c297ddea 3D and Materials: Export 3D Object leaves objects without a 3D effect out in the command
The panel's Export 3D Object button chose the objects to export in panel
code and passed their ids to assets.add3D, which on the same selection
refused every object when one had no 3D effect. Passing ids also skipped
the refusal while a part of a dynamic symbol instance's art is selected,
and a group whose 3D effect is on its fill or stroke enabled the button
and then failed.

assets.add3D without ids now leaves out the selected objects without a
3D effect it exports, a group or layer whose 3D effect is on a fill or
stroke, and an object inside another selected 3D object; a path of a
compound path counts as the compound path. Objects given in ids are
still refused. exports_three_d in vectorcraft-effects tells whether an
object has such an effect without building its meshes. The button runs
the command on the selection and is available only while a selected
object passes that check.
2026-11-15 12:38:13 -08:00
dotCooCoo 3a84466917 Symbols: Symbol Options › Align to Pixel Grid keeps a symbol's instances on the pixel grid
symbol.new and symbol.options take alignToPixelGrid (off by default),
symbol.list rows report it, and the New Symbol and Symbol Options dialogs
show the checkbox. When it is on, the horizontal and vertical straight
segments of the paths in the symbol's art, opacity mask art included,
snap to whole points (half points for an odd centered stroke) at the
symbol's natural size, and its stroke weights become whole points. Each
instance placed at that size, reflected across one axis or not, moves to
whole points and goes back to them after every move. A scaled, rotated or
sheared instance, and an instance in another symbol's art, stays where it
is. In symbol editing mode the stored art and the editing layer snap
after each edit.

Duplicate Symbol, rename, copy and paste and symbol libraries keep the
setting, and Delete Symbol removes it.

Docs: docs/mcp.md, docs/ui-parity.md.
2026-11-15 12:25:35 -08:00
dotCooCoo 02f8e55c5c Merge main into feat/file-info-templates 2026-11-15 12:21:52 -08:00