Commit Graph
8697 Commits
Author SHA1 Message Date
dotCooCoo 67fa32374d Retype: near matches within a tolerance, and words outlined as one compound path
type.retype takes a tolerance (0 to 0.05, default 0 for exact matches
only). Above 0, a shape of up to 8 contours that is no glyph exactly is
read at equal steps of length from any start and in either direction,
with its contours paired with the glyph's by length. It becomes the
closest glyph when the leftover distance, relative to the shape's size,
is at most the tolerance, and the glyph's outline and the shape's each
lie within three times the tolerance of the other. Simplified outlines,
curves split in two and contours in another order or direction match
this way. A near-matched glyph may differ from its line by the tolerance
in size, turn and place; an exact glyph keeps the exact limits unless
the line's first glyph is a near match. Each entry of fonts in the
result has a score from 1 (exact) to 0.

A compound path holding several glyphs (a word made into one compound
path) is split into groups of contours, a contour with the contours
inside it, and matched in runs of up to three groups, longest first
among those that leave the rest matchable, so an i's stem and dot
become one i. Exact matches of the whole shape come first, then exact
matches of its groups, then near matches. The compound becomes type
only when every glyph matches; otherwise it stays and is reported once.
Exact matching of those groups also reads contours that run the other
way round, as Make Compound Path leaves them. A compound path of more
than 256 groups or 512 contours is matched whole only, and so are the
shapes after the first 16,384 contours one command groups.

Near matching compares a shape with at most 256 glyphs, in at most 50
million point comparisons per shape and 2 billion per command, and
looks glyphs up for at most 1,024 distinct shapes and runs per command,
whole shapes first. At most 262,144 glyphs are drawn to check and
32,768 indexed for near matching, shared equally among the faces; a
face's glyphs closest to the selected shapes are indexed first.

The tolerance, the score and the splitting rules are VectorCraft's own.

Part of #4934
2026-11-19 00:47:08 -08:00
bflatastic 69f4559744 Merge main into #8652
# Conflicts:
#	docs/gaps.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:36:41 +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
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 4c22e881fc Merge main into #7668
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 15:21:28 +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
BFlat bccb824be6 Merge pull request #8619 from dotCooCoo/feat/retype-matching-fonts
Retype: the Retype panel lists the fonts that match outlined text
2026-11-19 15:18:29 +07:00
bflatastic 8cf0a8325b Merge main into #8483
# 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/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.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/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.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/target-app-parity.md
2026-11-19 15:13:59 +07:00
bflatastic a6e1dc4f49 Merge main into #8470
# Conflicts:
#	docs/localization-parity.md
2026-11-19 15:12:20 +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 43950a1874 Merge main into #8451
# 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/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.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/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.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/mcp.md
#	docs/target-app-parity.md
2026-11-19 15:10:17 +07:00
BFlat 4015226921 Merge pull request #8651 from datatimp/fix/8646-layer-target-ring
Layers: a layer whose art is all selected from its target circle shows as targeted
2026-11-19 15:09:15 +07:00
BFlat 31c2107b73 Merge pull request #8649 from dotCooCoo/feat/actions-automatic-align-to
Actions: an action can choose Align To when it plays
2026-11-19 15:09:04 +07:00
BFlat f275967865 Merge pull request #8648 from dotCooCoo/fix/issue-8582
Fix #8582: inactive document tabs show the name alone, so more tabs fit
2026-11-19 15:08:53 +07:00
BFlat 82d22d5828 Merge pull request #8638 from dotCooCoo/fix/palette-synonym-keeps-typo
Command Palette: a word another result means still finds its typo matches
2026-11-19 15:08:02 +07:00
BFlat 549d7af2c1 Merge pull request #8637 from dotCooCoo/fix/issue-8584
Fix #8584: the document tab that doesn't fit whole fills the rest of the strip
2026-11-19 15:07:53 +07:00
BFlat 81fa6daf70 Merge pull request #8660 from storytold/train/carry8376
Preferences: the line under the fields describes each Hyphenation setting (#8376)
2026-11-19 15:07:38 +07:00
BFlat 2c1c36c77a Merge pull request #8632 from dotCooCoo/feat/cmx-open
File formats: open and place .cmx files
2026-11-19 15:07:21 +07:00
BFlat cb094669ae Merge pull request #8628 from dotCooCoo/fix/live-paint-bucket-fill-color
Live Paint: a color chosen with the Live Paint Bucket is the color it paints with
2026-11-19 15:06:53 +07:00
BFlat fd0ff592b7 Merge pull request #8624 from dotCooCoo/fix/followup-8408
Type: the missing-font question takes its answer through tool.setOption
2026-11-19 15:06:39 +07:00
bflatastic f1bb326720 Merge main into #8376
# Conflicts:
#	docs/target-app-parity.md
2026-11-19 15:06:37 +07:00
BFlat 260d12f504 Merge pull request #8623 from dotCooCoo/fix/followup-8489
Docs: list the targets Align uses for selected anchor points
2026-11-19 15:06:28 +07:00
BFlat 2e7b8da349 Merge pull request #8621 from dotCooCoo/fix/followup-8448
Shapes: a Circle tool release near the press is a click, also after a drag
2026-11-19 15:06:09 +07: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
BFlat 9be8ff3389 Merge pull request #8617 from dotCooCoo/fix/issue-8568
Fix #8568: a selection held by its edge lands that point on other paths
2026-11-19 15:04:44 +07:00
BFlat 971a31f021 Merge pull request #8615 from dotCooCoo/fix/followup-8397
Layers: layer.locate's reference names when the panel does not scroll
2026-11-19 15:04:34 +07:00
BFlat 9deb48d562 Merge pull request #8658 from storytold/train/carry8341
Graphic Styles: Add original Paper Cutouts library (#8341)
2026-11-19 15:04:23 +07:00
BFlat c9461227cf Merge pull request #8608 from dotCooCoo/fix/followup-8288
Docs: the metafile reader-limit warning has no count
2026-11-19 15:04:07 +07:00
BFlat 5ec0c715b1 Merge pull request #8607 from dotCooCoo/fix/followup-8030
Smooth Bridge: count the bridge limit after thin necks are dropped
2026-11-19 15:03:58 +07:00
BFlat ec9d17f2ea Merge pull request #8606 from ruchirguitar/feat/layers-guide-context-menu
Layers panel: context menu on guide rows (Release Guide, Delete, Lock/Hide)
2026-11-19 15:03:49 +07:00
BFlat fa4817823c Merge pull request #8578 from dotCooCoo/fix/point-tangents-same-lines-test
Path Precision Tools: test that every Tangents choice keeps the same lines from a point
2026-11-19 15:03:35 +07:00
BFlat f8a355786e Merge pull request #8575 from dotCooCoo/fix/pen-rubber-band-close-join
Pen: the rubber band over the first anchor or another path's end is the segment a click adds
2026-11-19 15:03:23 +07:00
bflatastic 497af8e79b Merge main into #8341
# 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/fr.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
2026-11-19 15:03:22 +07:00
BFlat c03765a22d Merge pull request #8571 from dotCooCoo/fix/dimension-levels-linear
Dimension tool: only a linear dimension reads the dimension lines
2026-11-19 15:02:00 +07:00
BFlat 7784d2f1a5 Merge pull request #8528 from dotCooCoo/feat/curvature-circle
Shapes: the Curvature Circle tool draws the circle a path bends along
2026-11-19 15:01:28 +07:00
BFlat 1fa8b7f535 Merge pull request #8526 from dotCooCoo/feat/tangent-circle-tool
Path Precision Tools: the Tangent Circle Tool draws a circle on two clicked segments
2026-11-19 15:01:11 +07:00
BFlat de32f5cf96 Merge pull request #8525 from dotCooCoo/feat/enclosing-shapes
Path Precision Tools: Add Bounding Rectangle and Add Bounding Circle enclose the selection
2026-11-19 15:01:00 +07:00
BFlat 277dd40567 Merge pull request #8520 from dotCooCoo/feat/width-point-edit-all-selected
Width Point Edit: Side 1 and Side 2 apply to every selected width point
2026-11-19 15:00:49 +07:00
BFlat a530c56190 Merge pull request #8512 from dotCooCoo/fix/issue-8432
Part of #8432: Copy and Cut take the text selected in a panel, not the art
2026-11-19 15:00:30 +07:00
BFlat 3892841db0 Merge pull request #8511 from dotCooCoo/fix/export3d-revolve-side-graphics
3D: Export 3D Object writes the art mapped onto a Revolve's side
2026-11-19 15:00:20 +07:00
BFlat 0a648aa23e Merge pull request #8497 from dotCooCoo/feat/layers-panel-isolation-list
Layers: isolation mode lists only the isolated art
2026-11-19 15:00:00 +07:00