Commit Graph
7959 Commits
Author SHA1 Message Date
jmvergesandClaude Opus 5.5 90ba03faa9 docs: the first File formats row names the saved editing copy's limits (#868)
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>
2026-11-17 07:42:46 +00:00
jmvergesandClaude Opus 5.5 88c2c3558f docs: note type clipping masks (#8106) in the File formats rows and evidence
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>
2026-11-17 07:42:46 +00:00
jmvergesandClaude Opus 5.5 f71fe2e5d8 .ai import: type that ends a clipping group without a clipping path clips it
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>
2026-11-17 07:42:46 +00:00
dotCooCoo 30693f211b PDF/X: PDF/X-4 files carry xmp:MetadataDate, equal to xmp:ModifyDate
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.
2026-11-16 23:41:52 -08:00
dotCooCoo 566d5263b9 Merge main into feat/ai-editing-data-meshes 2026-11-16 23:38:43 -08:00
dotCooCoo c61d429df2 Merge main into fix/ai-brush-mask-art 2026-11-16 23:36:04 -08:00
HassanKhan b12bacf3c8 Merge remote-tracking branch 'upstream/main' into fix-8015-pdf-text-fill-stroke
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-17 12:34:29 +05:00
BFlat b4d45f2b0d Merge pull request #8291 from dotCooCoo/fix/rasterize-choice-controls
Rasterize: Anti Alias and Background are dropdowns in the dialog
2026-11-17 14:32:35 +07:00
BFlat 6a2fa16cd1 Merge pull request #8289 from dotCooCoo/feat/ai-blends-in-editing-copy
.ai save: the editing copy keeps live blends
2026-11-17 14:32:25 +07:00
BFlat ed2bbe0a2f Merge pull request #8234 from datatimp/fix/8217-layers-alt-drag-copy-cursor
Layers panel: Alt shows the copy cursor while rows are dragged
2026-11-17 14:32:15 +07:00
HassanKhan 971b13843b PDF import: translucent fill-and-stroke type stays two objects (#8015)
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).
2026-11-17 11:59:20 +05:00
datatimp 47c3de29f1 Merge upstream/main into fix/8237-layers-alt-drop-copy-beside-itself 2026-11-17 01:39:23 -05:00
HassanKhan d3640da834 Merge remote-tracking branch 'upstream/main' into fix-8015-pdf-text-fill-stroke
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-17 11:33:21 +05:00
dotCooCoo a4faf28146 Merge main into feat/print-ink-spot-to-process 2026-11-16 22:16:20 -08:00
dotCooCoo bf1ab043f5 Merge main into feat/prefs-descriptions-smart-guides 2026-11-16 22:15:59 -08:00
dotCooCoo 8d4011f997 Merge main into feat/prefs-descriptions-type 2026-11-16 22:10:27 -08:00
datatimp 6c3809ab2c Merge upstream/main into fix/8217-layers-alt-drag-copy-cursor 2026-11-17 01:09:30 -05:00
dotCooCoo 6a6d6fb801 Save for Web: Auto Select counts the colors written over the matte
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.
2026-11-16 22:09:06 -08:00
BFlat eb07fb4a82 Merge pull request #8199 from dotCooCoo/feat/prefs-descriptions-general
Preferences: the line under the fields describes each General setting
2026-11-17 13:08:45 +07:00
BFlat 338fbada9d Merge pull request #8184 from dotCooCoo/feat/ellipse-dialog-height-copies-width
Ellipse: a click on the word Height in the click dialog copies Width into Height
2026-11-17 13:08:35 +07:00
BFlat 1f13cb80eb Merge pull request #8226 from dotCooCoo/feat/save-pdf-alt-reset
Save PDF: holding Alt turns Cancel into Reset
2026-11-17 13:08:25 +07:00
BFlat ee1a2a8816 Merge pull request #8253 from dotCooCoo/feat/color-guide-spot-tints
Color Guide: a spot color base gives tints of that spot color
2026-11-17 13:08:18 +07:00
BFlat 60bf9bcc89 Merge pull request #8170 from dotCooCoo/feat/print-overprint-black
Print: Overprint Black overprints solid black art on separations
2026-11-17 13:08:09 +07:00
dotCooCoo f8ccbf72f5 Rasterize: Anti Alias and Background are dropdowns in the dialog
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.
2026-11-16 21:54:56 -08:00
dotCooCoo a7ab77f9df Merge main into feat/arrange-documents-layouts 2026-11-16 21:52:13 -08:00
dotCooCoo 3829880993 .ai save: a live blend's steps carry no text wrap; metric distances stay live
- 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.
2026-11-16 21:19:00 -08:00
dotCooCoo 5d57d83a7c PDF import: test opaque and masked images and the image pixel limit
- 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.
2026-11-16 21:02:47 -08:00
dotCooCoo 425c21a9c9 Merge main into fix/status-notes-copy-cut-trace 2026-11-16 20:51:55 -08:00
dotCooCoo d39471962e Merge main into feat/script-file-folder-write 2026-11-16 20:51:55 -08:00
BFlat 42193ed3ca Merge pull request #8085 from dotCooCoo/feat/app-bar-search-field
App bar: a search field in place of the search icon
2026-11-17 11:45:15 +07:00
BFlat b506bdc525 Merge pull request #8228 from dotCooCoo/feat/webp-lossy-quality
WebP: Lossy with a Quality setting writes a lossy WebP file
2026-11-17 11:45:05 +07:00
BFlat 206b7f525a Merge pull request #8040 from dotCooCoo/feat/help-search-commands-first
Help: Search Commands… is the first Help menu item
2026-11-17 11:44:56 +07:00
BFlat f1f17409af Merge pull request #8243 from dotCooCoo/fix/ai-blend-record-orientation
.ai import: a live blend keeps its record's orientation and no spine
2026-11-17 11:44:48 +07:00
BFlat 932d4d151f Merge pull request #8262 from dotCooCoo/perf/ai-native-parse-once
.ai import: a file opened without its PDF part reads its text document once
2026-11-17 11:44:40 +07:00
dotCooCoo 950d54e843 Metafile import: name pattern brushes in the unread-image warning and list the new warnings
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.
2026-11-16 20:42:13 -08:00
dotCooCoo a8b658a33e Merge main into fix/tool-set-option-errors 2026-11-16 20:33:41 -08:00
dotCooCoo dc82ff860e Metafile import: warn about images, clips and raster operations the reader leaves out
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.
2026-11-16 20:24:36 -08:00
dotCooCoo 977024a4e9 PDF import: 64-bit desktop builds open images up to 4 GB and 2^30 pixels
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.
2026-11-16 20:16:38 -08:00
dotCooCoo 4c1d696935 Merge main into feat/artboard-edge-button-tooltips 2026-11-16 19:57:02 -08:00
dotCooCoo 8eaed941a1 Merge main into feat/save-pdf-alt-reset 2026-11-16 19:56:13 -08:00
dotCooCoo 7ce855ce97 Merge main into feat/print-overprint-black 2026-11-16 19:56:05 -08:00
dotCooCoo ff6e3ad8b9 Merge main into feat/text-import-character-sets 2026-11-16 19:55:55 -08:00
dotCooCoo fee9c6a531 Merge main into feat/prefs-descriptions-general 2026-11-16 19:54:41 -08:00
dotCooCoo 6ab39d6947 Merge main into feat/prefs-descriptions-type 2026-11-16 19:54:06 -08:00
dotCooCoo 5f10ecf89a Merge main into feat/ellipse-dialog-height-copies-width 2026-11-16 19:52:46 -08:00
dotCooCoo 913c5c88b9 Merge main into feat/save-for-web-optimize-to-size 2026-11-16 19:49:10 -08:00
dotCooCoo dea8ab9b68 Merge main into feat/color-guide-spot-tints 2026-11-16 19:47:49 -08:00
dotCooCoo 402980ec82 Merge main into feat/prefs-descriptions-smart-guides 2026-11-16 19:47:12 -08:00
yoriswind 443b081128 Merge upstream main and retain independent parity history 2026-11-16 19:11:21 -08:00
BFlat 973a33e1fb Merge pull request #7949 from dotCooCoo/feat/circle-through-three-points
Shapes: draw the circle through three points
2026-11-17 09:49:57 +07:00