It still said Illustrator's editing data isn't written, while the other
two File formats rows give what a saved `.ai`'s editing copy leaves out.
It now has their words. Scores and estimates unchanged.
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>
The check that a stack's patterns are each its own took each style item's
pattern once, but not that the drawn look places it one way:
`placed_paints` keeps a pattern's first placement, so a look filling with
one pattern at two placements, for a style that names it once, came in
with the first placement for both. `placed_paints` now also notes each
pattern the look places otherwise than its first placement, and a stack
with such a pattern keeps its drawn look. The same placement again, as a
compound path's look has for each subpath, is still one.
Test `a_look_placing_a_stacks_pattern_twice_keeps_the_drawn_look` (two
placements keep the look; the same one twice comes in as the path).
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>
The row said an envelope of type that paints nothing opens live, which
reads as if the type painting nothing were enough. It also takes drawn
art that paints nothing, as the other docs say.
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>
When nothing paints the shapes aren't compared, so a fill added to the
type later may bend it unlike the unpainted outlines the file saved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It still said Illustrator's editing data isn't written, while the other
two File formats rows give what a saved `.ai`'s editing copy leaves out.
It now has their words. Scores and estimates unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The area rows and the evidence list name the change and its tests, as
AGENTS.md asks of a change that lands. Scores and estimates unchanged.
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>
It still said Illustrator's editing data isn't written, while the other
two File formats rows give what a saved `.ai`'s editing copy leaves out.
It now has their words. Scores and estimates unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The area rows and the evidence list name the change and its test, as
AGENTS.md asks of a change that lands. Scores and estimates unchanged.
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>
It still said Illustrator's editing data isn't written, while the other
two File formats rows give what a saved `.ai`'s editing copy leaves out.
It now has their words. Scores and estimates unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The area rows and the evidence list name the change and its tests, as
AGENTS.md asks of a change that lands. Scores and estimates unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Illustrator writes a clipping mask of type from the text document as a
clipping group (`q` ... `Q`) with no clipping path (`W`), the text object
(`/AI11Text`) last. The reader took only `W` paths (and legacy type in
rendering modes 4 to 7) as clipping paths, so it read such a group unclipped:
its art painted past the letters, and where the layers then differed too much
from the page the file opened as its page.
- `Reader::end_container` records each clipping group with no clipping path
whose last object is a text slot (not the type a look draws) in
`Structure::type_clips`, by the group's id. The group is still read as it is:
the slot is filled later.
- `clip_by_type` (crates/eps/src/import/ai/read.rs) moves the type to the
front as the group's clipping path once its slot became one text object that
is still the group's last object. A slot left empty or filled with several
objects (type and the strokes the page draws around it) leaves the group as
read, unclipped, as before.
- The layers apply it after `fill_slots`; such type is never weighed as type
the page doesn't draw (`MADE` is taken off), since the page shows it by what
it clips. Envelopes of type apply it to their contents after `put_type`, so
one opens live where its drawn art shows the clip (`WarpedType::type_clips`).
Measured on 224 garment files we own (used locally, never committed): 14 renders
change; 12 come closer to the file's own page (for example 15.7 % → 0.07 %,
26.5 % → 0.28 %, 58.5 % → 1.4 % of the page differing), one file has no PDF
content to compare with, and in one the texture inside a word changes along
the letters' edges (0.35 % → 0.56 %). Envelopes of type that open live stay at
185; no file opens another way and no note changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A PDF/X-4 export wrote xmp:ModifyDate and xmp:CreateDate in its XMP
metadata but no xmp:MetadataDate. The PDF/X-4 metadata edit now adds
xmp:MetadataDate next to xmp:ModifyDate, with the same value, and grows
the stream's /Length to match. When the export dates the file as modified
later, post::modification_date already rewrites every xmp:MetadataDate,
so the two dates stay equal.
PDF/X-1a, PDF/X-3, PDF/A and plain PDF exports are unchanged.
The cached Summary's stamp now also includes the saved flattener presets, the loaded color profiles and the available fonts, so deleting the flattener preset the dialog names, or removing the profile it converts to, while the dialog stays open no longer leaves the Summary section and ui.pdfSummary.save showing settings that a fresh computation refuses.
A fill and a stroke at the same opacity below 1 were joined into one
type object whose opacity then applies to both together, losing the
darker overlap the file composites. stroke_filled now takes a stroke
only when the fill and the stroke are opaque.
An upright glyph filled and stroked was kept as an outline for the
reshaped-outline fallback while upright glyphs filled only were not;
it is no longer kept either, so such a line can't come in as the
outlines of its stroked glyphs alone.
Docs: the #8015 entries say what is left (translucent type, and a TJ
that starts a new line part way through).
The cached Summary's stamp now includes the saved PDF presets, so replacing the preset the dialog compares against while the dialog stays open no longer leaves the Summary section and ui.pdfSummary.save showing the old comparison.
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.