Commit Graph
675 Commits
Author SHA1 Message Date
BFlat 4df756cc9a Merge pull request #8719 from Hassan1305/feat-8363-trim-view-guides
View: Trim View hides the guides and the grid while it is on (#8363)
2026-11-20 05:38:32 +07:00
HassanKhan 60bcf0b274 Merge storytold/main (759cb5f3b4) into feat-8363-trim-view-guides
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 02:43:08 +05:00
BFlat 67c9c0ef35 Merge pull request #8761 from dotCooCoo/feat/retype-area-text
Retype: stacked lines become one area type object
2026-11-20 04:42:23 +07:00
BFlat 759cb5f3b4 Merge pull request #8760 from dotCooCoo/feat/retype-tracking
Retype: evenly spaced glyphs keep their spacing as tracking
2026-11-20 04:31:14 +07:00
BFlat 36ee745791 Merge pull request #8774 from yoriswind/codex/8655-scissors-cut-preview
Scissors: preview the actual cut point
2026-11-20 04:25:33 +07:00
HassanKhan 867a19a271 Merge storytold/main (e9a62670a7) into feat-8363-trim-view-guides
# Conflicts:
#	docs/roadmap.md
2026-11-20 01:18:16 +05:00
HassanKhan a7d8941c10 Merge storytold/main (6e0e953f92) into feat-8363-trim-view-guides
# Conflicts:
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 01:11:41 +05:00
yoriswind 36bde202eb Scissors: preview the actual cut point
Show the native point marker at the existing cut target, respecting consumer endpoint eligibility/canonicalization and current snapping/selection. Keep cut commands unchanged.

Closes #8655.
2026-11-19 20:00:59 +00:00
bflatastic 81f7884d4d Merge main into #8365
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 02:59:43 +07:00
bflatastic 8acd638307 Merge main into #8755
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 02:47:35 +07:00
HassanKhan 1cb320d4a0 Merge storytold/main (770fbd27ce) into feat-8363-trim-view-guides
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 23:47:12 +05:00
dotCooCoo cdcaab9301 Retype: stacked lines become one area type object
Part of #4934. type.retype set each line of outlined text as its own
point type object, even when the lines stack as one paragraph.

- Opaque, Normal lines with a solid fill or none and no stroke that
  follow each other in paint order, with the same group, paint, font,
  size, turn and tracking, each the same leading (0.25 to 3 times the
  size) below the one before and lined up at their starts, ends or
  centers, become one area type object. Its leading is Auto when Auto
  puts the last baseline in place, else the mean distance between the
  baselines, and its alignment is left, right or center. Its frame is
  Convert To Area Type's, now shared through typemenu::point_to_area.
  An untracked line of one or two glyphs takes the others' tracking.
- Every object is laid out and compared with the outlines first: when
  area type would move a glyph the lines stay multi-line point type.
  When that also moves a glyph, the block ends at that glyph's line and
  the lines after it join again. Type whose bounds would reach past the
  coordinate limit stays apart.
- Text Wrap objects above new area type are taken into account; when
  checking them on the changed layers would copy more than 2,000,000
  anchors, subpaths and shapes, the lines stay multi-line point type.
  text::wrap_copy_units counts that work without copying the outlines,
  and wrap_work no longer copies them to count.
- The result's fonts entries add leading and area, and texts join an
  object's lines with line breaks.

These rules are VectorCraft's own. Docs: docs/mcp.md (Retype several
lines), docs/type-parity.md (Retype row), docs/target-app-parity.md,
docs/roadmap.md (M7 row).
2026-11-19 10:22:49 -08:00
ruchirguitar d9e2947678 Graphic Styles panel: address review comments and format code 2026-11-19 23:40:12 +05:30
HassanKhan 3092cac3fb Docs: the web canvas's partial redraw names when it still renders whole (#8688) 2026-11-19 22:29:22 +05:00
HassanKhan 10516658bf Canvas (web): edits once the view is still don't put off its render
still_wait started its STILL_SECS wait again whenever the cache key
asked for changed, and the key holds the document's revision. After a
heavy document's view moved and stopped while a drag went on editing
it, each edit was drawn into the frame shown and restarted the wait,
so the canvas never rendered whole for the view while the edits went
on. The wait now starts again only when the document or the view
(zoom, centre, size, pixel density, rotation, Pixel Preview's pixels)
changes. The checks that render at once when more than the view
differs from the frame shown are unchanged.

Refs #8688
2026-11-19 22:14:03 +05:00
HassanKhan e6fd713cfe Merge storytold/main (4170a620a2) into feat-8363-trim-view-guides
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 21:45:33 +05:00
HassanKhan 18df506f0d Merge remote-tracking branch 'upstream/main' into fix-8688-web-pan-reuse
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 21:44:19 +05:00
HassanKhan 4c5ba5516d Canvas (web): an edit while a heavy document's view moves draws only what it changed
In the web build (no render worker), while the view of a document whose
last render took more than 8 ms moves, the canvas draws the last frame
moved with the view and renders once the view is still. An edit in
that time rendered the whole canvas at the new view, every frame: a
tool drag held at an edge of the canvas (#8551) or a wheel scroll during
a drag did that on each step.

Such an edit is now drawn into the frame shown, at the view it was
rendered for: only the part the edit changed (changed_pixels). The
frame stays drawn reprojected and renders whole once the view has been
still for STILL_SECS, as for a view change without an edit. An edit
that changes more than half of the frame, or one while more than the
view and the document change, renders whole at once as before. The
partial redraw of draw_frame moves into draw_changed, shared by both.

Fixes #8688
2026-11-19 21:30:16 +05:00
dotCooCoo 45c6fb40cb Retype: evenly spaced glyphs keep their spacing as tracking
Part of #4934. type.retype set a line spaced by tracking as one point
type object per glyph, since untracked type does not draw the glyphs
where the outlines are.

- A line of three or more glyphs that most gaps space evenly apart now
  takes that spacing as its tracking (1/1000 em, tried rounded to a
  whole number within 0.05, then as measured). The font's advances and
  pair kerning are left out of the measure, and word spaces are counted
  after the tracking. When untracked type also draws the line, the line
  stays untracked if the tracking is under one unit or the tracked type
  would drop a gap one space wide, so "a b c" stays "a b c". Negative
  tracking is set only on opaque, Normal lines with a solid fill or
  none and no stroke.
- Where a line splits, the glyphs after the split take the tracking
  their own gaps give, and a tracked line whose type misplaces its
  first glyphs is set again without tracking. The measure has a layout
  budget, so long or widely spaced lines are bounded.
- The result's fonts entries add tracking.

These rules are VectorCraft's own. Docs: docs/mcp.md (Retype tracking),
docs/type-parity.md (Retype row), docs/target-app-parity.md,
docs/roadmap.md (M7 row).
2026-11-19 07:53:13 -08:00
dotCooCoo 7179a7ebe2 Merge main into feat/decorative-brush-library 2026-11-19 07:42:27 -08:00
HassanKhan fb7d601fea View: no guide from the rulers while Trim View is on (#8363)
Trim View hides the guides, so a guide dragged or double-clicked out of a
ruler while it is on was made but could not be seen, and the drag turned
the stored Show Guides choice on. Now neither makes a guide: no preview
line, no undo step, the stored choice is left alone, and the status line
says why. A drag already going when Trim View turns on ends as a release
off the canvas does.
2026-11-19 19:42:22 +05:00
BFlat f0d97f5e45 Merge pull request #8330 from dotCooCoo/feat/engraving-brush-library
Brushes: Add original Engraving library
2026-11-19 21:20:18 +07:00
dotCooCoo 51ab54ac2b Merge main into feat/decorative-brush-library 2026-11-19 05:15:47 -08:00
dotCooCoo 3e0963814f Merge main into feat/engraving-brush-library 2026-11-19 05:06:49 -08:00
yoriswind 943f28989a Merge pinned main preserving Image Trace sampler ownership 2026-11-19 04:34:33 -08:00
HassanKhan 40f1201f1e View: Trim View hides the guides and the grid while it is on (#8363)
Trim View only clipped the art to the artboards: ruler guides, paths
made into guides and the grid still drew across the pasteboard. Public
forum threads describe Trim View hiding them, with Show Guides and Show
Grid unavailable until it is off.

ViewFlags::guides_shown() and grid_shown() now say whether they draw,
and the canvas, the tiled panes, the art raster, hit testing and the
tools' snapping read them. Show/Hide Guides and Show/Hide Grid are
greyed out while Trim View is on (menu bar, canvas context menu,
Properties) and refuse to run; the stored choices are kept, so they
come back as they were. A selected guide path is deselected when Trim
View hides it, as Hide Guides does. The rulers stay.

Fixes #8363
2026-11-19 15:36:23 +05:00
bflatastic ccdad44caf Merge main into #8554
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 16:05:01 +07:00
bflatastic 87b64100ba Merge main into #8546
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:35:31 +07:00
yoriswind f4a919e40d Merge main 2c1 with Image Trace qualified-click and temporary-return repairs 2026-11-19 08:34:26 +00:00
bflatastic 615bc1e0d3 Merge main into #7373
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:34:18 +07:00
bflatastic 101f3ec2aa Merge main into #8653
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:28:09 +07:00
bflatastic a82a968b25 Merge main into #8645
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:27:12 +07:00
bflatastic b9c3215a94 Merge main into #8292
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:26:08 +07:00
bflatastic be7fb767de Merge main into #8286
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:25:23 +07:00
bflatastic 618fb1416d Merge main into #8201
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:24:38 +07:00
bflatastic 06706b1660 Merge main into #8122
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:23:56 +07:00
bflatastic c4d20e2c18 Merge main into #7992
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:22:54 +07:00
bflatastic 7dfe58e09a Merge main into #7822
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:22:11 +07:00
bflatastic 08b01d714c Merge main into #7652
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:20:44 +07:00
bflatastic e4169d7412 Merge main into #7515
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:19:43 +07:00
HassanKhan 44f04bd5ae Merge remote-tracking branch 'upstream/main' into fix-8549-lost-reset
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 13:11:51 +05:00
bflatastic feb024d8a7 Merge main into #8347
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
#	docs/gaps.md
2026-11-19 15:04:59 +07:00
bflatastic c528513911 Merge main into #6295
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 14:50:17 +07:00
BFlat eef7bd23b4 Merge pull request #6713 from yoriswind/codex/6470-scissors-shared-snap
Fix #6470: use shared drawing snaps for Scissors
2026-11-19 14:46:28 +07:00
BFlat 765fe34ee0 Merge pull request #6593 from yoriswind/codex/6543-index-thread-overlay-selection
M5: index selection lookups for text thread overlays
2026-11-19 14:46:18 +07:00
jayzed80 b20f1ffd2f fix(ui): a hovered dimmed tool in the All Tools drawer keeps its text readable (#8294)
A dimmed row's hover painted the lighter hover fill, which left its dim
text at 4.3:1 in the default Charcoal theme and at 4.1:1 in Classic Dark,
under the 4.5:1 the dim colour is drawn for. A dimmed row can't be dragged
in again, so its hover is now a recess in the panel's darker fill, which
keeps 4.5:1 or better in every colour scheme and brightness.

The docs now give the measured range: 4.5:1 or better on the panel in every
Modern brightness and in Classic's lightest and darkest settings, 5.4:1 in
the default theme, and Classic's own dim text at 3.55:1 at its middle-dark
brightness, which the drawer draws as that palette does.

Tests: a_hovered_dimmed_row_stays_readable (new) checks the hover fill and
its contrast in both schemes and all four brightnesses;
tools_in_the_toolbar_are_dimmed_in_the_drawer now covers every palette too.
2026-11-19 06:50:50 +00:00
HassanKhan 6ec76d7513 Canvas: edge scrolling arms from the press and from every move of a frame
Review follow-up for #8551:
- The press position is where the primary button went down, not where
  the frame's input left the pointer: a press and a move to the edge in
  one input batch has dragged, and holding still there now scrolls.
- Any move of a frame that goes 3 points from the press arms edge
  scrolling, not only the frame's last position: a move away and back
  within one frame still dragged.
- docs/roadmap.md: the M11 row, status line and revision history mention
  the edge scrolling; the View & navigation row points to its evidence.
2026-11-19 11:41:31 +05:00
yoriswind 0471818814 Merge current main while preserving PR #6713 2026-11-19 06:32:22 +00:00
yoriswind 28ccda8dd5 Merge current main while preserving PR #8122 2026-11-19 06:31:27 +00:00
yoriswind a346c381e4 Merge main into in-window menu access keys 2026-11-18 22:30:44 -08:00