Commit Graph
10639 Commits
Author SHA1 Message Date
dotCooCoo b5c7b60cb8 3D: Revolve's colored-light faces lie over an underlay, so no alpha holes show at 1:1
Under a colored lightColor or a lights list, Revolve drew each face of a
solid-color or gradient surface on its own, so where two faces'
antialiased edges met, pixels inside the surface let the background
through at 1:1.

- The faces now lie over an underlay of themselves under one clip to
  their outline, as colored Inflate's facets do (lighting::sealed, split
  into lighting::underlay and sealed). The surface's opacity and blending
  mode apply once, to the sealed surface.
- In a group, each run of one member's faces in the shared depth order
  takes its own underlay; a translucent member's run keeps its opacity,
  blending mode and mask on the sealed run.
- A face with a part of a mapped graphic gives its face to the underlay
  and keeps the part right after it.
- Faces in a gradient with transparent stops carry its opacity mask and
  are drawn as before. Revolve (Classic) is unchanged.
- The paint-copy budget counts the underlay in validation and drawing.

Docs: docs/three-d.md (Seams), docs/target-app-parity.md.
2026-11-15 15:13:03 -08:00
Dylan M. Taylor 8ee5acc04e Merge pull request #7866 from storytold/codex/shared-gzip-consumer
Use shared streaming native format writer
2026-11-15 17:28:04 -05:00
BFlat 613f2039e0 Merge pull request #7493 from dotCooCoo/fix/custom-toolbar-errors-translated
i18n: custom toolbar command errors are translated in every complete-message catalog
2026-11-16 04:31:58 +07:00
BFlat f6bbaf5dbf Merge pull request #7889 from dotCooCoo/feat/panel-tab-cycles-options
Panels: the double triangle on a panel's tab strip cycles its display sizes
2026-11-16 04:31:49 +07:00
BFlat 6c283464bf Merge pull request #7865 from dotCooCoo/feat/graph-data-column-drag
Graph Data: dragging a column's edge sets that column's width
2026-11-16 04:31:40 +07:00
BFlat 6b2e71f999 Merge pull request #7912 from dotCooCoo/fix/3d-transparent-gradient-one-placement
3D: a transparent gradient lines up its colors and transparency across the faces
2026-11-16 04:31:27 +07:00
BFlat aeeb4e8b1c Merge pull request #7895 from dotCooCoo/fix/pasted-pie-labels-follow-merged-swatch
Paste: legend labels in a pie's wedges follow wedges that take the document's swatch
2026-11-16 04:31:18 +07:00
BFlat 2e8b2deded Merge pull request #7921 from dotCooCoo/feat/ai-save-large-canvas-envelope-editable
.ai save: envelopes on a large canvas stay editable
2026-11-16 04:31:07 +07:00
BFlat 910b79119b Merge pull request #7368 from dotCooCoo/fix/graph-design-art-paint
Graphs: paint, stroke and transparency commands leave a design's art in a series out
2026-11-16 04:30:58 +07:00
BFlat bb2b16093e Merge pull request #7903 from dotCooCoo/chore/lib-header-search-commands
Docs: the command palette is named by its menu item, not by ⌘K
2026-11-16 04:30:49 +07:00
BFlat 8920f24351 Merge pull request #7920 from dotCooCoo/fix/smooth-corners-dense-paths
Smooth tool: keep corners on a path cut into very many short segments
2026-11-16 04:30:41 +07:00
BFlat ebcc3fade2 Merge pull request #7862 from dotCooCoo/feat/3d-classic-light-sphere
3D (Classic): the lighting sphere moves, adds and deletes lights on the Lighting tab
2026-11-16 04:30:33 +07:00
BFlat c12053dc55 Merge pull request #7936 from dotCooCoo/fix/tsume-vertical-type-and-blank-glyphs
Type: Tsume applies in vertical type and to color glyphs
2026-11-16 04:30:25 +07:00
BFlat 35b88efd26 Merge pull request #7914 from dotCooCoo/fix/eraser-varied-drag-area
Eraser: the drag's area outline takes the tip the pen gives at each step
2026-11-16 04:30:09 +07:00
BFlat d87cc85a90 Merge pull request #7917 from dotCooCoo/fix/pdf-trim-artboards-keep-bleed
Import PDF: artboards on trim boxes keep the bleed between them
2026-11-16 04:29:59 +07:00
BFlat 9d62155ba4 Merge pull request #7868 from dotCooCoo/fix/trace-noise-nearest-color
Image Trace: Noise merges a dark speck into the line beside it, not the ground
2026-11-16 04:29:50 +07:00
BFlat deabf9dab1 Merge pull request #7888 from dotCooCoo/fix/place-cursor-asks-encrypted-pdf-password
Place: the place cursor keeps an encrypted PDF and asks for its password
2026-11-16 04:29:39 +07:00
BFlat 087246a785 Merge pull request #7896 from dotCooCoo/fix/svg-image-check-follows-writer
MCP: confined SVG output checks the linked images the file draws
2026-11-16 04:29:28 +07:00
BFlat 580df186eb Merge pull request #7923 from dotCooCoo/fix/export-nested-symbol-reshape-budget
Export: nested symbol instances count their baked art against the symbol art limit
2026-11-16 04:29:19 +07:00
BFlat 6998fedc80 Merge pull request #7864 from dotCooCoo/feat/variables-import-entry
Variables: Import… in the panel menu reads a CSV or an XML data source
2026-11-16 04:29:11 +07:00
BFlat c514c88286 Merge pull request #7881 from dotCooCoo/fix/select-behind-one-art-limit
Selection: Select Behind keeps one limit of symbol art when it falls back
2026-11-16 04:29:02 +07:00
BFlat 58cb42509e Merge pull request #7805 from dotCooCoo/fix/an-image-whose-recode-fails-is-written-without
PDF export: an image whose colors can't be converted is left out with a warning
2026-11-16 04:28:53 +07:00
BFlat 628f43ce85 Merge pull request #7945 from dotCooCoo/feat/gradient-end-handle-length
Gradient tool: dragging the end handle changes only the length, Alt-drag the length and angle
2026-11-16 04:28:45 +07:00
BFlat 47d3a5340e Merge pull request #7897 from dotCooCoo/fix/svg-shared-images-skip-hidden-pieces
SVG: hidden pieces of a cut image put no shared image in the defs
2026-11-16 04:28:36 +07:00
BFlat f8eeaaca41 Merge pull request #7893 from dotCooCoo/fix/psd-v6-record-id-16
PSD: a version 6 slice record whose ID is 16 is read as a slice
2026-11-16 04:28:11 +07:00
BFlat c36cd8dfa5 Merge pull request #7933 from dotCooCoo/fix/svg-import-png-keeps-icc-profile
SVG import: a raster stored again as PNG keeps its ICC profile
2026-11-16 04:27:48 +07:00
BFlat babc8b1dd8 Merge pull request #7754 from dotCooCoo/feat/properties-graph-section
Properties: a Graph section opens Graph Type and Graph Data for a selected graph
2026-11-16 04:27:40 +07:00
BFlat 49be7e919a Merge pull request #7939 from dotCooCoo/fix/flatten-staggered-boxes-sweep-order
Flatten: boxes staggered right and up meet only the box before in the grouping sweep
2026-11-16 04:27:32 +07:00
BFlat fe0cb53d28 Merge pull request #7934 from dotCooCoo/fix/svg-import-absolute-ltr-character
SVG import: absolutely placed characters one text object cannot place import as a group
2026-11-16 04:27:23 +07:00
FredAppsandFredApps bb218101c9 cad: export DXF through craft-dxf's drawing writer (#7847)
* cad: export DXF through craft-dxf's drawing writer

Delete the local ASCII writer and map the document through
craft_dxf::drawing. Public vectorcraft_cad::export, DxfOptions and
DxfVersion stay so vectorcraft#3068 can rebase without a writer API
change. Pin craft-dxf at the craft-libs#1588 branch tip; update the
rev after that PR merges. Golden files lock shapes_doc() bytes for
R12 and 2018 against the old writer. Part of storytold/craft-libs#791
and #778.

* cad: pin craft-dxf to the #1588 tip with Dylan's writer fixes

Point craft-dxf (and craft-codepage from the same rev) at
0b6244f2b9971deaeb6a79d932c818ff94479757, which includes the
Windows golden line-ending fix, BYBLOCK and image-dictionary
key changes, and the compile fix for the dictionary-key test.
Update the pin again to the merge commit after #1588 lands.

* cad: pin shared DXF writer to merged craft-libs #1588

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-15 21:07:18 +01:00
FredApps 33b5706c7a Merge pull request #7664 from storytold/fix/restore-codec-cutover-ci
Restore shared codec cutover with CI compatibility fixes
2026-11-15 21:05:52 +01:00
dotCooCoo 3e7c19829b Eraser: each step of the drag's area outline takes the tip halfway along it
A step took the tip halfway between the tips at its ends, turned the
shorter way round. The release reads the pen's pressure and tilt halfway
along the step, and its bearing and rotation halfway the shorter way
round, so a step from no pressure to full pressure with the angle on
Pressure by 90° erases with a level tip there while the outline showed
it upright. Each step now takes the tip of the pen's readings halfway
along it.
2026-11-15 11:36:38 -08:00
dotCooCoo d05923aa34 Gradient tool: dragging the end handle changes only the length, Alt-drag the length and angle
A plain drag of the annotator's end handle now slides the end along the
bar's line, at least 10 px from the start, and snaps only to targets on
that line. Alt-drag moves the end freely, changing the length and angle
together, with Shift at Constrain Angle steps. A vector of no length
still moves freely.

Docs: docs/mcp.md, docs/ui-parity.md.
2026-11-15 11:34:56 -08:00
BFlat e34fef895f Merge pull request #7732 from ruchirguitar/feat/swatches-item-context-menu
Swatches: add right-click context menu to swatch items
2026-11-16 02:30:51 +07:00
dotCooCoo 09a16f262f Eraser: the drag's area outline gives the first lean's bearing to the points before it
The release reads the bearing of the first point the pen leaned 1° or
more at for the points before it, while the outline kept the set value
there. The outline now takes that bearing too, and starts again when the
first lean arrives, also when a pen tilted in place at the last point
gives it.
2026-11-15 11:16:34 -08:00
dotCooCoo c1be491962 Export: nested symbol art baked and dropped still counts against the limit
A nested reshaped instance whose baked art passes SYMBOL_ART_MAX_NODES
stays an instance, and the art baked for it now counts against the
instances after it (NESTED_DROPPED, as DROPPED_NODES does for placed
art). Before, the count went back to its value before the instance, so
many sibling instances could each bake up to the limit and be refused.
2026-11-15 11:11:16 -08:00
dotCooCoo 922f7a5b5f Properties: the Graph section hides series buttons for an empty graph and keeps long labels whole
Column… and Marker… count a graph's series as graph.column and
graph.marker do, so a graph whose data was cleared shows neither.
When a translated Graph Type… or Graph Data… label does not fit in half
of the panel, each button of the pair takes a row of its own at full
width instead of clipping its label.
2026-11-15 11:07:12 -08:00
dotCooCoo 8c54726fd4 Merge main into feat/3d-classic-light-sphere 2026-11-15 11:01:12 -08:00
dotCooCoo 7ced0d5c9a Type: Tsume applies in vertical type and to color glyphs
Tsume no longer stops at horizontal type. In vertical type an upright
character loses its share of the blank space above and below its ink,
inside its cell down the column (the font's vertical metrics, else at
least one em, with the Proportional Metrics change), in point type and
on a path. A character lying on its side is measured along its own
width, and the characters of a tate-chu-yoko block close up across the
column while the block keeps its one em.

Tsume now measures what a glyph paints: its COLR or SVG art, else its
color bitmap, else its outline, so a color glyph is no longer measured
by the outline its art replaces.

Docs: docs/mcp.md, docs/target-app-parity.md, text.setRangeStyle and
text.setFormat params.
2026-11-15 10:56:09 -08:00
dotCooCoo af64010722 Merge main into fix/flatten-staggered-boxes-sweep-order 2026-11-15 10:56:05 -08:00
dotCooCoo 8d9a467005 Flatten: boxes staggered right and up meet only the box before in the grouping sweep
When an arriving box that joins everything it overlaps covers an open
box to the right and above, and ends higher than it, the open box now
keeps only its part below the arriving box's bottom. The sweep's tree
holds each open box by its current top, at a place that is either a
box's top or just below a box's bottom, so a box can be cut short from
above, from below, or both. Any later box that would have met a removed
part meets the arriving box instead, which is open at least as long and
in the same set, so the groups stay the same. A box held by an open box
is not opened and cuts nothing short.

512 boxes, each 1 pt right of and above the one before, or left of and
below it, now meet 511 open boxes in the sweep instead of 130,816, with
and without transparency.
2026-11-15 10:54:58 -08:00
dotCooCoo f1507ccec3 Merge main into fix/an-image-whose-recode-fails-is-written-without 2026-11-15 10:54:25 -08:00
dotCooCoo db61abcef0 Eraser: the drag's area outline matches the release when pressure or a mode starts mid-drag
Once the pen pressed less than fully, the steps of the outline already
built kept the tip of a stroke without pressure, while the release reads
full pressure at those points. The outline now starts again when the
pressure first counts.

A Tilt, Bearing or Rotation mode set during the drag gave the early
points the pose of later ones. The release reads no poses for such a
stroke, so the outline now keeps the set values for them too, and the
same for a Pressure mode set during the drag.
2026-11-15 10:50:23 -08:00
dotCooCoo f92a366e3c Merge main into fix/svg-import-absolute-ltr-character 2026-11-15 10:48:48 -08:00
dotCooCoo 250b642812 Merge main into fix/svg-import-png-keeps-icc-profile 2026-11-15 10:48:38 -08:00
dotCooCoo d154d72890 SVG import: absolutely placed characters one text object cannot place import as a group
SVG reorders right-to-left characters only within a text chunk, while one
text object reorders the whole line. In
<text x="100 160 220" direction="rtl">אbג</text> the left-to-right b is
drawn right before ג with no kerning between them, so ג stayed where the
line put it and the import warned.

When kerning cannot put every absolutely placed character on its x, the
text is now cut before each such character and each piece is placed
again, and the text imports as a group of point type objects named after
the element. A text one object can place stays one object. A split text
in a clip path clips by the outlines of all its objects.
2026-11-15 10:48:26 -08:00
dotCooCoo 2d361e2ad7 SVG import: a raster stored again as PNG keeps its ICC profile
An image that SVG import writes again as PNG (a TIFF, or a PNG, JPEG,
GIF or WebP whose orientation turns it) now keeps the ICC profile its
file carries, as an iCCP chunk, when the profile's color space is the
stored samples': gray for gray samples, RGB for RGB ones. Open and
Place already keep it. Profiles of another color space, ones too short
to be a profile, and the profile of a TIFF whose own reader converts
its pixels to RGBA are left out, and the image still imports. Sample
types a PNG doesn't hold are stored as 8-bit RGBA, as Open and Place
store them.
2026-11-15 10:47:47 -08:00
dotCooCoo 2123ecd397 Properties: the Graph section test expects the Graph Type dialog
Graph Type… now opens Object › Graph › Type…'s own dialog (graphType)
since main made Graph Type a dialog of its own, so the test checks that
kind and the graph's column type instead of the generic command dialog.
2026-11-15 10:44:37 -08:00
dotCooCoo 2f432926b2 Smooth tool: keep corners on a path cut into very many short segments
The Smooth tool measured the turn around each corner by walking at most
256 segments from the anchor, and did not keep an anchor as a corner
when twice the reach lay farther than that. A corner of a path cut into
short segments was rounded off: an open path with 0.05 pt segments at
the default 12 pt reach, or a square in 0.25 pt segments with a 40 pt
reach.

The walk now has no segment limit. Each segment's length is measured
once per path, and the lengths are added up in blocks of 2, 4, 8 and
more segments, so finding the point a reach away skips whole blocks and
measures only the segment it lands in. Each block adds up only its own
segments, so short segments keep their lengths next to very long ones.
2026-11-15 10:41:11 -08:00
dotCooCoo 90708361c0 Merge main into fix/export-nested-symbol-reshape-budget 2026-11-15 10:37:36 -08:00