Commit Graph
4282 Commits
Author SHA1 Message Date
bflatastic 22825a267c Merge main into #8585 2026-11-19 23:38:06 +07:00
BFlat 5941acae71 Merge pull request #8704 from dotCooCoo/feat/emf-opaque-text-background
Metafile import: text in the opaque background mode fills its character cells
2026-11-19 23:28:50 +07:00
bflatastic 8157194da2 Merge remote-tracking branch 'origin/main' into fix/8585 2026-11-19 23:23:53 +07:00
bflatastic fb96dfc5a0 Merge main into #8455
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/id.tsv
2026-11-19 22:21:39 +07:00
bflatastic 3d5eaa855e Merge main into #8164
# Conflicts:
#	docs/target-app-parity.md
2026-11-19 22:20:34 +07:00
BFlat 859b3cdbd7 Merge pull request #8696 from dotCooCoo/fix/live-paint-bucket-gradient-aspect
Gradient: an aspect with no object to edit is an error, not a silent no-op
2026-11-19 22:14:21 +07:00
BFlat 633e6bb249 Merge pull request #8701 from dotCooCoo/fix/retype-find-more-null
Retype: retype.find's params text says a null more runs a new search
2026-11-19 21:57:43 +07:00
bflatastic 6a3db0e842 Merge main into #7977 2026-11-19 21:44:26 +07:00
BFlat aad3ea3bb5 Merge pull request #7674 from dotCooCoo/feat/proof-setup-customize
View: Proof Setup › Customize… opens a dialog for the device to simulate
2026-11-19 21:31:51 +07:00
BFlat fd22531ba6 Merge pull request #8514 from dotCooCoo/feat/swatches-alt-drag-pattern-replace
Swatches: art Alt-dragged onto a pattern swatch replaces its tile art
2026-11-19 21:20:55 +07: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
BFlat 9ec1e77f59 Merge pull request #8625 from dotCooCoo/fix/followup-8449
Show in Browser: no --connect hint, disabled on the web, no folder left after a failed write
2026-11-19 21:14:15 +07:00
BFlat ef3e7a5677 Merge pull request #7899 from dotCooCoo/feat/recolor-edit-base-color-menus
Recolor Artwork: Edit tab right-click menus set the base color, pick a shade and add colors
2026-11-19 21:13:03 +07:00
BFlat 6b7ad6cf55 Merge pull request #8605 from dotCooCoo/feat/dimension-stroke-arrowheads
Dimension: Arrow Style offers every built-in stroke arrowhead
2026-11-19 21:07:19 +07:00
BFlat 4e6cc2aed2 Merge pull request #8464 from dotCooCoo/fix/psd-knockout-layers-merge
PSD import: a layer with a knockout merges with the layers below it in its group
2026-11-19 21:01:03 +07:00
dotCooCoo 8d7eaf36bb Gradient: an aspect for a Live Paint group without faces is an error
A fill edit of a selected Live Paint group with edges and no faces edits
no object, yet paint.editGradient accepted an aspect there and returned
no ids, and the Aspect Ratio field stayed enabled.

- paint.editGradient refuses an aspect when the Live Paint filter leaves
  no object. Graph design art alone still changes nothing without an
  error, as for the other params.
- Session::gradient_edit_has_objects reads the same filtered targets, so
  the field is dimmed in that case.
- Params text and docs/mcp.md name the case.
2026-11-19 05:53:08 -08:00
BFlat 778b95918d Merge pull request #8460 from dotCooCoo/feat/transform-rect-ellipse-angle
Transform: Rectangle and Ellipse Properties show the shape's angle
2026-11-19 20:44:43 +07:00
dotCooCoo 8993be043f Metafile import: keep the opaque text background to its own change
This takes three behavior changes out of the branch, so that it holds the
opaque background and the character cell it fills:

- A single line without advances is aligned as before, without its
  trailing spaces. Its cells run across its glyphs' advances from where
  its type starts; blanks alone, which draw no type, are filled where the
  alignment puts them.
- NULs after a line break add their advance to the character before them,
  as before.
- Blanks that are underlined or struck through draw nothing, as before.
  A string of NULs alone in an underlined font now fills its cells and
  adds no empty type object.

docs/mcp.md no longer describes the three, and docs/target-app-parity.md
lists the background and the cell.

The first commit's body names FontFace::win_ascent_descent as
Face::win_ascent_descent. A device context starts with a background color
that is typically white; the first commit states white as the playback
default.
2026-11-19 05:42:41 -08:00
dotCooCoo 9dcc6913d8 Metafile import: text in the opaque background mode fills its character cells
A metafile playback starts in the opaque background mode with a white
background color, and text drawn in that mode fills its character cells
with the background color before the glyphs. EMF and WMF import now adds
one filled rectangle of the background color behind each line of such
text, before the type, from the font's OS/2 usWinAscent above the
baseline to its usWinDescent below it, as far as the line's advances
reach (NULs and negative advances included). Files that never set the
background mode now import with a background behind their text.

Top and bottom aligned text now has the top or the bottom of that cell at
the reference point instead of 0.8 and 0.2 of the em. A single line
without advances is aligned as long as its glyphs' advances, trailing
spaces included. NULs after a line break move the start of that line,
and underlined or struck through blanks draw their bars.

Face::win_ascent_descent gives the OS/2 usWinAscent and usWinDescent
separately, at a variable font's instance.
2026-11-19 05:28:52 -08:00
dotCooCoo 71086edeed Merge main into feat/swatches-add-selected-colors 2026-11-19 05:25:36 -08:00
dotCooCoo 056059d8cb Merge main into feat/direct-select-mirror-handles 2026-11-19 05:18:05 -08:00
dotCooCoo 5d458d3142 Merge main into feat/arc-by-points 2026-11-19 05:12:59 -08:00
dotCooCoo 3e0963814f Merge main into feat/engraving-brush-library 2026-11-19 05:06:49 -08:00
dotCooCoo 63d87b6d3e Merge main into feat/swatches-alt-drag-pattern-replace 2026-11-19 05:05:44 -08:00
dotCooCoo dafade6173 Merge main into feat/proof-setup-customize
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	crates/ui-egui/src/i18n/tests.rs
2026-11-19 05:04:12 -08:00
dotCooCoo 16de36545c Retype: retype.find's params text says a null more runs a new search
retype.find reads `more` with opt_bool, which treats null as omitted, so
`{more: null}` runs a new search. The params text said any value other
than true or false is an error. The params text, its MCP mirror and
docs/mcp.md now say that false, omitted or null runs a new search and
that a value other than true, false or null is an error. A test checks
that a null more lists the first ten again.
2026-11-19 05:04:10 -08:00
dotCooCoo d5ab3f8654 Merge main into fix/live-paint-bucket-gradient-aspect 2026-11-19 05:00:35 -08:00
dotCooCoo 267db08d8a Merge main into fix/followup-8449 2026-11-19 05:00:00 -08:00
dotCooCoo 9fb331f75b Merge main into feat/recolor-edit-base-color-menus 2026-11-19 04:57:32 -08:00
dotCooCoo d084e90cba Merge main into feat/dimension-stroke-arrowheads 2026-11-19 04:54:39 -08:00
dotCooCoo 89c9b61c56 Merge main into fix/psd-knockout-layers-merge 2026-11-19 04:52:41 -08:00
dotCooCoo 5d8609e881 Merge main into feat/proof-setup-save-load
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	crates/ui-egui/src/i18n/tests.rs
2026-11-19 04:47:38 -08:00
dotCooCoo b0bebd324d Merge main into feat/transform-rect-ellipse-angle 2026-11-19 04:42:52 -08:00
Sven Lafebre 40b2b36067 Merge remote-tracking branch 'origin/main' into fix/8188-ai-arrowheads
# Conflicts:
#	crates/engine/src/cmd/stroke.rs
2026-11-19 12:54:51 +01:00
BFlat 2bc41aeb86 Merge pull request #8685 from dotCooCoo/fix/live-paint-group-faces-edges
Live Paint: a fill given to a whole group paints its faces and a stroke paints its edges
2026-11-19 18:41:35 +07:00
Sven Lafebre 4c20c3e21f Merge remote-tracking branch 'origin/main' into fix/8188-ai-arrowheads
# Conflicts:
#	crates/engine/src/cmd/stroke.rs
#	crates/eps/src/import/ai/read/ops.rs
#	docs/file-format-parity.md
2026-11-19 12:34:27 +01:00
dotCooCoo 6cb7b51076 Gradient: an aspect with no object to edit is an error, not a silent no-op
paint.editGradient with an aspect returned ok and changed nothing when it
edited no object: with the Live Paint Bucket active (its default gradient)
or with nothing paintable selected. The default gradient for new art is
fitted to each object it paints and keeps no aspect, so the aspect was
dropped.

- paint.editGradient now refuses an aspect when it edits no object, and
  leaves the default gradient as it was. Named or selected objects still
  take the aspect.
- The Gradient panel's Aspect Ratio field is dimmed in that case
  (Session::gradient_edit_has_objects).
- Params text and docs/mcp.md say so.
2026-11-19 02:30:52 -08:00
dotCooCoo ddd1a961fb Live Paint: Swap leaves faces with freeform gradients as they are
Swap Fill and Stroke on a whole Live Paint group compared the faces'
fills without gradient placement, so faces with freeform gradients
counted as one shared fill and the edges took a freeform gradient
without its points. A freeform gradient on any face or edge now counts
as a paint the parts do not share, and the group keeps its paint.

- docs/mcp.md says that a face or edge given with its whole group follows
  the group's rule, and that Default Fill and Stroke replaces the parts'
  appearance also when the Default Graphic Style is redefined.
- The progress-doc line states the behavior as VectorCraft's own rule and
  lists all eight tests.
- Tests cover freeform faces in Swap, an edge given with its group, and
  Default Fill and Stroke with a redefined Default Graphic Style.
2026-11-19 02:10:41 -08:00
dotCooCoo df614fb80c Pen: Quick Pen tool draws lines, continuous arcs and sharp-corner arcs
A new tool in the Pen tool's group, chosen with Alt+P (Option+P on
macOS), draws paths of straight lines and circular arcs, as the Quick
Pen help pages describe:
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/quick-pen-tool-keyboard-shortcuts.html

- A click sets the start point; each click, or a press dragged to where
  it is let go, adds a line, a continuous arc (it leaves the last point
  in the path's direction) or a sharp-corner arc, as the tool's action
  says. Each piece is one undo step.
- Alt (Option) pressed and let go on its own switches to the next
  action. C flips the last sharp-corner arc to the other side of its
  chord, and [ and ] make the arc size 15 degrees smaller or larger.
- A click on the first point closes the path, a click on an end of an
  open path continues it, and Escape or Enter ends it. An edit made to
  the path from outside the tool also ends it.
- path.quickPen {start | id, subpath?, keep?, pieces, closed?} draws
  the same path for agents and scripts. The action and arc size are
  kept with the preferences.

The 180 degree default arc size, its 15 degree steps, the side an arc
bulges to and Enter ending the path are VectorCraft's own rules.

Part of #2660 (reported by earlvanze). Not yet: the on-canvas toolbar,
dragging a path's ends to change its length, Ctrl+scroll for the arc
size, and editing and deleting with the tool.
2026-11-19 01:29:06 -08:00
dotCooCoo 42766fea24 Live Paint: a fill given to a whole group paints its faces and a stroke paints its edges
With a tool other than the Live Paint Bucket, a fill given to a whole
selected Live Paint group paints its faces only and a stroke paints its
edges only, instead of applying to the group as a whole. The hidden
source paths keep their paint.

- paint.setFill, paint.setStroke, paint.none, paint.lastColor,
  paint.lastGradient, paint.editGradient, paint.setGradientGeom, the
  paint.freeform point and line edits, paint.invert and
  paint.complement go to the faces for a fill and the edges for a
  stroke, also for a group given in ids or inside a selected group.
- stroke.set, stroke.weightUp, stroke.weightDown and stroke.setAdvanced
  change the edges.
- The Fill proxy shows the faces' fill, and the Stroke proxy, the Stroke
  panel and the Control bar show the edges' stroke. When the first
  selected object is a Live Paint group with no faces (or no edges),
  they show the next selected object's paint.
- paint.swap gives the faces the stroke the edges share and gives the
  edges the fill the faces share, with a gradient fitted to each face
  or edge. A group whose faces' fills or edges' strokes differ, or that
  has no face or no edge, is left as it is.
- paint.default leaves the faces with no fill and gives the edges a
  0.5 pt black stroke; with only Live Paint groups selected, the
  settings for new art take the same.

Docs: docs/mcp.md (Live Paint), docs/target-app-parity.md (Live Paint
evidence), params text of the changed commands.
2026-11-19 01:06:55 -08: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
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
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 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
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 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