Commit Graph
1095 Commits
Author SHA1 Message Date
Dylan M. Taylor f987648e96 eps: delegate scene-writer shading, image stream, and line style syntax to craft-ps (#8810)
* eps: delegate scene-writer shading, image stream, and line style syntax to craft-ps

* chore(eps): repin craft-ps to merged craft-libs main (cfcc86242)
2026-11-20 03:01:58 -05:00
Dylan M. Taylor 2848526796 fix: resolve two coverage test failures on main (#8813)
- eps: restore linear-time memchr::memmem::find in lex::find so
  search_in_a_loop_runs_out_of_the_budget does not hit O(N*M) under
  craft_ps::read::lex::find.
- ui-egui: wait for FontDb background scan and ensure >20 font families
  in menu_access_stationary_pointer_repeat_and_rerun_do_not_retarget_or_double_invoke
  so coverage/minimal runners do not race or fall short of 20 families.
2026-11-20 02:32:03 -05:00
Dylan M. Taylor 54f58fff31 eps: cut over PostScript scanner (lex.rs) to craft-ps (#8793)
* eps: cut over PostScript scanner (lex.rs) to craft-ps

* chore: repin craft-ps to craft-libs main
2026-11-19 21:05:18 -05:00
BFlat 6dd1363d75 Merge pull request #8784 from storytold/cutover/eps-shared-epsi
refactor(eps): delegate EPSI preview decoding to craft-eps
2026-11-20 07:10:30 +07:00
Dylan M. Taylor 7c81cd7df8 eps: document and test shared EPSI preview compatibility 2026-11-19 17:42:11 -05:00
Dylan M. Taylor 4b1d0b257b refactor(eps): delegate EPSI preview decoding to craft-eps 2026-11-19 16:26:07 -05:00
BFlat 9d334e90ea Merge pull request #8392 from dotCooCoo/feat/distort-images
Free Transform: Perspective Distort and Free Distort put an image's corners on the handles
2026-11-20 02:02:42 +07:00
BFlat 1c75bf4a04 Merge pull request #8747 from Silvertree2010/hand/ai-dynamic-symbols
Illustrator editing data keeps dynamic symbols and per-instance changes
2026-11-20 01:34:20 +07:00
NetterSilver f8ae50c823 AI editing data keeps dynamic symbols and their instance changes 2026-11-19 17:13:54 +00:00
dotCooCoo 82ef5176bc Merge main into feat/distort-images 2026-11-19 06:39:02 -08:00
BFlat 16756500bf Merge pull request #8700 from dotCooCoo/fix/print-perceptual-paper-plateau
Print: a Perceptual gradient keeps the ink below across a paper-white stretch
2026-11-19 21:33:06 +07:00
dotCooCoo 55438151f3 Merge main into feat/distort-images 2026-11-19 06:08:29 -08:00
dotCooCoo ce009c54a8 Print: a Perceptual gradient keeps the ink below across a paper-white stretch
Follow-up to #8400. A Perceptual gradient expands each segment into
stops on its OKLab curve. Between two stops of the same color the round
trip through OKLab rounded the color, so a stretch between two
paper-white stops came out as nearly white RGB. On a PostScript plate
the separator then saw ink there, and an overprinting gradient painted
over the ink below across that stretch.

Gradient::expanded now gives a stop between two stops of the same color
that color, unchanged, for every method. GradientMethod::mix and
Gradient::sample are not changed.
2026-11-19 04:48:33 -08:00
Sven Lafebre 4c20c3e21f Merge remote-tracking branch 'origin/main' into fix/8188-ai-arrowheads
# Conflicts:
#	crates/engine/src/cmd/stroke.rs
#	crates/eps/src/import/ai/read/ops.rs
#	docs/file-format-parity.md
2026-11-19 12:34:27 +01:00
bflatastic 618fb1416d Merge main into #8201
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:24:38 +07:00
BFlat 38dbb7c086 Merge pull request #8643 from dotCooCoo/fix/eps-frameless-diamond-color
EPS: a diamond gradient without a frame is its color at 1
2026-11-19 15:08:29 +07:00
BFlat 462503c3f8 Merge pull request #8642 from dotCooCoo/fix/print-hard-stop-test-checks-ink
Print: the hard-stop plate test checks where each gradient puts cyan
2026-11-19 15:08:20 +07:00
BFlat 3f0707e64f Merge pull request #7103 from dotCooCoo/feat/stylus-wheel
Brushes: an airbrush pen's stylus wheel varies brush size and width
2026-11-19 14:46:40 +07:00
Juan ManuelandClaude Opus 5.5 bf3d27e2b9 .ai import: blank area type keeps its frame, blank point type is left out quietly (#8348)
* .ai import: blank area type keeps its frame, blank point type quiet

A text object whose story is blank (nothing but spaces and line ends)
was never made (`Story::node`), so its slot
was left empty and counted in the note "text objects on hidden layers
or hidden objects couldn't be read", shown or not.

A slot of a blank story that neither the text document nor the page
fills is now settled after the page is matched, so the page's type
still takes it where the page has some for it alone:

- Blank area type and type on a path come in as a text object that
  keeps its frame or path and draws nothing (`Story::blank_frame_node`),
  as VectorCraft's Type tool keeps an empty frame (#85, #154). That
  covers a frame the page's spare type went past (`Merged`) too. It is
  kept without being weighed against the page, and so are the later
  frames of its thread.
- Blank point type draws nothing and has nothing to keep, so it is left
  out without a note, as the Type tool discards empty point type.
- A blank slot takes the page's type left over only when no other open
  slot can (`readable_first`), so it no longer takes another object's
  type by painting order.
- A blank story's thread isn't held against an unread object that takes
  one of its frames, and a thread lists only the frames still there.
  Its frames are still threaded type to warps and envelopes, which
  never take the place of such a frame.

The note for text objects still left out no longer says they are
hidden: "text objects whose type couldn't be read from the file's text
document or its page are left out".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* .ai import: a blank frame an unread object leaves alone isn't threaded type

When an unread object takes one frame of a blank story's two-frame
thread with it, the other frame is no longer threaded in the document,
but warps and envelopes still treated it as threaded type and so never
weighed it against its look. They now get the frames of the threads
actually kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Test: the lone blank frame in a warp comes in as its look, no text left

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:53:38 -05:00
jmvergesandClaude Opus 5.5 dc57c26f69 Merge main (8fcadbc3c) into fix/ai-art-brush-tints-of-a-spot-color
Conflicts in docs only (status lines, changelog rows and table rows):
main's entries and this branch's are both kept, each once. Main now has
this branch's first File formats row fix (#868) itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 05:43:15 +00:00
dotCooCoo f4b015cf08 EPS: a diamond gradient without a frame is its color at 1
A diamond gradient whose vector has no length has no inside, and the
renderer draws it with its color at 1 everywhere. With two stops at 1,
that is the first of them, which ends the stretch before it. The EPS
writer painted the last stop instead, so such a diamond came out in the
other color, and on a PostScript plate an overprinting one whose last
stop is paper white knocked out the ink below at Level 3. The writer now
paints the color at 1, and on a plate leaves the ink below when that color
is paper white, at both levels.
2026-11-18 19:13:08 -08:00
dotCooCoo c5afb93d67 Print: the hard-stop plate test checks where each gradient puts cyan
an_overprinting_gradient_with_a_hard_stop_at_an_end_keeps_the_ink_below_on_a_postscript_plate
compared each PostScript plate with the PostScript plate of the gradient
alone, so a writer that dropped the gradient from both still passed. It
now also reads the plates at fixed points (halfway along the vector, before
its start for the linear gradient, and past its end) and checks that the
gradient's own cyan prints there, alone and over the cyan below, where the
level's painter puts some down, and that the cyan below prints elsewhere.
2026-11-18 19:12:08 -08:00
dotCooCoo 3f253b4da2 Merge main into feat/distort-images 2026-11-18 18:48:32 -08:00
dotCooCoo 4080708714 Merge main into feat/stylus-wheel 2026-11-18 17:25:37 -08:00
dotCooCoo 621c06bd26 Free Transform: distorted images keep their corners and placement through files, exports and refusals
- A file's corners are kept only when there are exactly four that the
  image can take; a longer list is skipped without decoding it. Corners
  the affine map misses stay a distortion, and a scale past the
  perspective limit leaves the image at its nearest affine placement.
- Distort checks the corners in a frame local to the quad, so a missed
  corner far from the origin is still refused.
- Relink and Unembed refuse a named or selected distorted image before
  searching a folder or writing a file. Create Gradient Mesh lists the
  distorted images it leaves in `skipped`. Place with Replace refuses
  only when the measured image is distorted and the file is not text.
- SVG cuts a distorted image in a scaled symbol instance at the placed
  size. EMF pieces store only the pixels inside their clip. PDF mesh
  pieces of a CMYK image keep a same-corner mask as its soft mask, color
  mask included. Both `.ai` writers write an image at the nesting limit
  at its nearest placement with a warning. DXF warns only when it writes
  the image.
- The canvas cuts the mesh by the view's largest stretch. Warped images
  with a singular placement keep finite corners.
- docs/mcp.md and docs/plugins.md describe the tolerances, the DXF and
  WMF fallback, the partial result of Create Gradient Mesh, and when a
  plug-in sees `corners`.
2026-11-18 17:13:56 -08:00
jmvergesandClaude Opus 5.5 482981a248 Merge main (4cae5249e) into fix/ai-art-brush-tints-of-a-spot-color
Conflicts in docs only (status lines, changelog rows and table rows):
main's entries and this branch's are both kept, each once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 18:21:32 +00:00
jmvergesandClaude Opus 5.5 3d2bbf5d69 Merge main (4cae5249e) into fix/ai-grouped-clipping-paths-in-compound
Conflicts in docs only (status lines, changelog rows and table rows):
main's entries and this branch's are both kept, each once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 18:21:32 +00:00
bflatastic a87f042c7a combo: #8240
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 01:12:54 +07:00
bflatastic 1e19e9f2dd combo: #8197
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 01:12:47 +07:00
bflatastic 7987b81b3f combo: #8155
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 01:12:42 +07:00
bflatastic 123ed49734 combo: #8107
# Conflicts:
#	docs/roadmap.md
2026-11-19 01:12:38 +07:00
bflatastic ff7870ba7f combo: #6060 2026-11-19 01:12:31 +07:00
bflatastic 2a83263f14 combo: #6048 2026-11-19 01:12:31 +07:00
bflatastic 99280586fd combo: #6040 2026-11-19 01:12:30 +07:00
bflatastic da922c49e3 Merge main into #8240
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 01:06:40 +07:00
bflatastic eab8a25837 Merge main into #8197
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 01:06:29 +07:00
bflatastic 56b56463aa Merge main into #8155
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 01:06:24 +07:00
bflatastic f00809219f Merge main into #8107
# Conflicts:
#	docs/file-format-parity.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 01:06:19 +07:00
bflatastic e5dbf5b0e8 Merge main into #6060
# Conflicts:
#	docs/file-format-parity.md
2026-11-19 01:05:42 +07:00
bflatastic 1c50930576 Merge main into #6048
# Conflicts:
#	docs/file-format-parity.md
2026-11-19 01:05:36 +07:00
bflatastic 69c9e2a6e6 Merge main into #6040
# Conflicts:
#	docs/file-format-parity.md
2026-11-19 01:05:24 +07:00
bflatastic 774e6e1127 Merge main into #6026
# Conflicts:
#	docs/file-format-parity.md
2026-11-19 01:05:18 +07:00
dotCooCoo 6cd6d22167 Merge main into fix/print-overprint-gradient-zero-stops 2026-11-18 07:33:08 -08:00
dotCooCoo 18c4a7b965 Merge main into feat/stylus-wheel 2026-11-18 07:27:22 -08:00
dotCooCoo 45835405a5 Merge main into feat/distort-images 2026-11-18 01:42:11 -08:00
BFlat 202ecc1e91 Merge pull request #8440 from dotCooCoo/perf/ai-save-gradient-index
.ai save: gradient and pattern definitions are found by name and by gradient
2026-11-18 15:09:48 +07:00
BFlat 56bc5fe7cb Merge pull request #8515 from dotCooCoo/perf/eps-token-search-in-place
EPS import: token and search read a string in place instead of copying it
2026-11-18 13:53:14 +07:00
dotCooCoo 9e059d6e99 Merge main into perf/ai-save-gradient-index 2026-11-17 22:38:32 -08:00
BFlat e49686185e Merge pull request #8465 from dotCooCoo/feat/scatter-brush-hue-jitter
Brushes: Scatter Brush Options has Hue Jitter, a per-copy hue turn
2026-11-18 13:15:11 +07:00
BFlat 1dad5aeb75 Merge pull request #8472 from dotCooCoo/perf/ai-save-font-record-once
.ai save: resolve each run's font once per font
2026-11-18 13:04:34 +07:00