ljkx
61389cdd5f
M4: test the simplified stroke by how far it strays, at more accuracies and inputs ( #1741 )
...
Review follow-ups, tests only.
- The Pencil test and the `vector.simplify` test measure how far the result
strays from the samples (at most 1.5), not only its box.
- The Pencil test also draws with the Marker and the Highlighter, each stroke
in a fresh session, and takes the layer that stroke made.
- The `vector.simplify` test runs on an open stroke, a filled shape, a region
with its own fill, and a stroke beside a filled shape.
- The geom tests run at accuracies 0.1, 0.75 and 8.0, on quadratic and cubic
inputs as well as lines, and check both ways round how far the result and
the input are apart.
- A path that turns straight back is checked to be kurbo's fit of each side on
its own, with a point at the turn.
- Empty paths, lone moves and segments after a close are covered.
2026-11-09 21:51:37 +01:00
ljkx
0aba3f7632
M4: a Pencil stroke stays where it was drawn, without spikes off it ( #1741 )
...
kurbo's simplify_bezpath, which smooths Pencil samples and runs Simplify
path, fitted two common shapes with a curve that ran far off the path: a
stroke that goes out and back to the very point it left (kurbo keeps a
reversal as a smooth join) and nearly collinear samples (kurbo measures
its error across the path, not along it).
figcraft_geom::simplify_path cuts the path where it turns back by more
than a right angle, simplifies each run with kurbo, and keeps a run as it
was when its fit strays more than twice the accuracy from it. The Pencil
and vector.simplify use it.
2026-11-09 06:15:33 +01:00
bflatastic
70821e3645
Merge main into #1879
2026-11-07 12:29:18 +07:00
bflatastic
3f6aa299ea
Merge main into #1873
2026-11-07 12:15:09 +07:00
bflatastic
12293e2e55
Merge main into #1879 ; shortcut counts with #1858 's row
2026-11-07 12:14:30 +07:00
BFlat
31c54bfc99
Merge pull request #2068 from Silvertree2010/fix/h7240-react-tailwind-export-breaks-the
...
Fix Tailwind export breaking JSX when font family has quotes or brackets
2026-11-07 13:00:53 +08:00
bflatastic
651a7743c1
Merge main into #1873
2026-11-07 11:57:34 +07:00
bflatastic
e056dc7608
Merge main into #1879
2026-11-07 11:56:47 +07:00
BFlat
b64f13ac56
Merge pull request #1759 from dotCooCoo/feat/export-color-profile
...
Export: each export setting chooses a color profile
2026-11-07 12:54:29 +08:00
BFlat
8d1b183e7d
Merge pull request #1913 from tommy1616/feat/traditional-chinese-taiwan
...
M10: Traditional Chinese (Taiwan) interface draft
2026-11-07 12:52:13 +08:00
BFlat
5999408d1e
Merge pull request #1858 from TrevorBrown-dev/fix/padding-all-sides
...
M2: a Cmd/Ctrl-click on a padding field sets all four sides with the value typed
2026-11-07 12:49:06 +08:00
Trevor Brown
0f8f780c19
Merge remote-tracking branch 'upstream/main' into fix/scrub-speed
2026-11-06 23:49:05 -05:00
Trevor Brown
39b93b7950
Merge remote-tracking branch 'upstream/main' into feat/pick-select
2026-11-06 23:49:01 -05:00
BFlat
1a035285de
Merge pull request #1998 from cheyras/fix/live-offline-merge
...
M9: joining a live session again merges what you did while disconnected
2026-11-07 12:40:49 +08:00
bflatastic
d601cc873b
Export: rustfmt the merged lines
2026-11-07 11:36:06 +07:00
BFlat
1fcd8f8d1b
Merge pull request #1766 from TrevorBrown-dev/fix/web-events-clock
...
M8: posting a comment in the browser no longer stops the app (#1764 )
2026-11-07 12:34:59 +08:00
bflatastic
2d25f29cb3
Merge main into #1873
2026-11-07 11:33:07 +07:00
bflatastic
5087bf05dd
Merge main into #1879
2026-11-07 11:31:30 +07:00
bflatastic
442d1d66f3
Merge main into #1858
2026-11-07 11:30:58 +07:00
BFlat
d578f44742
Merge pull request #1878 from TrevorBrown-dev/feat/region-fills
...
M8: a fill per region: the Fill section and the fill commands edit the regions selected in vector edit mode (#1875 )
2026-11-07 12:29:43 +08:00
bflatastic
a6f6c42886
Merge remote-tracking branch 'origin/main' into landb/1913
2026-11-07 11:28:35 +07:00
BFlat
7c3b134406
Merge pull request #1775 from TrevorBrown-dev/fix/pencil-dark-background
...
M4: the Pencil draws white on a dark page or frame, and previews in that colour (#1741 )
2026-11-07 12:28:15 +08:00
bflatastic
c1ff1de7a9
Merge main into #1858
2026-11-07 11:28:03 +07:00
bflatastic
5552d3dac5
Export profile test: an sRGB JPG embeds its profile since main's JPG change
2026-11-07 11:26:26 +07:00
bflatastic
b0664c0b00
Merge main into #1998
2026-11-07 11:23:09 +07:00
NetterSilver and Claude Haiku 5.5
425ee8e32c
Fix Tailwind export breaking JSX when font family has quotes or brackets
...
Found while testing crates/engine/src/dev/tailwind.rs:300 (the "font-family" arm, via arb at :103)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com >
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 05:23:00 +01:00
bflatastic
c4d40d254b
Merge main into #1879
2026-11-07 11:19:53 +07:00
bflatastic
02f5a3520a
Merge main into #1759
2026-11-07 11:19:38 +07:00
BFlat
f490a9b323
Merge pull request #1762 from dotCooCoo/feat/selection-colors-library
...
M3: Selection colors rows apply library color styles and create a style
2026-11-07 12:18:35 +08:00
BFlat
7da396e1b3
Merge pull request #2067 from storytold/carry/1942
...
fix(geom): keep arc subdivision bounded whatever the radius
2026-11-07 12:14:07 +08:00
BFlat
3351d33d89
Merge pull request #2066 from storytold/carry/1939
...
fix(engine): refuse linked files when publishing a plugin folder
2026-11-07 12:12:57 +08:00
bflatastic
4b140bf732
Merge remote-tracking branch 'origin/main' into landb/1879
2026-11-07 11:11:18 +07:00
bflatastic
16ae1b2273
Region fills: say it in our own words; one row per item after the merge
2026-11-07 11:10:41 +07:00
BFlat
6f637d0eb7
Merge pull request #1997 from cheyras/fix/live-reconnect
...
M9: a joined live session keeps reconnecting and says when it's disconnected
2026-11-07 12:10:40 +08:00
bflatastic
2410a94091
Merge remote-tracking branch 'origin/main' into landb/1878
2026-11-07 11:10:05 +07:00
bflatastic
77bf42538c
Merge main into #1858
2026-11-07 11:09:30 +07:00
BFlat
7c869057c4
Merge pull request #2020 from TrevorBrown-dev/feat/suggest-auto-layout-1823
...
M2: Suggest auto layout adds nested auto layout frames by rows and columns and keeps the placement (#1823 )
2026-11-07 11:57:49 +08:00
bflatastic
f4f16f1ba1
Merge main into #1913
2026-11-07 10:57:11 +07:00
bflatastic
2003cd1ced
Merge main into #1939
2026-11-07 10:55:10 +07:00
bflatastic
f1a5360859
Merge main into #1942
2026-11-07 10:54:18 +07:00
BFlat
390d72cf92
Merge pull request #1884 from ljkx/fix/weight-steps-family-styles
...
M4: Increase and decrease font weight step through the styles the family has (#1831 )
2026-11-07 11:53:05 +08:00
bflatastic
a864c9beac
Merge main into #1997
2026-11-07 10:50:56 +07:00
BFlat
687fa895bb
Merge pull request #1920 from storytold/fix/sec-plugin-policy
...
fix(engine): keep plugins out of branches, saved versions and library links
2026-11-07 11:50:44 +08:00
bflatastic
01096b90f1
Merge main into #1997
2026-11-07 10:50:30 +07:00
Trevor Brown and Claude Sonnet 5.5
454d504231
Merge upstream/main into fix/scrub-speed
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-06 22:48:22 -05:00
BFlat
a23b9b5cb5
Merge pull request #1928 from storytold/fix/sec-online-same-server-path-case
...
fix(engine): compare online servers' paths with their case
2026-11-07 11:47:15 +08:00
Trevor Brown and Claude Fable 5.1
b4ccfd54dc
Merge upstream/main into fix/padding-all-sides
...
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-11-06 22:39:49 -05:00
Trevor Brown and Claude Fable 5.1
13937c70eb
Merge upstream/main into feat/region-fills
...
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-11-06 22:39:44 -05:00
Trevor Brown and Claude Fable 5.1
bce99a53c8
Merge upstream/main into feat/pick-select
...
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-11-06 22:39:41 -05:00
Trevor Brown and Claude Fable 5.1
ea1ae05d16
Merge upstream/main into feat/suggest-auto-layout-1823
...
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-11-06 22:39:35 -05:00