Commit Graph
7161 Commits
Author SHA1 Message Date
BFlat f20bc1c97f Merge pull request #8320 from dotCooCoo/fix/flare-ring-seed-mixing
Flare: distribute the first ring for small seeds
2026-11-17 21:32:44 +07:00
BFlat 271a28840c Merge pull request #8246 from dotCooCoo/feat/ai-editing-data-meshes
.ai save: the editing copy keeps gradient meshes
2026-11-17 21:32:35 +07:00
dotCooCoo 9ef93eb563 Swatches: a library pattern keeps a global color whose name the document uses
When Add to Swatches brought a library pattern whose art links to a global
or spot color, and the document had that name for another color, the
pattern was relinked to the document's color. Adding the library's color
then made a numbered copy that the pattern did not use. The color now comes
in under a numbered name and the pattern links to it, as an added color
does, and the check for a pattern already in the document compares it the
same way.
2026-11-17 06:20:11 -08:00
dotCooCoo badaf937e3 Fix #8316: preserve native CMYK PSD composites 2026-11-17 06:19:51 -08:00
Don Omondi 4881a46f34 Merge remote-tracking branch 'upstream/main' into fix/twist-smooth-7069
# Conflicts:
#	docs/effects-parity.md
#	docs/target-app-parity.md
2026-11-17 08:33:56 -05:00
dotCooCoo 8f0379cc3f Flare: distribute the first ring for small seeds 2026-11-17 05:07:35 -08:00
BFlat c4163015d9 Merge pull request #8311 from Hassan1305/fix-8300-pdf-fill-only-after-stroke
PDF import: a glyph filled only after one filled and stroked stays unstroked
2026-11-17 19:51:28 +07:00
dotCooCoo 21feb686cf Merge main into feat/ai-editing-data-meshes 2026-11-17 04:04:45 -08:00
BFlat 277e0f2742 Merge pull request #7330 from dotCooCoo/fix/blob-params-rejected
Blob Brush: path.blob rejects invalid fidelity, angle and roundness
2026-11-17 18:49:52 +07:00
BFlat b016b56635 Merge pull request #7357 from dotCooCoo/fix/ai-brush-mask-art
.ai editing data: Scatter and Art brushes keep their art's opacity masks
2026-11-17 18:49:43 +07:00
BFlat ea76338f43 Merge pull request #8305 from dotCooCoo/fix/color-guide-spot-link
Color Guide: renaming, deleting or unspotting the base spot color keeps the link right
2026-11-17 18:49:34 +07:00
BFlat 9908e10781 Merge pull request #8299 from dotCooCoo/fix/pdfx-xmp-metadata-date
PDF/X: PDF/X-4 files carry xmp:MetadataDate, equal to xmp:ModifyDate
2026-11-17 18:49:07 +07:00
HassanKhan 8eb4416945 Docs: record #8300 in the current File formats rows of target-app-parity 2026-11-17 16:15:52 +05:00
dotCooCoo 090354b9dd Preferences: the empty-line test points at a Slices row, and the Type line follows main's lines
main now has sentences for Guides & Grid, so `a_row_without_a_description_leaves_the_line_empty`
points at Slices › Show Slice Numbers, which has no sentence. `docs/target-app-parity.md` keeps
main's General line once and adds Type to the categories that have sentences.
2026-11-17 03:00:31 -08:00
HassanKhan 007180e2f3 PDF import: a glyph filled only after one filled and stroked stays unstroked (#8300)
Look::takes let a glyph filled only join a run whose glyphs were also
stroked, so after mode 2 text a mode 0 glyph took the run's stroke:
`2 Tr (B) Tj 0 Tr (C) Tj` came in as "BC" stroked throughout. A glyph
now joins only a run drawn alike (fill, stroke, overprints), so a glyph
filled only starts a run of its own and takes a stroke only when the
matched-stroke path (#8039) strokes it.

flush_stroke no longer strokes a whole run in place: a whole run goes
through the split and join code, so fill and stroke rendering glyph by
glyph still builds one stroked run.
2026-11-17 15:59:49 +05:00
dotCooCoo 0bd700ee0c Merge main into feat/prefs-descriptions-type 2026-11-17 02:37:30 -08:00
BFlat 6d5767bf10 Merge pull request #8264 from dotCooCoo/feat/prefs-descriptions-smart-guides
Preferences: the line under the fields describes each Smart Guides setting
2026-11-17 17:28:55 +07:00
BFlat 990c8cc916 Merge pull request #8233 from dotCooCoo/feat/save-for-web-optimize-to-size
Save for Web: Optimize to File Size picks the settings that bring the image under a typed size
2026-11-17 17:28:44 +07:00
BFlat 567485aa12 Merge pull request #8263 from dotCooCoo/feat/print-ink-spot-to-process
Print: Document Ink Options converts one chosen spot ink to process
2026-11-17 17:28:34 +07:00
dotCooCoo 219ad4fbf0 Color Guide: renaming, deleting or unspotting the base spot color keeps the link right
A Swatch Options rename of the spot color base keeps it the base, also
as a command.batch step, and so do an Undo and a Redo of the rename.
Deleting the swatch or its color group, merging it into another, making
it a process color or closing its document ends the link, so a later
spot color of the same name does not become the base until it is chosen
again. The base keeps the color it showed.

A batch's Activate Document, New, Open, Close and Move Document steps
are followed, so steps in another document leave the link alone. When
the swatch goes in a way the panel does not follow, the link waits for
an Undo or Redo, and the next other command ends it.
2026-11-17 01:12:55 -08: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
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 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
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 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