The links.unembed params text and docs/mcp.md now say that a distorted
image from a PSD or PSB file keeps its clip group when Unembed writes it
in the format it is stored in (PNG, or TIFF for a CMYK file), and that
Relink and Update Links to the written file keep it too. A path that
converts the image writes no clipping path, and the clip group becomes a
plain group.
- Test: tests_psdread::unembed_keeps_the_clipping_path_of_a_distorted_psd
adds an Update Links step on the written file and an Unembed to a .jpg
path.
- A knockout at 0 fill whose pixels cover none of the painted pixels below
it is no longer merged with them.
- A hidden knockout is left out only when its merge would be made or is
too large, so one whose layer mask hides all of it comes in with
hiddenLayers. What drawing it counted is forgotten when it is left out.
- The pixels and canvases of a merge that isn't made are counted against
a separate limit of the same size, so the layers can still be read
apart afterward.
- docs: the memory-limit fallback for knockouts is listed with the
knockouts that aren't applied.
A font can place a glyph by the glyph after it, so the glyphs before a
mismatch are laid out again as a line of their own before they replace
their outlines. The glyph budget covers that second check.
A kind-only object.setLiveShape call now leaves each rectangle whose
corners already have the kind as it is, even when its transform keeps
a scale, and changes only the other targets. The Corner menu applies a
pending tool edit before it reads the selected rectangles. The popup
test checks that the list opened before it picks the Chamfer row.
Each 24 px stamp is now placed 6 pt wide, the size of the Scatter
Shapes art, so a 1 pt stroke on a 10 pt line shows at least one stamp
with every preset. The test checks a 10 pt line as well as the 180 pt
line.
The loader change that read the clipping path a PNG or TIFF keeps also
changed File > Open and File > Place of plain images. It is now #8561,
with its tests, params text and docs, and this branch reads files as
main does.
For a distorted image, Relink and Update Links now read the new file's
clipping path from the PNG or TIFF it is stored as when the reader gives
none, as they already do for the old file. Unembed of a distorted image
from a PSD or PSB file, with or without a folder, therefore keeps the
clip group of that file's clipping path, and so does a later Relink to
the written file.
- Test: tests_psdread::unembed_keeps_the_clipping_path_of_a_distorted_psd
(RGB file kept as PNG, CMYK file kept as TIFF, path and folder).
- Docs: docs/mcp.md, links.unembed params text, the progress-doc line.
Readings of a shape are capped by those tried, not those kept, so a shape
whose every reading fails stops at the cap. The layout check grows a
window from each line start, doubling while the type draws the outlines,
and starts the next line at a mismatch, so a line split at every glyph
costs about twice its glyphs, not half their square; a glyph budget
leaves anything past it as outlines. A tracked line of 450 glyphs: 259 ms.
The dialog test for a point now compares the previewed lines' end points
across the External, Internal and All choices, confirms OK with each choice
and checks that the kept lines are the previewed ones, then undoes.
The params text, docs/mcp.md and the parity doc now say "at most" the
touching tolerance, matching the comparison in the code, and the parity doc
gives the tolerance's value.