Commit Graph
15035 Commits
Author SHA1 Message Date
dotCooCoo c0f911b60d Merge main into fix/directional-pixel-effects-before-a-rotating-or 2026-11-15 07:54:40 -08:00
dotCooCoo 7be5dce0e2 Merge main into fix/intertwine-hit-walk-limit 2026-11-15 07:54:36 -08:00
dotCooCoo 4c708145d4 Merge main into fix/outlined-strokes-under-a-non-uniform-type 2026-11-15 07:54:34 -08:00
dotCooCoo 40fae29ae4 Merge main into feat/properties-graph-section 2026-11-15 07:54:34 -08:00
dotCooCoo cf008484a1 Merge main into fix/the-liquify-warning-s-tool-name-and-object-kinds 2026-11-15 07:54:14 -08:00
BFlat bd67a010f6 Merge pull request #7827 from dotCooCoo/feat/ai-export-writes-kinsoku-kinsoku-shori-type
.ai export: paragraphs keep Kinsoku, Kinsoku Shori Type, Burasagari and Bunri-Kinshi
2026-11-15 22:45:05 +07:00
BFlat 9c2f6ec53d Merge pull request #7838 from dotCooCoo/feat/ai-save-nested-envelope-editable
.ai import: an envelope straight in another envelope's contents block opens live inside it
2026-11-15 22:44:56 +07:00
BFlat 7ba0d2fd08 Merge pull request #7841 from MMexicann/patch-1
docs(G2): describe the shipped Effect Gallery preview
2026-11-15 22:44:48 +07:00
BFlat d5b8d51d64 Merge pull request #7843 from MMexicann/patch-2
docs(G6): complete the control method reference
2026-11-15 22:44:40 +07:00
dotCooCoo dd57562d46 Merge main into feat/3d-classic-track-cube 2026-11-15 07:42:24 -08:00
dotCooCoo 6437627050 Merge main into fix/shadow-validation-builds-its-shadow-geometry 2026-11-15 07:41:58 -08:00
dotCooCoo 80baae91cd 3D (Classic): the panel's and a dialog's track cubes each keep their own focus and drag
With the 3D and Materials panel and a classic 3D dialog both showing a
track cube, the two cubes shared one widget id, so the keyboard focus of
one moved the other, and a drag on one cube was read by the other: Escape
there put the first cube's settings into it, and its button-up check ended
the gesture before the cube being dragged saw the release. Each cube now
has its own id, keyed by its dialog or panel, and only the cube a drag
started on follows, restores or ends it.
2026-11-15 07:38:56 -08:00
BFlat 8803a9e31a Merge pull request #7857 from storytold/fix/ka-duplicate-rows
i18n: Georgian keeps one row of each duplicated message (fix main)
2026-11-15 22:38:46 +07:00
dotCooCoo a230ea470d 3D (Classic): the Black Overprint shading color shades with overprinting black over the fill
Extrude & Bevel (Classic), Revolve (Classic) and Rotate (Classic) take
shadingColor blackOverprint. Each face keeps its paint unchanged, and a
face that darkens gets black over it, as strong as the darkening of the
shading color Black: a fill multiplied and overprinting, and a seam
stroke overprinting with Darken. The black is on the black plate in
Separations Preview and is written to PDF as overprinting fills. The
Plastic highlight is not drawn with it.

Preserve Spot Colors draws its black with the same helper, so its seam
stroke no longer multiplies the black a second time along face edges.

The dialogs list the choice, with catalog rows next to Shading Color.
Params text, docs/mcp.md, docs/three-d.md and docs/effects-parity.md
describe it.
2026-11-15 07:31:15 -08:00
dotCooCoo 411310a757 PDF export: Preserve Numbers converts tagged images from their profile
With Output › Convert to Destination (Preserve Numbers), and in PDF/X-1a,
which converts the same way, a gray or RGB image that carries an ICC
profile had its numbers read as sRGB: converted as sRGB to a CMYK
destination, and kept as they were in an RGB one. Preserve Numbers keeps
the numbers of untagged content only, so such an image is now converted
from its profile to sRGB with the color settings' intent, and then to a
CMYK or other RGB destination, the document's own RGB profile included.

- An untagged RGB image keeps its numbers in an RGB destination and
  converts from sRGB to a CMYK one, as before.
- A gray image is converted to sRGB grays in an sRGB destination and
  keeps its profile in the others.
- With RGB colors ICC-tagged as sRGB, the image is written as sRGB.
- A profile the color engine can't read leaves the image as it is in an
  RGB destination, and its numbers read as sRGB in a CMYK one, with a
  warning each.
- The table for an RGB destination is built only when the first tagged
  image needs it.
2026-11-15 07:28:29 -08:00
dotCooCoo ec4a1ac25d PDF export: a set Don't Include Profiles removes image color profiles
When Profile inclusion is set to Don't Include Profiles (`profiles:
"none"`), gray, RGB and CMYK images are written in device color spaces
without their ICC profiles, and a JPEG that is kept as is loses its
APP2 ICC_PROFILE segments. PDF/A-2b, PDF/X-3 and PDF/X-4 keep tagging
their images.

Leaving the setting out keeps the earlier output. `profiles` now
serializes as null when not set, `"default"` clears a preset's value,
and Save PDF > Output lists Default first. Presets and stored settings
saved earlier hold `"profiles": "none"`, so exports from them now drop
image profiles.
2026-11-15 07:27:08 -08:00
dotCooCoo 4ac0d02bdb Docs: a color image whose pixel data can't be read is left out as undecoded, not unconverted 2026-11-15 07:23:22 -08:00
dotCooCoo 8e602cb980 Recolor Artwork: Find dims a row color given as a value, not a string
A row of the rows that aren't selected whose current color was given as a
color value (`[r,g,b]` or a CMYK, gray or Lab object) was left undimmed,
because only string entries went into the dimming map. Such a color now
dims under its color key, the form `recolor.apply` matches it by.
2026-11-15 07:21:00 -08:00
dotCooCoo 1727c171ef Image Trace: Noise merges a dark speck into the line beside it, not the ground
A region below Noise joined the color it shares the longest border with, so
the specks of a thin dark line on a light ground joined the ground and the
line broke into dashes. When that color is 10 or more apart from the region's
own (Oklab x 100), the region now joins the neighboring color nearest its
source pixels, among the colors sharing at least a tenth of the longest
border. A single pixel tied between colors still joins by border.

6 Colors and 16 Colors move from Noise 15 to 8, and Black and White Logo from
25 to 5.
2026-11-15 07:20:42 -08:00
dotCooCoo 0f7c46b04f PDF export: an image whose pixel data can't be read still warns that it couldn't be decoded
When the Output settings convert colors, a color image whose pixel data
can't be read was left out with the "couldn't be converted" warning, as
if it could have been written in its own colors. Such an image can't be
written at all, so it is again left out with the "couldn't be decoded"
warning, as every other PDF export does. Only an image beyond the decode
allowance, or one whose header can't be read, is left out as
unconverted.
2026-11-15 07:20:32 -08:00
dotCooCoo d86c9871c6 Live Paint: a triple-click after a release across an edge matches the fill from before it
When a click's press lands in one face and its release in the next, the
drag fills both. The bucket now notes the fill every face the drag
crosses had before the press, the release included, so a double-click
or triple-click that follows on such a face compares that fill instead
of the one the first click gave it. This also holds when the release of
the last click crosses into the clicked face.

When the first click makes the Live Paint group, or merges the selection
into a selected group, the crossed face counts with the fill it was made
with: a kept face's paint from the merged group (an unplaced gradient
fixed to its fit), else the fill Make gives it, the topmost fill that
draws of the front-most source path over it that has one. A selected
group's edges no longer count as source paths.

A double-click whose two clicks land on two joined edges now paints the
edges joined through the other edge its clicks painted:
livePaint.strokeEdge takes `through`, edge ids that the join counts as
drawing with `match`, and the tool passes that edge. When the second
press lands on the next edge and is released back on the first, the
double-click matches the first edge's stroke paint from before the
first click.

A press that the view tools take (held Space, the middle button), or
that holds Cmd/Ctrl and goes to the lent selection tool, now counts as
a press that paints nothing, so the clicks around it are not taken for
one triple-click's: the session tells the tool through the new
Tool::press_elsewhere.

The tool doc, docs/mcp.md and the progress-doc line now say that a click
records an undo step only when it changes a paint, and that a
triple-click paints the faces that have the clicked face's fill (and the
edges that draw with the clicked edge's stroke paint) with the bucket's
paint.

Follows #7291.
2026-11-15 07:19:56 -08:00
Dylan M. Taylor 3492976910 Use shared streaming native format writer 2026-11-15 15:16:59 +00:00
dotCooCoo 147b744845 Graph Data: dragging a column's edge sets that column's width
In the Graph Data window, the pointer becomes a column-resize arrow
over a column's right edge, and dragging the edge sets that column's
width in whole digits, from 0 to 20 as Cell Style's Column Width
allows. The columns after it move along. Cell Style's Column Width, in
the dialog or set as the `width` field, still sets every column.

The dialog keeps the dragged widths in a `widths` field by column.
2026-11-15 07:10:52 -08:00
dotCooCoo 216e14a6a7 Recolor Artwork: Find keeps the plain tint when only an exact key shares its hex
The tint Find gives a row that isn't selected was skipped when its hex
matched the hex of a selected row's exact key, though `recolor.apply`
matches an exact key only by its key. The lighter tint was taken, and when
every candidate collided the color was left undimmed. Only a "#rrggbb"
entry is now compared by hex.
2026-11-15 07:06:15 -08:00
dotCooCoo f9a2abad18 Paragraph: Kurikaeshi Moji Shori draws a line-start repeat mark as the character it repeats
Paragraph panel menu > Kurikaeshi Moji Shori (text.setFormat
{kurikaeshiMojiShori}) is a paragraph attribute, off by default, saved
only when on and carried by paragraph styles. On, a repeat mark (々, ゝ,
ゞ, ヽ, ヾ) that starts a line of point or area type is drawn as the
character it repeats, with the mark's width, and the text keeps the
mark. Threaded type looks back into the frames before when a paragraph
continues. Live SVG text writes the drawn character and places the
text after it.
2026-11-15 07:02:27 -08:00
dotCooCoo d1213a923e Merge branch 'feat/3d-classic-track-cube' into feat/3d-classic-track-cube 2026-11-15 06:56:42 -08:00
dotCooCoo 6d87660fd0 3D (Classic): the lighting sphere moves, adds and deletes lights on the Lighting tab
The Lighting tab of Extrude & Bevel (Classic), Revolve (Classic) and
Rotate (Classic) now shows the lighting sphere, in the 3D and Materials
panel and in the options dialog, while the surface is Diffuse or
Plastic. A light drags to a new Rotation and Height, a press selects
it, and the button below the sphere moves it behind or in front of the
object. Add Light places a new light at the front center and Delete
Light keeps at least one light. The classic effects shade without light
color, so their suns are drawn white.
2026-11-15 06:55:20 -08:00
dotCooCoo bb6a8076f3 Brushes: a one-point brush.freehand continuation follows keepSelected
A brush.freehand call that continued a path by one point changed the
path's brush and left the selection as it was. With keepSelected off the
path stayed selected, and with it on the path was not selected, unlike a
longer continuation and unlike what path.freehand's params text says.
The brush edit now selects the path, or deselects it while the rest of
the selection stays, as a longer continuation does. A call that leaves
the brush as it is still changes nothing.
2026-11-15 06:55:16 -08:00
dotCooCoo c4754df6df Window: panels shown from the edge hide only after the pointer moves away or a hold ends
The hide timer started on every frame with no pointer over the window, so
panels shown by window.panels.peek hid 0.3 s later while the pointer had not
moved. It now starts when the pointer moves, is released or leaves the window,
and a pointer entering the window counts as a move on its first frame.

When a press, a dialog, a popup or a flyout stops holding the panels open
with the pointer away from them, the timer starts as well, so closing a
flyout with Escape hides them without the pointer moving.
2026-11-15 06:52:18 -08:00
dotCooCoo 1957fdda0f Control bar: symbol instance controls keep the Transform link's room
The gap after the symbol instance controls was added whenever 4 pt
remained, without the room the Transform link needs after the group.
When a narrow bar left out the symbol controls, the gap could take the
last points the link needed, and the bar hid the link. The gap is now
added only when the reserve remains after it.
2026-11-15 06:51:02 -08:00
bflatastic f577781921 i18n: Georgian keeps one row of each message added twice
#7774's Georgian catalog and #7532's script.run answers rows landed in the same batch with
twelve of the same messages, so bundled_catalogs_are_consistent fails on a duplicate. The
first of each pair stays.
2026-11-15 21:50:17 +07:00
FredApps d8be891693 style: rustfmt the ported variable-library parser 2026-11-15 15:49:08 +01:00
FredApps 845e68008b test(trace): keep the image crate's JPEG encoder for the block-artifact fixture
a_jpegs_blocks_are_not_traced_as_steps measures how many traced edges land
on JPEG block boundaries, which depends on the encoder's artifacts. With the
craft-image-codecs encoder 18 of 40 segments sit on block edges; with the
original encoder and the new shared decoder the test passes unchanged, so
the trace itself is unaffected. image stays a dev-dependency only.
2026-11-15 15:48:44 +01:00
dotCooCoo 9d9b69a544 PDF import: an isolated group with overprinting art inside stays isolated
The importer kept a group's isolation only when something inside it
blended, so an isolated group or knockout group whose objects only
overprint read back without isolation. Written out again, it lost its
/I true and its overprinting objects then kept the inks of the art below
the group that they had covered. Isolation is now also kept when a
visible fill or stroke inside, or characters' fill or stroke, overprints,
directly or through children that do not isolate.
2026-11-15 06:46:56 -08:00
dotCooCoo f021c29b6f Live Paint: test that a Shift-triple-click keeps joined faces of the same fill
A Shift-triple-click on a face whose double-click already reached a
joined face of the same fill selects every face with that fill. The new
test pins that the joined face the double-click toggled on is not
toggled off again by the triple-click.
2026-11-15 06:44:48 -08:00
FredApps c9cad8d017 Merge main into fix/restore-codec-cutover-ci
Port main's new variable-library parsing (variable kinds, image, visibility
and graph values) from roxmltree to craft-xml with the branch's strict
options and attribute validation. Keep both sides' variable tests.
Drop the stale docx::nesting doc link.
2026-11-15 15:43:44 +01:00
dotCooCoo 6523a33224 3D and Materials: Export 3D Object adds the selection to Asset Export
The 3D and Materials panel gets an Export 3D Object button. It adds the
selected objects that have a visible 3D effect to Asset Export as 3D
assets through assets.add3D, the command behind Asset Export's own
Export 3D Object, selects their assets there and shows the Asset Export
panel. Objects without a 3D effect, and a 3D object inside another
selected one, are left out. The button is unavailable while no selected
object has a visible 3D effect. Adding is one undo step, and nothing is
recorded when every object is an asset already.

Docs: docs/three-d.md, docs/mcp.md, docs/effects-parity.md,
docs/target-app-parity.md.
2026-11-15 06:41:48 -08:00
dotCooCoo 9afdbe2b03 SVG import: a blur that differs by direction is kept as its SVG filter
A feGaussianBlur or feDropShadow whose blur is not the same in every
direction in the document came in as an even Gaussian Blur or Drop
Shadow of the mean standard deviation. That covers two different
standard deviations (stdDeviation="4 1") and an even one in a skewed or
unevenly scaled user space. An SVG Filters effect in such a user space
is exported live under that transform, so on reopening its blur lost
the difference between directions.

Such a filter is now kept as an SVG Filters effect, which draws it as
it is. A blur in a turned, flipped or evenly scaled user space still
becomes the live effect, and a filter that no SVG Filters effect can
keep still comes in as the nearest even effect, as before.
2026-11-15 06:41:20 -08:00
dotCooCoo 46f6d41f6a Merge main into feat/variables-data-set-box-rename 2026-11-15 06:40:43 -08:00
dotCooCoo 5ed83e0daa Gradients: an aligned row of a graph design's art alone is still checked by paint.editGradient
With only the art of a graph design in a series given, paint.editGradient returned before it checked an explicit aligned item, so a row the art lacks, or one no other object has, was accepted instead of refused. The row is now checked first, as paint.setFill does.
2026-11-15 06:39:46 -08:00
dotCooCoo e3551a92e4 Variables: the Data Set box renames the current data set
The Data Set row at the top of the Variables panel now holds a text box
with the current data set's name. A new name entered there renames the
data set through dataset.rename, as one undo step. The same name runs
nothing, so no undo step is added. An empty name or the name of another
data set is refused, and the status bar shows the error. A list button
beside the box still chooses a data set, and the arrows still step
through them. With no data set the box is disabled.
2026-11-15 06:39:44 -08:00
dotCooCoo 74bf5c2618 Selection: an Intertwine group's members in symbol art count toward a click's object limit
A click walks a symbol instance's art within one limit of objects, but
the members of an Intertwine group in that art, and the objects of groups
nested deeper than the part path depth, were tested without taking from
it. Each object hit_any visits in placed symbol art now takes one object
from the limit, and testing stops once the limit is used up.
2026-11-15 06:36:16 -08:00
dotCooCoo a098ca4f5c Merge main into feat/variables-import-entry 2026-11-15 06:29:12 -08:00
dotCooCoo bd19ed1623 Variables: Import… in the panel menu reads a CSV or an XML data source
The Variables panel menu gets Import…, which opens one file dialog for
CSV, TSV, TXT and XML files. `variable.import {path}` picks the reader by
the file's extension, in any case: a .csv, .tsv or .txt file is read as
Import Data Sets… reads it, and an .xml file as Load Variable Library…
reads it. Any other extension, or none, is refused before the file is
read. Import Data Sets… and Load Variable Library… stay in the menu.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-15 06:28:41 -08:00
dotCooCoo b977086e13 Docs: queued PSD files ask for their import options with Show Import Options on
docs/mcp.md said every PSD or PSB file of a loaded place cursor comes in
with the choices made last. With Show Import Options on, each such file
that has import options shows PSD Import Options when it is clicked or
dragged (place::place_from_cursor, and the psd_import test
a_cursor_loaded_with_show_import_options_on_asks_for_each_psd_file);
only with it off do the last choices apply.
2026-11-15 06:25:40 -08:00
dotCooCoo b90af11ac7 Merge main into feat/properties-graph-section 2026-11-15 06:19:48 -08:00
dotCooCoo 614f798d33 Merge main into fix/the-liquify-warning-s-tool-name-and-object-kinds 2026-11-15 06:18:52 -08:00
dotCooCoo f90ac94876 Merge main into feat/diacritic-position 2026-11-15 06:18:24 -08:00
dotCooCoo 4cbd326445 Merge main into feat/3d-classic-track-cube 2026-11-15 06:18:12 -08:00
dotCooCoo 5ce407dfbf Merge main into fix/an-image-whose-recode-fails-is-written-without 2026-11-15 06:17:33 -08:00