Commit Graph
5734 Commits
Author SHA1 Message Date
ruchirguitar 4fe27f830c M7/G4: retype bounds readings tried and glyphs laid out (#4934)
Readings of a shape are capped by those tried, not those kept, so a shape
whose every reading fails stops at the cap. The layout check grows a
window from each line start, doubling while the type draws the outlines,
and starts the next line at a mismatch, so a line split at every glyph
costs about twice its glyphs, not half their square; a glyph budget
leaves anything past it as outlines. A tracked line of 450 glyphs: 259 ms.
2026-11-18 19:39:40 +05:30
ruchirguitar 5e5003507e Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 19:22:41 +05:30
ruchirguitar 1cffa0b862 M7/G4: retype review: tracked letters, outline check cost, poses (#4934)
The lone-glyph rule looks at lines as the outlines lie, before the layout
check splits them, so tracked one-contour letters (L, I, T, H, E) become
type. A shape keeps every glyph and pose it fits exactly, upright first
(an L, and a turned L half round; an I upright or upside down), and the
line around it chooses; a one-glyph line may turn to another candidate
to take the next glyph.

The whole-outline check flattens the shape once per shape, samples every
corner and points twice the tolerance apart, and asks a flat uniform grid
of segments. With Microsoft YaHei loaded: 300 CJK outlines in 350 ms
(1.9 s before), one line in 25 ms. FontDb::outline reuses
outline_uncached, and the compositing test covers knockout_shape.
2026-11-18 18:58:52 +05:30
BFlat dce8a0c05e Merge pull request #7065 from yoriswind/codex/5179-blend-spine-redraw-bounds
Fix redraw bounds for blends following a curved spine
2026-11-18 19:58:54 +07:00
BFlat a9863c13af Merge pull request #8564 from Hassan1305/fix-8538-locked-guides
Lock Guides: a marquee skips guides in groups, and a group's transform leaves them in place
2026-11-18 19:33:51 +07:00
BFlat 866433867b Merge pull request #8406 from dotCooCoo/feat/pressure-sensitive-brush-library
Brushes: Add original Pressure Sensitive library
2026-11-18 18:41:39 +07:00
BFlat a97b205bf1 Merge pull request #8524 from dotCooCoo/feat/save-for-web-shift-color
Save for Web: double-clicking a color-table swatch shifts that color
2026-11-18 18:26:09 +07:00
BFlat ff0f7dcac5 Merge pull request #8506 from dotCooCoo/feat/point-tangents
Path Precision Tools: Common Tangents draws the lines from a point to a closed path
2026-11-18 18:25:50 +07:00
BFlat 91c6a702c6 Merge pull request #8535 from dotCooCoo/fix/dimension-line-level
Dimension tool: a dimension line placed beside another lands on its level
2026-11-18 18:25:01 +07:00
yoriswind 56b4fcb8c6 Fix redraw bounds for rotated Blend effects
Measure effect-bearing Align to Path content after spine placement, retaining
the conservative envelope and covering damage containment with original
software-rendered move and Undo controls.
2026-11-18 03:19:27 -08:00
HassanKhan 41f7d4e06a #8538 review: drop kept guides on transform, finish the marquee rule
A transform no longer leaves locked guide paths in place: a guide in a
group moves with its group again, as on main. Keeping them put made
Align, Transform Each, the pixel-grid snap and Objects on Path measure or
place art the transform did not move. Scaling::keep_guides and its
engine wiring and test are removed.

The marquee rule now covers the rest of the selection side, while guides
are locked or hidden:
- the guide rule goes down the walk as an explicit Rules value instead
  of a thread-local guard;
- an Enclosing Lasso loop does not take a compound path for its guide
  contours;
- an enclosing marquee measures a group without its guide paths
  (Node::without_guides);
- Direct Selection's marquee takes no anchor or crossed segment of a
  guide path.

Docs: the Guides area row, its evidence entry and the M1 row describe
the marquee behaviour; status lines and revision rows say a guide in a
group still moves with it.
2026-11-18 16:15:04 +05:00
ruchirguitar 9c9410e3cc 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 16:41:13 +05:30
HassanKhan 799d95f900 Merge remote-tracking branch 'upstream/main' into fix-8538-locked-guides
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-18 15:47:44 +05:00
HassanKhan c6a419a097 Lock Guides: a marquee skips guides in groups, a group's transform leaves them
While guides were locked, a guide path inside a group was still touched by
a selection marquee, so the marquee selected the group and moving the
group moved the guide (#8538). Clicks already skip guides (#3074).

- hit: marquee_in_view and enclosure_candidates take skip_guides; the
  Selection, Direct Selection, Group Selection and Enclosing Lasso tools
  pass !cx.guides, and the marquee then touches no guide path at any depth.
- doc: Scaling::keep_guides leaves the guide paths among a group's,
  layer's or Intertwine group's children in place, as a ruler guide in a
  transformed layer already stays.
- engine: transforms (apply_transform), Transform Each and Align and
  Distribute set it while Lock Guides is on; a copy takes a copy of the
  guide with the copied art and leaves the original.

Fixes #8538
2026-11-18 15:24:42 +05:00
dotCooCoo f1189ca4e2 Brushes: check both pressure samples and count eleven brush libraries
The Pressure Sensitive test now requires finite anchors and a positive,
finite width at both light and heavy pressure before it compares them.
The current brush-library inventories in docs/target-app-parity.md,
docs/gaps.md, docs/roadmap.md and docs/ui-parity.md list Pressure
Sensitive and count eleven built-in libraries.
2026-11-18 02:03:18 -08:00
ruchirguitar c1613f2bf5 M7/G4: retype checks points along every edge; keys charged once (#4934)
The whole-outline check tests points along every edge, so outlines with
the same corners joined another way do not match; past a work limit it
rejects. Face keys another Retype kept meanwhile are reused and charged
once. The fonts parameter test uses outlines that would match. The parity
note states the search limits.
2026-11-18 15:25:41 +05:30
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
ruchirguitar 06e8ce62b9 M7/G4: retype matching reads contours as drawn, checks whole outlines (#4934)
Contours are read from a starting corner that does not depend on where
the path starts (every tied corner tried), with straight edges split in
two, degenerate curves and empty segments read as one line. A sampled
fit only shortlists a glyph: its whole outline, turned onto the shape,
must lie on it. Face keys are compact hashes, kept per process within a
budget; kept keys stay when new ones do not fit, and go when fonts are
added or rescanned.

A compound path with a locked or hidden part stays whole. A group with
an Attributes note, or any other extra, keeps its type inside. Faces are
counted once against the cap, and no font is read when every shape stays
an outline.
2026-11-18 15:07:47 +05:30
dotCooCoo b55dcdfbda Merge main into feat/save-for-web-shift-color 2026-11-18 01:32:40 -08:00
bflatastic ca187dfcbf Merge main into #8424 2026-11-18 16:25:39 +07:00
dotCooCoo c1cb3eabfe Merge main into feat/pressure-sensitive-brush-library 2026-11-18 01:21:18 -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 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
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 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
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
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
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 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 1d9ba0dc0a Path Precision Tools: state when a point counts as on the outline
A point counts as on the path's outline when it is less than the
touching tolerance from it, with its distance from the path's center in
place of the distance between centers. The params text, docs/mcp.md and
the progress doc now say so, and say that every Tangents choice in the
dialog gives the same lines for a point.

Tests: a point half the tolerance inside and outside a circle gets the
one line there, and farther off gets none or two; a point placed on a
turned outline gets a line as long as the outline is wide along it; the
dialog previews the same two lines for every Tangents choice and keeps
them as one step, and a point inside changes nothing and says why.
2026-11-17 22:39:13 -08:00
ruchirguitar a56ffe0949 Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 12:05:01 +05:30
ruchirguitar 783437f775 M7/G4: retype review: hidden art, compositing, half turns, cost (#4934)
Hidden and locked shapes stay outlines and end the line. Isolated and
knockout groups keep their type inside. Type turned 180 degrees stays
one object (angles compared wrapped). A lone one-contour glyph beside
other shapes stays an outline unless it is the only shape selected.

The index samples only glyphs whose key (segments per contour) a selected
shape has, reads outlines past the shared outline cache, keeps each
face's keys once worked out, and loads no more faces than it takes. With
Microsoft YaHei (29,905 glyphs) loaded: 877 ms the first time, 23 ms
after.
2026-11-18 11:58:41 +05:30
dotCooCoo ef3659caa5 Merge main into feat/plugin-budget-preference 2026-11-17 22:27:52 -08:00
dotCooCoo 2fa55b2aeb Merge main into feat/symbols-panel-options-button 2026-11-17 22:24:17 -08:00
dotCooCoo 847c2e9536 Merge main into feat/graphic-styles-alt-drag-style-onto-style 2026-11-17 22:24:16 -08:00
dotCooCoo 84c9d93956 Symbols: a marquee touches what an instance's fill and stroke effects paint
A marquee across the shapes that the geometry effects of a symbol
instance's active fill or stroke paint outside its box now selects the
instance, as a click there does. An image is likewise touched where its
own fills and strokes paint outside its frame. Outline mode keeps the
box alone.
2026-11-17 22:18:27 -08:00
dotCooCoo 285fc75c95 Dimension: test each Arrow Style's arrowhead against the expected head
The engine test now names the head each style draws (Filled a filled
triangle, Open an open triangle, Tick a slash, None no head) instead of
comparing the dimension line with ArrowStyle::arrowhead, which the
engine itself calls. It moves to crates/engine/tests/it/dimensions.rs.

The Arrow Style previews take each style from a constant list in the
order of the dropdown entries instead of parsing the entry's value
every frame, and a test checks that each entry's value matches its
style.

Part of #8049.
2026-11-17 22:17:50 -08:00
BFlat 50c7208fe3 Merge pull request #8466 from dotCooCoo/perf/find-command-index
Commands: find_command looks commands up in an index built once
2026-11-18 13:15:20 +07:00
BFlat e49686185e Merge pull request #8465 from dotCooCoo/feat/scatter-brush-hue-jitter
Brushes: Scatter Brush Options has Hue Jitter, a per-copy hue turn
2026-11-18 13:15:11 +07:00
BFlat de6d1851d3 Merge pull request #8468 from dotCooCoo/feat/new-type-normal-character-style
Type: new type takes the font and size of a redefined [Normal Character Style]
2026-11-18 13:15:00 +07:00
BFlat add89a0606 Merge pull request #8488 from dotCooCoo/perf/live-selected-of-one-pass
Blend: selected blends, envelopes and meshes are found along one path per object
2026-11-18 13:14:25 +07:00
BFlat ec6c053bdd Merge pull request #8504 from dotCooCoo/perf/select-step-siblings
Select: Next Object Above and Below check only the selected object's siblings
2026-11-18 13:14:06 +07:00
BFlat 1350204bfd Merge pull request #7706 from dotCooCoo/feat/3d-graphics-extrude-side
3D: graphics map onto Extrude & Bevel's walls and bevels
2026-11-18 13:13:27 +07:00
BFlat 20d8217312 Merge pull request #7950 from dotCooCoo/feat/smooth-bridge
Path Precision Tools: Smooth Bridge joins two circles with concave arcs
2026-11-18 13:12:40 +07:00
BFlat 8c80810f2a Merge pull request #8050 from dotCooCoo/feat/interpolate-control-points
Direct Selection: optional preference interpolates curve handles when an anchor moves
2026-11-18 13:12:30 +07:00
BFlat ab285c66c8 Merge pull request #8437 from dotCooCoo/feat/shear-angle-axis
Shear: an Angle axis shears along a line at a custom angle
2026-11-18 13:12:18 +07:00