With Transparency off, Optimize to File Size's Auto Select counts the
colors of the pixels blended over the matte, which are the colors the
file is written with, so art whose blended pixels need more than 256
colors starts with JPEG instead of GIF.
Object › Rasterize… showed Anti Alias and Background as text fields
holding the command's values. They are now dropdowns of the values
object.rasterize takes: None, Art Optimized and Type Optimized, and
White and Transparent. Create Gradient Mesh… shows Appearance (Flat,
To Center, To Edge) and grid Repeat Options shows Grid Type the same
way. A value the dialog does not list is shown and sent unchanged.
Catalog rows are added for the labels that had none.
Part of #8020, part of #7991.
Adding a library pattern swatch reused a document pattern with the same
tile options and art even when that art paints with a pattern of the same
name and a different definition, so the library's inner pattern never came
in. A pattern whose art uses other resources is now matched by importing it
into a copy of the document, which compares those resources too.
While the Desired File Size rows are open, Enter runs the search, as
the rows' OK does, instead of saving with the current settings. An
Enter that an open dropdown takes, that a field refuses the value for,
or that is pressed with Ctrl, Cmd or Alt runs no search and does not
save either.
The stem forms of a group's English words join the group, so "setting"
finds Preferences through settings. A pick from Recent Commands with the
keyboard, which leaves the focus on its row, now gives the focus back to
the widget that had it when the palette opened.
- The steps of a live blend are written as drawn art: copies of key
objects with text wrap options no longer write those options again.
The keys keep theirs on the hidden lines and the blend keeps its own.
- The record holds Specified Distance as a 32-bit float, which the
reader reads back as its shortest decimal. The writer now compares the
blend with that distance, so a distance typed in another unit (10 mm
is 28.346456... pt) is written live when it lays out as many steps.
- blend_steps_settled has unit tests for each of its cases.
- blends_write_the_same_bytes_again checks that every blend is written
live both times.
- Comments name the blend plugin's XP line by its constant.
- docs/target-app-parity.md lists live blends in the .ai editing copy;
a line in docs/file-format-parity.md is wrapped like the rest.
Tests: a_live_blends_steps_carry_no_text_wrap_options,
a_blend_spaced_in_millimeters_is_written_live,
steps_settle_unless_rounding_can_change_their_count.
- New tests: small opaque RGB and gray images are stored as RGB PNGs and an
image with a soft mask as RGBA; an image with one row more than the
pixel limit's square is left out with a warning.
- Gray images stay RGB on import, and a comment says why: a gray PNG
would make the image one that a fill color colorizes.
- Doc comments and the docs line give the limits in GiB, the line moves
next to the line about refused PDF parts, and it no longer gives a
timing.
The reader also counts pattern brushes, a pen's included, whose bitmap
it could not read, so the warning now says "image or pattern brush".
The document.open and clipboard.importEmf params text, docs/mcp.md and
the crate doc list the new warnings. A WMF test covers an unreadable
pattern brush and a DSTINVERT bit block transfer.
craft-metafile now reports what it does not read or play as the file
asks. The importer uses it:
- A file, or a metafile image inside it, cut short by any of the
reader's limits (items, bytes kept, saved states, clip paths) warns
that what came after the limit was not read. The warning no longer
depends on the count of objects, so a file with exactly 200,000
objects opens without it.
- Images that are not read, clips that are not applied and raster
operations other than a plain copy each add a warning with a count.
A PDF, or a `.ai` read through its PDF part, was refused when one image
would decode to more than 1 GB, and the shared reader skipped images of
more than 2^28 pixels. On a 64-bit desktop build both limits are now 4 GB
and 2^30 pixels (`image_limits`), which `MAX_IMAGE_DECODED` and
`open_options()` share; 32-bit and web builds keep 1 GB and 2^28 pixels.
An image past the limit is refused with the same message.
An opaque image is encoded as an RGB PNG from its decoded samples instead
of building an alpha channel and an RGBA copy first.
Docs: docs/target-app-parity.md.
Part of #4366.
The helper that waits for an offered release's prompt now observes
every repaint request on its context, and ticks after each immediate
one until the prompt opens. An earlier immediate request on the same
context no longer hides the offer thread's request.
craft-update now reads the installed files for an offered release on
a thread of its own, and the prompt opens at a later tick. The tests
that open the prompt through an offer wait for that thread's repaint
request and tick once, and the startup prompt test uses an isolated
updater.
Every storytold/craft-libs git dependency, the hayro, krilla and
linesweeper patches and the web app's craft-web-api now use one
revision, 64b181977a, so Cargo.lock holds one copy of each craft-libs
crate. craft-ui's docking Monitor has a new work_area field; the
monitors VectorCraft lists set it to None, as winit reports no work
area.