Type with dashes aligned to corners, and strokes past the 256 checks an
import makes, keep their drawn look; the status line said only that such
strokes come in live where they draw as their look.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The status line, the M4 Files row and the revision history name the
change, as AGENTS.md asks of a change that lands. Estimates unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Besides the reader of its layers, a file whose layers come from its PDF
part is read again over all of its data for its artboards (once more for
the page scale), its variable library, its swatches, brushes, graphic
styles and symbols. Each of those readers started with every envelope
check (`MAX_CHECKED`) and every aligned-dash check (`MAX_DASH_CHECKS`)
an import has, so such a file could draw several times the strokes the
limit allows.
- The artboard and variable-library readers start with no checks
(`reader_aside`): neither depends on how a stroke or an envelope draws.
- The swatch, brush, style and symbol readers, which need only what
comes before the first layer, make no more checks once they reach it
(`Reader::defs_only`). What they read is unchanged in files that write
their definitions before their layers, as saved files do (symbols after
the first layer aren't read at all). A pattern tile or brush art defined
after the first layer is still read, without checks: it draws the same,
and keeps its drawn art where it could have come in live.
Definitions read before the layers (pattern tiles, brush art, symbols)
are still checked by each of those readers within the limit.
Test `the_reads_apart_from_the_layers_check_no_aligned_dashes`, which
counts the checks made (`DASH_CHECKS_MADE`, in tests only).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A stroke in an art style whose dictionary turns on aligning dashes to
corners and path ends (`BSDashAdj`) made the reader keep the object's
drawn look, the dashes fitted to the path as outlines that can't be
edited. VectorCraft draws such dashes itself (`Dash::align_corners`).
The style now reads the stroke with its dashes aligned. The reason the
look was kept (#1439: the style's dash array doesn't hold the fitted
pattern) still holds, as the fitting is VectorCraft's own, so the reader
takes the stroke only where the object with it draws as its drawn look,
through the check images with a Warp already use (now `look_alike`).
Aligned dashes have checks of their own (`MAX_DASH_CHECKS`) and don't
weigh the page, so the envelopes' checks and share of the page check stay
theirs. Elsewhere, past those checks and on type, the look stays.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
- 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.