Commit Graph
21714 Commits
Author SHA1 Message Date
jmvergesandClaude Opus 5.5 68fdaf8e79 .ai save: type in a spot ink keeps its swatch link
Type in a spot ink or a global process color was saved to the text
document as its process values alone (a /SimplePaint with key 0), so
the saved file opened with the type in a plain process color: off its
ink's plate on separations, and white type in a white ink on none.
Saving warned about it ("swatch links of its colors").

A run's fill or stroke now names (key 5 of a /CAITextPaint) an art
style of one paint, its fill alone on (`0 1 Xd`), whose paint is the
color as a path's fill writes it (`x`, `Xx`, `Xk`, or `Xs` for
Registration). That is the form the .ai reader takes the ink and the
tint from since the previous change; key 0 keeps the process values.
Each style is read back with the reader's own parser before it is
used, and a link is kept only when it gives the same swatch and tint.
Those runs no longer count among the attributes of type left out;
a link to a process swatch that isn't global still does, and the
warning's text now says so.

Test in crates/eps/src/ai_editing/tests.rs. The parity doc has the row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 19:02:54 +00:00
jmvergesandClaude Fable 5.2 e8c8071e76 .ai import: a style holds a swatch color for type only as its one paint
The color a one-paint style holds for type was kept whenever its last
paint was a fill color with a swatch. A stroke color set before the
fill's still linked the type, and the style's `Xd` wasn't looked at, so
a style with its fill off gave its color too.

The style now holds the color only when its `Xd` turns on the fill
alone (`0 1 Xd`) and nothing sets a stroke's color or pattern, before
or after the fill's. No file I have writes a style any other way, so
this changes no real file; the pattern a style holds for type is read
as before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 17:36:41 +00:00
jmvergesandClaude Fable 5.2 0d871225e9 .ai import: type set in a spot ink keeps its ink
Type set in a spot ink or a global process color opened as a plain
process color: right on screen, but on separations it printed on the
process plates, and white type in a white ink on none.

In the text document a character's fill or stroke is a color (key 0)
and the name of an art style (key 5). For a color with a swatch, key 0
keeps only its process values at its tint; the name and the tint are in
the style, a style of one paint (`c m y k (name) tint x`, `Xx`, `Xk`),
always its fill's, for a stroke too. The reader took key 0 alone.

The style reader now keeps that paint (`ArtStyle::simple_color`), the
way it already keeps a one-paint style's pattern, and the type takes it
in place of key 0's color: the color at its tint, linked to its swatch.
The styles' named colors make their swatches with the art's (after the
art's colors, before the header's custom colors), so type and art in
one ink share a swatch, and a color that takes a free name is linked by
that name. Registration is linked to the built-in swatch.

`Texts::with_patterns` and the fields beside it are renamed to
`with_paints`, since they now hold both.

Tests in crates/eps/src/import/tests_native.rs, ate.rs and
ai/style/tests.rs. The parity doc has the row.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 12:10:41 +00:00
BFlat 97da102592 Merge pull request #9692 from dotCooCoo/fix/flattener-live-dialog-fields
Use the resolution typed into Transparency Flattener dialogs
2026-11-27 12:57:58 +07:00
.CooCoo f566e5689f Merge pull request #9712 from dotCooCoo/fix/expand-live-form-fields
Apply edited Fill, Stroke, and Gradient settings in Expand
2026-11-26 21:55:11 -08:00
.CooCoo 949e8bcb21 Merge pull request #9708 from dotCooCoo/fix/immediate-paste-approvals-after-revert
Keep immediate paste approvals with their original drawing
2026-11-26 21:48:12 -08:00
.CooCoo 36f4df135a Merge pull request #9704 from dotCooCoo/fix/tangent-circle-live-form-fields
Use the radius and circle chosen in Tangent Circle
2026-11-26 21:47:43 -08:00
.CooCoo 746a532b42 Merge pull request #9663 from dotCooCoo/fix/artboard-background-picker-after-revert
Keep an old artboard Background Color Picker off the restored artboard
2026-11-26 21:47:26 -08:00
.CooCoo 2da30768ac Merge pull request #9642 from dotCooCoo/fix/recolor-draft-file-revert
Keep a Recolor Artwork draft off restored artwork
2026-11-26 21:47:09 -08:00
.CooCoo 90a5a75cca Merge pull request #9700 from dotCooCoo/fix/dashes-hosted-form-edits
Apply typed lengths in Divide into Dashes
2026-11-26 21:46:40 -08:00
.CooCoo d81dfda2ed Merge pull request #9696 from dotCooCoo/fix/hyphenation-hosted-field-bind-mac2
Keep Hyphenation edits in the hosted draft
2026-11-26 21:46:22 -08:00
.CooCoo 12cd478ab0 Merge pull request #9685 from dotCooCoo/fix/corners-live-dialog-fields
Apply the typed Corners radius only to the selected corners
2026-11-26 21:46:04 -08:00
.CooCoo 1975312f91 Merge pull request #9681 from dotCooCoo/fix/perspective-grid-widget-live-fields
Show saved preferences in Perspective Grid Options
2026-11-26 21:45:47 -08:00
.CooCoo 949d429e8a Merge pull request #9677 from dotCooCoo/fix/held-dialog-opening-identity
Keep held approvals attached to the dialog opening that produced them
2026-11-26 21:45:29 -08:00
.CooCoo dfeba17642 Merge pull request #9673 from dotCooCoo/fix/save-library-after-revert
Keep Save Library tied to the drawing contents that opened it
2026-11-26 21:45:12 -08:00
.CooCoo 5b50945081 Merge pull request #9668 from dotCooCoo/fix/stroke-editor-style-enum-bridge
Preserve cap, join and alignment in the Stroke editor
2026-11-26 21:44:54 -08:00
.CooCoo f9a5bf8d2d Merge pull request #9649 from dotCooCoo/fix/composite-font-editor-after-revert
Keep old Composite Fonts drafts off restored definitions
2026-11-26 21:44:38 -08:00
.CooCoo 528845ab40 Merge pull request #9653 from dotCooCoo/fix/linked-swatch-proxy-document
Keep linked Fill and Stroke swatch drops in their source drawing
2026-11-26 21:44:21 -08:00
.CooCoo 3f5fa3375a Merge pull request #9648 from dotCooCoo/fix/place-browser-buffer-with-dialog
Release browser Place file buffers when their dialog closes
2026-11-26 21:44:03 -08:00
.CooCoo 9187905026 Merge pull request #9705 from dotCooCoo/fix/text-tweaker-live-form-fields
Use the values chosen in Text Tweaker
2026-11-26 21:43:57 -08:00
.CooCoo db489c2266 Merge pull request #9701 from dotCooCoo/fix/symbol-options-live-form-fields
Apply live edits in Symbol Options
2026-11-26 21:43:45 -08:00
.CooCoo a251f6bb0c Merge pull request #9697 from dotCooCoo/fix/hosted-command-dialog-fields
Use typed values in command dialog live previews
2026-11-26 21:43:32 -08:00
.CooCoo 5e6e46f4ca Merge pull request #9707 from dotCooCoo/fix/envelope-live-form-fields
Apply live controls in Envelope Warp and Mesh
2026-11-26 21:43:29 -08:00
.CooCoo c6f06e2fc7 Merge pull request #9703 from dotCooCoo/fix/smooth-bridge-hosted-form-edits
Apply Smooth Bridge edits to Preview and OK
2026-11-26 21:43:17 -08:00
.CooCoo 5557dc44ef Merge pull request #9693 from dotCooCoo/fix/indexed-color-live-fields
Update the Indexed Color preview when form values change
2026-11-26 21:43:13 -08:00
.CooCoo cd1caad7d0 Merge pull request #9699 from dotCooCoo/fix/select-addon-popup-cancel
Restore the original Select add-on choices after Escape
2026-11-26 21:42:53 -08:00
.CooCoo ccd3b3486c Merge pull request #9678 from dotCooCoo/fix/image-trace-drafts-after-file-revert
Restore saved Image Trace settings after File Revert
2026-11-26 21:42:41 -08:00
.CooCoo 363c4777e0 Merge pull request #9669 from dotCooCoo/fix/shortcut-import-file-json-size
Check shortcut JSON file size before parsing
2026-11-26 21:42:28 -08:00
.CooCoo db98a27dd8 Merge pull request #9695 from dotCooCoo/fix/variables-hosted-field-edits
Apply live edits in Variable and Data Set dialogs
2026-11-26 21:42:23 -08:00
.CooCoo 1ff7fdcfff Merge pull request #9637 from dotCooCoo/fix/localized-built-in-effect-settings
Effects: translate built-in settings labels
2026-11-26 21:42:14 -08:00
.CooCoo 0c1ed20721 Merge pull request #9659 from dotCooCoo/fix/placement-options-linked-file-after-revert
Keep a Placement Options approval off a restored link
2026-11-26 21:42:11 -08:00
.CooCoo 402a5e8e5f Merge pull request #9633 from dotCooCoo/fix/live-paint-gap-options-after-revert
Keep Live Paint Gap Options from editing restored artwork
2026-11-26 21:41:57 -08:00
.CooCoo cb898b30d0 Merge pull request #9691 from dotCooCoo/fix/print-presets-default-caption
Translate the Default name in Print Presets details
2026-11-26 21:41:53 -08:00
.CooCoo 73e00bc1d5 Merge pull request #9628 from dotCooCoo/fix/new-color-group-approval-after-revert
Require fresh New Color Group choices after Revert
2026-11-26 21:41:39 -08:00
.CooCoo e6a36d94a3 Merge pull request #9684 from dotCooCoo/fix/text-export-selection-after-dialog
Keep Text Export selection options on the artwork that opened them
2026-11-26 21:41:35 -08:00
.CooCoo 6f745c41c0 Merge pull request #9624 from dotCooCoo/fix/recolor-browser-other-library
Open browser-picked swatch libraries from Recolor Artwork
2026-11-26 21:41:22 -08:00
.CooCoo 77ccc84e7c Merge pull request #9680 from dotCooCoo/fix/composite-font-import-avoid-oversize-copy
Reject oversized Composite Fonts imports before copying file contents
2026-11-26 21:41:16 -08:00
.CooCoo 6746da697b Merge pull request #9620 from dotCooCoo/fix/ui-kinsoku-revert-owner
Keep Kinsoku Shori drafts off reverted drawings
2026-11-26 21:41:04 -08:00
.CooCoo 049b877821 Merge pull request #9676 from dotCooCoo/fix/spelling-reopen-keeps-layer-scope
Keep the Check All Layers choice when reopening Check Spelling
2026-11-26 21:40:58 -08:00
.CooCoo b9e7caefda Merge pull request #9672 from dotCooCoo/fix/zoom-malformed-entry-status
Show feedback when a zoom entry uses only a valid prefix
2026-11-26 21:40:46 -08:00
.CooCoo 3d400947bf Merge pull request #9666 from dotCooCoo/fix/check-spelling-walk-after-revert
Keep a spelling change on the drawing contents where the check began
2026-11-26 21:40:33 -08:00
.CooCoo d95b164b09 Merge pull request #9634 from dotCooCoo/fix/define-grid-after-revert
Keep Define Grid options from replacing a restored grid
2026-11-26 21:40:28 -08:00
.CooCoo ac4b2acbf1 Merge pull request #9662 from dotCooCoo/fix/swatch-options-after-revert
Keep Swatch Options from changing a restored swatch
2026-11-26 21:40:21 -08:00
.CooCoo 33f9b38127 Merge pull request #9656 from dotCooCoo/fix/split-grid-reloaded-drawing
Retire Split Into Grid drafts after File Revert
2026-11-26 21:40:08 -08:00
.CooCoo 22d4af6ff8 Merge pull request #9652 from dotCooCoo/fix/ui-smart-punctuation-selection
Keep Smart Punctuation within the selected text scope
2026-11-26 21:39:56 -08:00
.CooCoo fbb4944e07 Merge pull request #9616 from dotCooCoo/fix/ui-symbol-delete-revert
Keep Delete Symbol approvals off reverted drawings
2026-11-26 21:39:52 -08:00
.CooCoo e2b73471d8 Merge pull request #9645 from dotCooCoo/fix/cjk-text-options-after-revert
Keep Warichu and Tate-chu-yoko drafts off restored text
2026-11-26 21:39:33 -08:00
.CooCoo 7071ed9c39 Merge pull request #9597 from dotCooCoo/fix/gradient-no-drawing-command
Keep Gradient swatch actions aligned with the active drawing
2026-11-26 21:39:30 -08:00
.CooCoo c0d4f6be5a Merge pull request #9640 from dotCooCoo/fix/flare-options-restored-doc
Keep old Flare Tool Options from drawing after Revert
2026-11-26 21:39:21 -08:00
.CooCoo a86e358c94 Merge pull request #9636 from dotCooCoo/fix/canvas-linked-swatch-source-drawing
Keep linked Canvas swatch drops in their source drawing
2026-11-26 21:39:09 -08:00