Commit Graph
8105 Commits
Author SHA1 Message Date
HassanKhan 8796b773ec PDF import: a stroke pass matches only glyphs filled since its last boundary (#8543)
Answers the second CodeRabbit review on #8549.

- A stroke that goes over no filled glyph (stroked type of its own) and
  the start and end of an ActualText span now end the stroke pass
  (Builder::end_fills): the held strokes are matched, the parked lines
  finished and the open line's fills closed, so a later stroke can't go
  over an earlier fill and a later span keeps its own replacement text.
- ActualText fills are ordinary entries in the line's fill list, and
  span strokes are held and matched in replay order like any other, so
  an A/B/A TJ in a span strokes the replacement. The actual_fills map,
  stroke_parked and has_actual_fill are gone.
- Past MAX_HELD, the held strokes are matched to the first run of
  glyphs filled one right after another that they go over
  (Builder::replayed), with bounded work, instead of each to its first
  match, which could reach an earlier operator's fill.
- Docs state that past 64 lines in one operator each part stays a
  filled object and a stroked one.
2026-11-18 14:46:42 +05:00
dotCooCoo e26598d11c Merge main into feat/bleed-coverage-warning 2026-11-18 01:43:11 -08:00
dotCooCoo ca5f8ae115 Merge main into fix/i18n-drop-old-control-characters-rows 2026-11-18 01:42:17 -08:00
dotCooCoo e2f68da7fb Docs: Slices line names Type among the categories with sentences
The Slices line in the progress list now names Type with the other
categories that have sentences, and the UI chrome row cites #8360.
2026-11-18 01:40:42 -08:00
dotCooCoo cf3e47d513 Align: Align to Key Object names the Artboard tool when that blocks it
- With the Artboard tool chosen, align.toKeyObject fails with "Align to
  Key Object isn't available with the Artboard tool" instead of "no key
  object": the selected objects can still have a key in that state. The
  message has a row in every catalog that has "no key object".
- Align to Key Object is off in Object › Align and the Align panel when
  the topmost selected object is inside another selected object, the
  case where choosing it already failed.
- The align.toSelection params text says the selected objects keep
  their key with the Artboard tool chosen; ui_catalog.rs regenerated.
- A test pins Align to Key Object with a key anchor: checked, the menu
  name kept, and the key anchor kept.
2026-11-18 01:40:34 -08:00
dotCooCoo 18a7f7b84b Dimension tool: a dimension of the same points lines up too
The level a new dimension line lands on now comes from the dimension
lines in the document before the dimension's first preview, so its own
preview is never a level. A dimension drawn earlier between the same two
points now acts as a level as well; before, every dimension of those
points was skipped.

- Of two lines on one level, a line the pointer lies across wins over a
  line whose end is nearer the pointer.
- A dropped press while placing removes the level guide with the
  preview.
- The reach uses the Smart Guides snapping tolerance helper.
- docs/dimensions.md says the rule applies to a dimension anywhere in
  the document.
- The tests are split by behavior, with new tests for the same points,
  pointer moves in small steps, the guide after a dropped press and
  with Alignment Guides off, and the tie-break.
2026-11-18 01:40:21 -08:00
dotCooCoo 405490a52a Pen: the rubber band after a smooth anchor is the curve a click adds
The preview segment from an anchor with an outgoing handle was drawn as a
quadratic curve through that handle, while a click appends a corner
anchor, which makes the cubic curve that leaves along the handle and
arrives without one. The segment changed shape when the anchor went
down. The rubber band now draws that cubic curve.

Part of #8296.
2026-11-18 01:39:59 -08:00
dotCooCoo 348f098b5f Docs: keep the list of categories that have sentences, with Slices added 2026-11-18 01:34:11 -08:00
dotCooCoo b55dcdfbda Merge main into feat/save-for-web-shift-color 2026-11-18 01:32:40 -08:00
dotCooCoo edeb24b113 Recolor Artwork: OK keeps a color group's gradient and pattern swatches
recolor.apply with `group` rewrote the group by place: the new colors went
to its swatches in order, so a gradient, pattern or None swatch in the group
took a color or was removed, at OK and in the live preview.

The group's colors, from the rows or from `groupColors`, now go to its color
swatches in order, and every other swatch keeps its place and its paint.
`groupColors` counts the color swatches only, as the dialog already does
when it lists a group's colors. swatch.editGroup is unchanged.
2026-11-18 01:30:36 -08:00
dotCooCoo 7d3f7d1fa1 MCP: transform refuses a mistyped reflect, copy or origin before any step
`transform` read `reflect` with `as_str`, `copy` with `as_bool` and
passed `origin` through unchecked. A `reflect` of `42` or `true`
skipped the reflect step and reported success for the steps before it,
a `copy` of `"yes"` transformed the original instead of a copy, and an
`origin` that was not two numbers fell back to the selection centre.

The handler now checks all three before it selects `ids` or runs a
step, and returns an error that names the argument. A null value of
any of the three is left out. The tool description and the
`transform` row in docs/mcp.md say so.

Fixes #6448
2026-11-18 01:27:19 -08:00
dotCooCoo 0cfb51164b Merge main into fix/native-panel-command-geometry 2026-11-18 01:25:53 -08:00
bflatastic ca187dfcbf Merge main into #8424 2026-11-18 16:25:39 +07:00
dotCooCoo cd5d611196 Merge main into feat/toast-messages 2026-11-18 01:21:20 -08:00
dotCooCoo c1cb3eabfe Merge main into feat/pressure-sensitive-brush-library 2026-11-18 01:21:18 -08:00
dotCooCoo 49177e618a Merge main into fix/transform-panel-shear-range 2026-11-18 01:16:41 -08:00
dotCooCoo 495e968729 Docs: Clear Actions keeps sets only when sets were added, removed or reordered
The question names the sets by id and order, so a set whose actions
changed after the question opened is still deleted.
2026-11-18 01:06:21 -08:00
dotCooCoo d9ba46255f Merge main into feat/prefs-descriptions-slices 2026-11-18 01:06:21 -08:00
dotCooCoo 1582f52c19 Command Palette: docs place typo matches above description-only matches
The Command Palette entry said a result matched through a typo comes
after every result the query matches without one. A result the query
matches only through its description ranks below a typo match, as
a_description_match_ranks_below_a_typo checks. The sentence now limits
the comparison to name, menu path and id matches and states that typo
matches come before description-only matches.
2026-11-18 01:06:18 -08:00
dotCooCoo 231cce70ad Merge main into feat/arrows-brush-library 2026-11-18 01:05:40 -08:00
dotCooCoo 8c818cda86 Merge main into feat/artboard-edge-button-tooltips 2026-11-18 01:02:11 -08:00
dotCooCoo bb2fa4629e Merge main into feat/palette-home-callout 2026-11-18 01:01:30 -08:00
ruchirguitar fbff89f475 Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 14:10:12 +05:30
yoriswind a9b4015e40 Merge pinned current main for the confirmed #7065 bounds repair 2026-11-18 00:37:17 -08:00
BFlat 72190d6998 Merge pull request #8204 from dotCooCoo/feat/palette-row-homes
Command Palette: rows show the kind of item and where it lives
2026-11-18 15:24:07 +07:00
BFlat 232eb597d3 Merge pull request #8481 from dotCooCoo/fix/shear-angle-range
Shear: angles from -359 to 359 shear by their own tangent instead of stopping at 89
2026-11-18 15:23:58 +07:00
BFlat abb2503bc9 Merge pull request #8536 from dotCooCoo/fix/dimension-arrow-previews
Dimension: Arrow Style shows each style's arrowhead drawn before its name
2026-11-18 15:23:50 +07:00
HassanKhan b3fd70bc52 Merge remote-tracking branch 'upstream/main' into fix-8543-pdf-tj-fill-stroke
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 13:12:26 +05:00
BFlat 16920418f6 Merge pull request #8101 from dotCooCoo/feat/plugin-budget-preference
Plug-ins: Preferences set the instruction budget for object-filter runs (Normal or Large)
2026-11-18 15:10:33 +07:00
BFlat 9cc2aa7a36 Merge pull request #8409 from dotCooCoo/feat/graphic-styles-alt-drag-style-onto-style
Graphic Styles: a style dropped on another with Alt replaces that style
2026-11-18 15:10:22 +07:00
BFlat 6e1e6d579e Merge pull request #8542 from Hassan1305/feat-3644-pdf-lang
PDF export: write the document language as the catalog's /Lang
2026-11-18 15:10:05 +07:00
BFlat e3a9bca2dc Merge pull request #8541 from dotCooCoo/fix/marquee-painted-shapes
Symbols: a marquee selects where an instance's fill and stroke effects paint
2026-11-18 15:09:57 +07:00
HassanKhan e318f6cc67 PDF import: match a stroke pass to the glyphs filled last, in fill order (#8543)
A TJ can draw the same glyph at the same place twice (its kerning goes
back), so a stroke can't be matched to a filled glyph as it arrives:
[(A) -3500 (B) 4834 (A)] TJ put the first A's stroke on the last A and
left the earlier parts unstroked. Strokes over filled glyphs are now
held until their stroke pass ends and then matched to the glyphs filled
last, in the order they were filled, so each copy is stroked where it
was filled, while a glyph filled and stroked where one filled before
stands still strokes only the newest. At most 4096 strokes are held.

Docs: ordinary text gives one filled and stroked object per part; in an
ActualText span it stays one replacement object on the first glyph's
line and style.
2026-11-18 13:02:58 +05:00
BFlat 55a82b4ff8 Merge pull request #8457 from dotCooCoo/feat/symbols-panel-options-button
Symbols: the bottom bar's Symbol Options button edits the current symbol
2026-11-18 14:30:37 +07:00
HassanKhan 851c7cb372 PDF import: a TJ whose kerning starts a new line comes in filled and stroked (#8543)
The reader fills every glyph of a text-showing operator, then strokes
them. When a TJ's kerning started a new line part way through, the
first line was finished before the stroke pass came back to it, so its
strokes found no filled glyph and came in as stroke-only type over
fill-only type.

A line a glyph doesn't fit is now parked while a stroke may still be
drawn over it, and a stroke-only glyph is matched against the open line
and then the parked lines, newest first. Parked lines are finished
oldest first before the open line, so drawing order is kept, and at
most 64 are parked.
2026-11-18 12:23:10 +05:00
ruchirguitar be45c89ef4 Merge remote-tracking branch 'upstream/main' into docs/8387-stale-gap-entries
# Conflicts:
#	docs/target-app-parity.md
2026-11-18 12:52:17 +05:30
bflatastic 6c337442d9 Merge main into #8424 2026-11-18 14:04:27 +07:00
dotCooCoo e2d7976794 Merge main into fix/shear-angle-range 2026-11-17 22:56:09 -08:00
dotCooCoo 8905b4361a Docs: name the engine test that covers the Arrow Style arrowheads 2026-11-17 22:53:59 -08:00
BFlat ada472586e Merge pull request #8135 from dotCooCoo/fix/confined-exporter-and-placed-pdf-paths
MCP: confined exporter plug-ins and unreadable linked files keep paths outside the read roots
2026-11-18 13:53:34 +07:00
BFlat adcb7293d2 Merge pull request #8404 from dotCooCoo/fix/font-menu-document-brush-text
Type: the font menu's Document filter counts type in scatter brushes
2026-11-18 13:53:24 +07:00
BFlat 56bc5fe7cb Merge pull request #8515 from dotCooCoo/perf/eps-token-search-in-place
EPS import: token and search read a string in place instead of copying it
2026-11-18 13:53:14 +07:00
BFlat 1df314f891 Merge pull request #8518 from dotCooCoo/perf/find-font-list-once
Find Font: the document's font list is worked out once per document version
2026-11-18 13:53:05 +07:00
BFlat 84c21a8b36 Merge pull request #8519 from dotCooCoo/perf/proxy-mixed-index-paths
Color: the Fill and Stroke proxies find the selected objects through the id cache
2026-11-18 13:52:56 +07:00
dotCooCoo c7c1acc63b Merge main into feat/arrows-brush-library 2026-11-17 22:49:31 -08:00
dotCooCoo b741eb907e Merge main into feat/palette-home-callout 2026-11-17 22:49:23 -08:00
HassanKhan 0865242d2f PDF export: write the document language as the catalog's /Lang (#3644)
The writer passed no language to craft-pdf, so exported and printed
PDFs had no /Lang and accessibility checkers failed primary-language.
Writer::new now passes the BCP 47 tag of the Document Setup language
(new vectorcraft_doc::setup::language_tag, en-US by default) through
write::Writer::new_with_language, which writes the catalog's /Lang and
the XMP dc:language. A language with no tag writes none. /MarkInfo is
left for tagged PDF (#3643).
2026-11-18 11:46:27 +05:00
dotCooCoo 314e78c4ce Merge main into feat/actions-clear-actions 2026-11-17 22:44:16 -08:00
dotCooCoo bec193c6bc Merge main into feat/polygon-side-widget 2026-11-17 22:44:14 -08:00
dotCooCoo c6b657b96f Merge main into feat/editable-flares 2026-11-17 22:42:31 -08:00