Commit Graph
155 Commits
Author SHA1 Message Date
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 dafade6173 Merge main into feat/proof-setup-customize
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	crates/ui-egui/src/i18n/tests.rs
2026-11-19 05:04:12 -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
BFlat df42e09ba5 Merge pull request #7733 from dotCooCoo/feat/color-profile-ask-prompts
Color Settings: Ask When Opening and Ask When Pasting prompt about profile mismatches
2026-11-19 14:52:30 +07:00
dotCooCoo 95ed13dd80 Color Settings: answer the review of the profile prompts
- An absolute-colorimetric conversion from CMYK starts from the source's
  absolute appearance.
- An assigned profile that was removed counts as the working space when
  copied colors are compared.
- Colors that can't convert are listed with convertible false, start on
  Preserve Numbers, and the dialog disables Convert for them.
- Paste on All Artboards leaves the backgrounds of copied artboards out of
  the question (clipboard.profileMismatch allArtboards).
- A converting paste into its own document keeps its image keys.
- An open answer is refused once Color Settings change the question; the
  dialog asks the new question, or opens by the policy.
- Files opened while a question is open ask their own questions in turn.
- OK on the paste question and on Swatch Conflict checks again where the
  paste runs and asks again when the question changed.
- docs/mcp.md and the command help describe these rules.
2026-11-18 15:42:03 -08:00
dotCooCoo ada4f67f33 Proof Setup: a loaded CMYK profile's black follows black-point compensation
A loaded ICC CMYK profile as the device to simulate showed its darkest
ink without the color settings' black-point compensation, so Simulate
Black Ink made no difference there. It now shows it as the working CMYK
proof of the same profile does, and Simulate Black Ink shows the press
black as gray.

Cancel and turning Preview off now put back the proof view the dialog
found even when its device profile was removed since, and redraw the
documents. Running Proof Setup again while the dialog is open keeps
the open dialog, so Cancel still restores the first view.

The Preserve CMYK Numbers tests put the working color settings back
when they end, a failing run included, and the mask test checks the
proofed square's coverage against the unmasked K100 square and the
page.
2026-11-18 14:23:29 -08:00
dotCooCoo 3903d948d4 Proof Setup: a CMYK device that is not loaded leaves colors as they are
With Preserve CMYK Numbers on and a CMYK device whose profile is not
loaded, proof_color separated an RGB color into the working CMYK space
and showed the inks back through it, so a saturated blue changed while
the same color as a pixel stayed as it is. It now returns the color's
display color, as the RGB devices do.
2026-11-18 06:53:27 -08:00
dotCooCoo 877fd21dca Merge main into feat/color-profile-ask-prompts 2026-11-18 06:03:13 -08:00
dotCooCoo 98e38b4bdd Merge main into feat/proof-setup-customize 2026-11-18 01:42:37 -08:00
dotCooCoo b838b9036e Merge main into feat/color-wheel-harmony 2026-11-17 22:16:53 -08:00
dotCooCoo 0b1ba1c6ef Merge main into feat/proof-setup-customize 2026-11-17 20:24:50 -08:00
dotCooCoo 816e83c90e Merge main into feat/color-wheel-harmony 2026-11-17 19:38:37 -08:00
dotCooCoo ced9eefa1f Color: test that built-in CMYK profiles separate saturated inks back
The colorimetric table of each built-in CMYK profile is checked on
solid and two-color overprint inks: CMYK to the connection space and
back through the profile's own tables lands within a Delta E 2000 of 3
of the original inks.
2026-11-17 18:21:31 -08:00
dotCooCoo f473f825eb Merge main into feat/color-profile-ask-prompts 2026-11-17 12:38:20 -08:00
dotCooCoo 102cfd0cde Color: built-in CMYK profiles carry their paper and an exact colorimetric table
The ICC profile written for a built-in CMYK working space (embedded in
PDF, TIFF, JPEG and PSD exports) changes in two ways:

- The media white point (wtpt) is the model's paper instead of D50, so
  the ICC-absolute colorimetric intent reproduces the paper.
- The colorimetric Lab -> CMYK table (B2A1), which the gamut tag is also
  sampled from, is the inverse of the CMYK -> Lab table without
  black-point compensation. Before, all three Lab -> CMYK tables had
  compensation built in, so a dark build such as C40 M30 Y30 K60 that
  went through the profile and back missed by Delta E 2000 2.7 on
  Generic CMYK. The perceptual and saturation tables keep compensation.
2026-11-17 08:30:52 -08:00
dotCooCoo dea8ab9b68 Merge main into feat/color-guide-spot-tints 2026-11-16 19:47:49 -08:00
dotCooCoo 15949e098a Color Guide: a spot color base gives tints of that spot color
When the Color Guide's base is a spot color, or a tint of one, picked in
the Swatches panel, with the Color panel's tint slider or with the base
chip, the cells right of the center in the base row of Tints/Shades are
now tints of that spot color. A click paints the art with the tint, a
drag carries it, and Save Colors as Swatches and Save Color Group to
Swatches make tint swatches linked to the spot color, so they follow an
edit of it. Shades, other rows, Warm/Cool, Vivid/Muted and a Limit to
Library give process colors, as before.

A cell's tint is the base's tint reduced by the share the cell goes
toward white. The guide follows a rename of the spot color swatch.

`swatch.new {colors}` and `swatch.newGroup {colors}` take
`{swatch, tint}` entries: a tint below 100% of a global or spot color
becomes a tint swatch ("Name 40%") linked to it.
2026-11-16 14:12:28 -08:00
dotCooCoo 9247538a92 Merge main into feat/color-wheel-harmony 2026-11-16 08:26:22 -08:00
dotCooCoo dd669d33fa Swatches: CSS export writes gradient midpoints and curves as stops
A gradient swatch saved as CSS wrote only its own stops, so CSS put an
off-center midpoint at the center and mixed a Perceptual or hue gradient
in a straight line between its stops. CSS mixes hex colors evenly in sRGB
between two stops (https://www.w3.org/TR/css-color-4/#interpolation-space),
so the export now writes the midpoints and the curve as stops of their
own, each with its color and opacity, also on repeated, reflected and
mirrored conic swatches. A gradient that would need more than
MAX_SPREAD_STOPS stops that way is written with its own stops.
2026-11-15 22:40:49 -08:00
dotCooCoo 2fe136671a Merge main into feat/color-profile-ask-prompts 2026-11-15 06:18:20 -08:00
dotCooCoo 4d2f2d7602 Merge main into feat/proof-setup-customize 2026-11-15 06:11:40 -08:00
dotCooCoo c0b1c2e144 Merge main into feat/color-management-policies 2026-11-14 22:51:34 -08:00
dotCooCoo d999d861de Color Settings: Convert to Working Space compensates CMYK black points
- CMYK colors converted between two loaded CMYK profiles now use the
  Color Settings black point compensation, as RGB colors already did:
  the conversion goes through linear ProPhoto RGB and maps the source
  profile's black onto the destination's.
- The edit.colorSettings, document.open and file.newFromTemplate params
  text and docs/mcp.md name file.newFromTemplate with the commands that
  apply the policies, and say that colorMode on open converts after the
  policies, through the profiles the document keeps.
- A test covers New from Template under the policies, and another the
  CMYK black point compensation.
2026-11-14 22:43:08 -08:00
dotCooCoo 5342b7c275 Merge main into feat/color-profile-ask-prompts 2026-11-14 20:43:00 -08:00
dotCooCoo 235b050f6d Merge main into feat/proof-setup-customize 2026-11-14 20:41:50 -08:00
dotCooCoo 2ab15e8acf Color Settings: profile prompts finish where they were asked; CMYK falls back through its displayed Lab
- Convert to Working Space between CMYK spaces with no direct transform
  goes through the Lab the source displays (black-point compensated),
  so dark inks keep their appearance instead of being compensated twice.
- An open that waits on the Profile Mismatch dialog keeps the automation
  roots it was asked under: OK reads linked files and installs the
  document under them.
- A paste that runs at once remembers the document it was asked in. When
  another document is active by the time OK is pressed, it pastes nothing.
2026-11-14 19:32:28 -08:00
dotCooCoo f71437f2a1 Color Settings: Ask When Opening and Ask When Pasting prompt about profile mismatches
edit.colorSettings takes askMismatchOpen, askMismatchPaste and
askMissingOpen (off by default), kept in Color Settings.json and shown in
the Separations panel's Color Settings section. With a box on, File > Open
asks before a document opens whose color mode's profile is not the working
space (use the embedded profile, convert the colors, discard the profile) or
that has none (leave it, assign the working space, assign a profile), and
Paste asks whether colors copied from a document with another profile keep
their numbers or convert. Each prompt starts on what the policy does; Cancel
opens or pastes nothing.

document.open takes the answer as profileChoice (with assignProfile) and
never asks. The paste commands take profileMismatch, and without it follow
the policy of each model, as a drag between documents does.
clipboard.profileMismatch lists the models a paste would ask about.
2026-11-14 18:02:06 -08:00
dotCooCoo 7d205368e8 PDF export: Convert to Destination converts tagged images to sRGB
With Output > Convert to Destination and an sRGB destination, a gray or
RGB image that carries an ICC profile (a Display P3 TIFF, a PNG or JPEG
with an embedded profile) is converted from that profile to sRGB with
the color settings' rendering intent and written without the profile.
Before, it kept its own numbers and profile.

- A 16-bit image that is not resampled or recompressed stays at 16 bits
  a sample from PDF 1.5 on.
- A JPEG kept as JPEG whose samples the conversion leaves unchanged (an
  sRGB profile) keeps its JPEG data; other JPEGs are encoded again.
- A black-and-white image whose converted levels are gray is compressed
  as grayscale.
- A profile the color engine can't read is kept, with a warning.
- Without conversion, and with Preserve Numbers, images keep their
  profile as before.

IccProfile::to_srgb_pixels converts a run of pixels in one pass.
Docs: docs/mcp.md, document.exportPdf params, target-app-parity.
2026-11-14 16:59:18 -08:00
dotCooCoo de31e6a9f7 Merge main into feat/color-wheel-harmony 2026-11-14 15:05:38 -08:00
dotCooCoo 9f7e74ece0 Color Settings: RGB and CMYK policies keep, take off or convert a document's profiles on open
edit.colorSettings takes rgbPolicy (off, preserveEmbedded, convert) and
cmykPolicy (the same and preserveNumbers), kept in Color Settings.json.
document.open, File > New from Template and File > Revert apply the policy
of each model to a profile the file is tagged with that is not the working
space: Preserve Embedded Profiles keeps it, Off and Preserve Numbers take it
off and keep the numbers, and Convert to Working Space converts that model's
colors into the working space and takes it off. The replies list a warning
per profile, and a changed document opens with unsaved changes. The
Separations panel's Color Settings section has the two lists.

A colorMode asked for on open converts after the policy, through the
document's own profiles. Document Color Mode also converts the points of
freeform gradient swatches.
2026-11-14 14:45:00 -08:00
dotCooCoo 06bf6397c7 View: Proof Setup › Customize… opens a dialog for the device to simulate
View › Proof Setup › Customize… opened the Separations Preview panel.
It now opens a Proof Setup dialog: Device to Simulate (the working CMYK
space or any CMYK or RGB profile), Preserve CMYK Numbers or Preserve RGB
Numbers, Rendering intent (off while the numbers are preserved),
Simulate Paper Color, Simulate Black Ink and Preview. OK sets the proof
setup and turns Proof Colors on; Cancel puts the earlier proof back.

view.proofSetup takes an "rgb:<profile>" target, preserveNumbers and
simulateBlack, and its reply carries both. Simulate Black Ink shows the
device's black without black-point compensation. With Preserve Numbers
the renderer proofs each color from its own numbers as it paints it,
placed CMYK images from their own inks, and the inks a CMYK document
blends; the paper under the art takes Simulate Paper Color's tint.
2026-11-14 13:29:29 -08:00
dotCooCoo 605a9df93a Color Wheel: the wheel shows the colors of a harmony rule
The Color Wheel panel menu has Show Harmony and Harmony Rule. With Show
Harmony on, the wheel's ring carries a marker for each other color of
the picked rule, filled with that color, and the markers follow the
current color. A click on a marker, or Enter or Space on a focused one,
applies its color as a pick on the wheel does; Alt applies it to the
inactive Fill/Stroke proxy. Screen readers read each marker as
"Harmony color" with its hex value.

The wheel takes the 15 Color Guide rules whose colors each have a hue
of their own. Harmony::apply_hsb gives a rule's colors as HSB, and a
gray base keeps its hue so the markers stay apart on the ring.

ui.colorWheel takes harmony and harmonyRule, and both are kept with the
preferences. Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-14 07:51:55 -08:00
BFlat 09f882b9d2 Merge pull request #7534 from dotCooCoo/fix/tiled-documents-own-profiles
Color management: documents behind the front one draw through their own profiles
2026-11-14 21:51:30 +07:00
BFlat ca546d0831 Merge pull request #7473 from dotCooCoo/fix/map-links-stop-plates
Swatches: a gradient stop unlinked from its spot swatch also drops its plates
2026-11-14 21:50:25 +07:00
dotCooCoo efb31aa51a PDF and EPS export: gradients name only the spot inks of stops that color something
A gradient's Separation or DeviceN space, and EPS's %%DocumentCustomColors,
named the spot ink of every linked stop. A stop out of order whose
neighboring stretches have no width, a stop at a tint of 0 without process
plates, and in PDF a stop whose stretches are fully transparent print no
ink, but their spot inks were still declared, so separations got an empty
plate.

- vectorcraft-color: Gradient::drawn_stops (the rule Document Info uses,
  moved here) and Gradient::reached_stops (every stop taken as opaque).
- PDF: Separation and DeviceN shadings, the Perceptual spot shadings and
  the spot-image warning name only inks of drawn stops at a tint above 0
  or with process plates; other stops are written with no ink, so their
  process inks and RGB or Lab colors no longer shape the space either.
- EPS: the same with reached stops, since EPS writes stops opaque; a
  transparent spot stop keeps its ink.

Output is unchanged when every stop colors part of the gradient and every
spot stop has a tint above 0 or process plates.
2026-11-14 04:11:40 -08:00
dotCooCoo cd86168e34 Color management: documents behind the front one draw through their own profiles
With Window › Arrange › Tile or floating document windows, every document
other than the front one was drawn through the profiles the front document
is assigned, since the active color settings are process-wide.

- cms::with_active puts other settings in place of the active ones on one
  thread, fast paths included, and puts them back after (also on a panic).
  cms::for_document gives the context a document's assigned profiles make,
  the same one each time for the same profiles and working settings.
- Each pane renders its document's art through colormgmt::doc_cms, on the
  render worker and on the UI thread alike, and draws its paper, artboard
  colors and transparency grid through the same settings.
- Loading or removing a profile redraws the documents assigned it, the
  ones behind the front one included.
- The ink and separation tables keep the tables of up to four color
  settings, so documents with different CMYK profiles side by side do not
  rebuild them on each redraw.

Placed documents inside a document behind the front one still draw through
the front document's profiles.
2026-11-14 02:24:51 -08:00
dotCooCoo 81b79ae67d Swatches: a gradient stop unlinked from its spot swatch also drops its plates
A gradient stop that loses its link to a spot swatch kept the process
plates it printed with that ink, so it carried a DeviceN mix with no
ink. Paint::map_links, which deleting a swatch, recoloring and color
adjustments go through, now clears a stop's plates whenever it leaves
the stop without a link, as GradientStop::set_color(color, None)
already does. Library gradients and library character styles linked
to a swatch the document lacks unlink their stops the same way.

Docs: docs/target-app-parity.md.
2026-11-13 21:30:14 -08:00
dotCooCoo af91a37669 Merge main into feat/monitor-profile-windows-linux 2026-11-13 11:12:25 -08:00
BFlat 820b82b8d3 Merge pull request #7188 from dotCooCoo/fix/color-gamut-cache-profile
Color: the out-of-gamut warning updates after a profile change
2026-11-14 01:54:13 +07:00
dotCooCoo a8d6e06860 Merge main into feat/monitor-profile-windows-linux 2026-11-13 08:56:32 -08:00
dotCooCoo 6b5e596de0 Color: the out-of-gamut warning updates after a profile change
The Color panel and Color Picker cached their out-of-gamut warning and
correction for the last color only. Assigning the document another CMYK
profile, removing it, or changing the working CMYK space in Color
Settings left the old warning showing until the color changed.

The cache entry now also holds the active color settings and the
registered profiles' generation, so the warning is checked again when
either changes. The comments and the color.gamutCheck params text name
the CMYK space actually used: the document's assigned CMYK profile, else
the working CMYK space.
2026-11-13 08:35:13 -08:00
dotCooCoo 5f77b65aa2 Gradients: Hue Clockwise and Hue Counterclockwise mix stops around the hue wheel
The Gradient panel's Method menu gets two methods of VectorCraft's own
beside Classic and Perceptual. They mix a linear, radial, conic or
diamond gradient's colors around the hue wheel: hue, saturation and
brightness each change evenly from one stop to the next, and the hue
angle keeps one direction, as the fixed-direction rules of
https://www.w3.org/TR/css-color-4/#hue-interpolation do. Hue Clockwise
lowers the angle (red, magenta, blue), which is clockwise on the color
wheels, and Hue Counterclockwise raises it (red, yellow, green).

Two stops whose hues are less than half a color level apart count as
one hue and keep it, so a color and a tint or shade of it do not turn
the whole wheel. A stop whose RGB numbers are less than half a color
level apart is gray and takes the hue of the stop it mixes with, and
black takes that stop's saturation too.

- `paint.editGradient` and `paint.setFill` take `method: hue-clockwise`
  or `hue-counterclockwise`, in any case, with a space or an underscore
  for the hyphen or without it; other spellings are an error. The native
  file writes `HueClockwise` and `HueCounterclockwise`.
- The canvas and raster exports draw the gradient through stops on its
  curve, within half a color level.
- Reverse turns the method the other way with the stops, and a Reflect
  spread is repeated from the curve's stops, so both keep the colors.
- SVG and PDF write the gradient as an RGB image, CMYK and spot color
  stops included, with the spot warning. EPS writes a shading in process
  colors with a warning for spot stops. A legacy .ai file and the .ai
  editing data get the colors between the stops as stops of their own,
  in process colors, at most 256, with a warning. CSS gets those stops
  too.
- The `method` error names the four values, in every catalog.
- The Method menu is as wide as its longest name in the interface
  language, within the panel.

Docs: docs/mcp.md, docs/plugins.md, docs/target-app-parity.md, ROADMAP.
2026-11-13 08:26:57 -08:00
dotCooCoo 4b50fdba1c View: the canvas is drawn through the monitor profile on Windows and X11
Preferences > Performance > Use Monitor Profile for Canvas (on by default,
`monitorProfileDisplay`) converts the canvas's art, artboard paper and
transparency grid from sRGB into the ICC profile of the display that shows
most of the main window, after any proof. Arranged panes and the render
worker's frames are converted too; the worker keeps its frame in sRGB.

- Windows: the display's default profile for its standard color mode
  (ColorProfileGetDisplayDefault, GetICMProfileW where it is missing). A
  display with Advanced Color on is left to Windows.
- X11: colord's profile for the RandR output, then the output's
  `_ICC_PROFILE`, then the screen's when only one output is active.
- A Wayland session stays sRGB; macOS converts the window itself.
- A profile that is missing, larger than 1 MiB, not an RGB display
  profile or unreadable leaves the canvas sRGB, with the reason in
  `ui.inspect`'s `displayProfile`.

The conversion is sampled into a 33x33x33 table when a profile is read, on
a background thread. Exports, `ui.render` and the document are unchanged.
2026-11-13 07:27:30 -08:00
dotCooCoo fafd06c959 Recolor Artwork: the Prominent Colors bar weighs the art's colors
With art selected, the Edit tab shows a Prominent Colors bar under the
wheel: a part for each row in its new color, as wide as the row's share
of the art, the largest first. Dragging the edge between two parts moves
width from one to the other; when the drag ends, the rows' current
colors move toward the new widths and the art previews the result. OK
keeps the recolor as one undo step.

- recolor.weigh {map, weights?, ids?} returns each row's share of the
  uses of the art's colors and, with weights, the rows with their
  current colors moved: one color at a time between rows that have a
  new color, while a move brings the shares nearer the weights, the
  color nearest in Lab to the row it goes to first. A row keeps its
  first color, the tints of one global swatch move together, colors
  that stay keep their order, and the command changes nothing. A use
  counts for the row recolor.apply recolors it with, and the work is
  bounded at 50,000,000 color-by-row comparisons.
- The New Color Group menu beside the link button has Save All Colors
  (the new colors in row order) and Save Prominent Colors (the bar's
  colors in its order); each saves a color group as its own undo step.
- The dialog's weights field drives the bar from ui.dialog.set. A new
  Colors count drops it.
2026-11-12 22:48:57 -08:00
dotCooCoo 632830947a Merge main into feat/recolor-theme-picker
Xf::new is test-only on main now: the Color Theme Picker's canvas layer builds its view transform with Xf::at and the canvas's interface zoom.
2026-11-12 15:54:28 -08:00
dotCooCoo 31b669a0a1 Recolor Artwork: the Color Theme Picker picks new colors from the art on the canvas
The Color Theme Picker button beside the Assign and Edit tabs turns on
picking from the canvas. A click takes the color palette of the object a
Selection tool click takes there, a drag takes the palette of the art
inside its marquee, and Shift adds more picks. The rows that are not
excluded take the palette as their new colors and the art previews them;
OK keeps the recolor as one undo step.

- recolor.pickTheme {picks, colors?} returns the palette of the art
  picked: visible fills and strokes, gradient stops, text, mesh points,
  pattern tiles, symbol art, colorize colors and image pixels. Clip
  groups, clipping opacity masks and isolation mode limit it to what
  shows, and it changes nothing.
- Each object read weighs the same; similar colors merge (k-means in Lab)
  into at most `colors`, most used first. Image reads are bounded (65,536
  pixels a pick, 1,048,576 pixels and 64 images in all), and past 4,096
  distinct colors, close colors merge before clustering.
- The dialog's themePicker and themePicks fields drive it from
  ui.dialog.set. A new Colors count keeps the picks.
2026-11-12 15:16:23 -08:00
BFlat a55606e66b Merge pull request #6949 from dotCooCoo/fix/assign-profile-working-spaces
Color management: Assign Profile leaves the working spaces of Color Settings
2026-11-13 06:11:15 +07:00
dotCooCoo 05466e54a8 Color management: Working CMYK proofs a tagged document through the working space
View > Proof Setup > Working CMYK simulates the working CMYK space of
Color Settings in Proof Colors and Separations Preview, also in a
document assigned another CMYK profile. The active context keeps the
working context beside the assigned profiles, and the proof table cache
key includes the working settings, so a change of the working CMYK space
shows in the next proof.
2026-11-12 14:09:08 -08:00
dotCooCoo 0691e1acbe Gradients: keep every run of a repeated gradient with many stops
When a repeated or reflected gradient needs more stops than a limit
allows, each run now leaves out the stops that change its colors
least, so every run is still written, instead of writing fewer runs
and padding the rest with the last color. Each run keeps its ends,
sharp steps, swatch-linked stops, tint and CMYK ink changes and spans
shaped by an off-center midpoint, and the colors are compared as the
gradient's method mixes them. This applies to gradients along or across
a stroke, CSS conic gradients, and PDF, EPS and .ai export.

- Outline Stroke's mesh fits the gradient to at most 1,024 stops, and
  splits a stroke into several meshes when one would hold more than
  2^20 points.
- Object > Expand leaves a gradient as it is when the box needs more
  than 256 runs, instead of expanding only the first runs.
- CSS writes the stop positions of repeating gradients with four
  decimals, so the period stays in place across the box.
- A swatch chip of a gradient that repeats gets at least four grid
  cells a run along each side (at most one a point, and 128), so it
  does not show one color when the count matches the chip's cells.
- docs/mcp.md states the stop limits and the PDF import sample budget.
2026-11-12 11:30:44 -08:00
dotCooCoo 07ae51f3a5 Color management: Assign Profile leaves the working spaces of Color Settings
Edit > Assign Profile wrote the profiles it assigned into the working
settings of Edit > Color Settings. Color Settings then showed the
assigned profile as the working space, and the next change in Color
Settings saved that profile for the next start.

The working settings are now kept apart from the settings in effect.
Assign Profile still makes the profiles it assigns the ones colors show
and convert through, and assigning none puts the working space back.
Color Settings shows and saves only the working settings, and a change
there keeps the profiles the document in front is assigned in use.
color.removeProfile refuses only a working space: removing an assigned
profile in use puts the working space in its place, and loading that
profile again puts it back in use.

Public reference: "Changing the color profile for a document" and
"About color working spaces",
https://help.adobe.com/archive/en_US/illustrator/cs3/illustrator_cs3_help.pdf#page=150
2026-11-12 10:33:18 -08:00