A release over another document's floating window is handled before the frame's drag cleanup, so a tab transfer whose source document was edited or closed since the last frame could still be copied into the window. The pane drop now checks that the source document still holds the content the drag started with, as the canvas drop does.
File > Place with Link (the default) now places an EPS file, a PostScript file or a PostScript .ai from a path as one locked placed document instead of an embedded group. It shows the art that placing without Link gives (clipped to the bounding box, or the art's bounds with crop: "bounding"). Links check, update and relink it, Break Link and Object > Expand give the Link-false group, a save keeps its preview, every output draws its vectors, and Package copies the file, also from the bytes the document holds when the file is gone. Links lists it as EPS or PostScript, also after a save that kept only its preview. A DCS file stays a linked image; Link off and dataBase64 still embed.
readhexstring and readline called the one-byte file read for every input
character, copying each byte into a new vector. They now scan the bytes
left in the file in one slice and advance the file by the bytes they used.
The results are unchanged: the same bytes, the same boolean, the same next
unread byte, from the program's own file (after the whitespace that ends
the last token), a decoded buffer and a filter decoded when first read.
readhexstring stops on the digit that completes the last byte and drops a
lone digit at the end of the data; readline takes CR LF as one line ending,
leaves the byte after a lone CR unread, and leaves the line ending unread
when the line fills the string.
Tests run the new readers next to copies of the byte-at-a-time loops over
13 stream forms and several hundred inputs, comparing the result and
everything left to read; an image read through a readhexstring procedure
is compared with the same samples given as a hexadecimal string. The
import fuzz tests gain readline and a case for both operators.
data_op allows clippy::cognitive_complexity. Without the allow, clippy
rates it 54 against the limit of 30; with the old loops in place it
passes.
A line graph whose style record draws its lines as shapes now opens as a
live graph with Draw Filled Lines on, and its lineShapeWidth becomes the
Line Width (3 pt reads as the default). The flag is ignored when the
points are not connected, as the published file format specification
says (printed pp. 147-148). Saving writes both values in the Gy record.
- Widths from 0.01 to 100 pt are kept. A wider Line Width, a width under
0.01 pt with filled lines, and filled lines without connected points
are saved as the graph's art with the existing warning.
- In a filled-line series, a filled path with the thin black band
outline is read as a band and does not set the series stroke. A
filled path with another outline must be a square marker or legend
swatch; otherwise the graph keeps its art as plain objects.
- The reader in crates/eps/src/import/ai/read/graph.rs reads each value
the writer in crates/eps/src/ai_graph.rs writes; the save-then-open
tests cover the default, 8 pt and 150 pt widths in both .ai forms.
With Window › Arrange › Float in Window, a Selection move released over
the art area of another document's floating window copies the artwork
into that document with edit.dropSelection, as a release over a tiled
pane does. The window becomes the current one, and the grab point lands
under the pointer in that window's own zoom and rotation. While the
current document floats, a release over the pane the main window draws
copies the artwork into the main window's document. A floating window
with another view of the source document takes a move, and Alt copies.
The release is taken at the start of the frame, before any canvas sees
it, so a release in the first frame over a window still drops the
artwork, and the source move is rolled back first. A release on a
window's title bar, rulers or scroll bars, or after Escape, changes
neither document. This covers floating windows drawn inside the main
window (the web, Wayland and a control channel). A floating window that
is an OS window of its own does not take the artwork yet.
Docs: development.md, target-app-parity.md, gaps.md, roadmap.md,
ui-parity.md.
Pathfinder collected a clip group's members as if it were a plain group, so
Divide cut the hidden art too and the result lost the mask. Each member is
now cut to the group's clipping region first (nested clip groups by each
region in turn): its area is intersected with the region, and Divide's
cutting lines keep only their parts inside it. A member the mask hides gives
no piece, a group among other objects takes the style of its top member that
shows, and a selection the masks hide altogether is refused with a reason.
This applies to every object.pathfinder.* operation, which also covers Merge
on masked art (#3367).
A spiral dragged out with the Spiral tool now turns about its center so
that its outer end is at the pointer, so dragging around the center turns
it. A pointer within 0.01 pt of the center keeps the last direction. Alt,
Ctrl/Cmd, Up/Down, Space and Escape work as before, and Shift does not
change the direction.
With General > Constrain Angle other than 0 degrees or a whole turn, a
spiral placed from the Spiral dialog starts along the turned x axis, with
its bounding box turned.
shape.spiral takes an optional rotation (degrees clockwise about cx, cy).
Without it, or at 0 or a whole turn, spirals are drawn as before; a
rotation that is not a number is an error and adds nothing.
Expand Appearance expanded a group's or layer's evaluated members, and the
object of a Crop Marks effect, before giving them new ids. When the raster
budget refused the image for such a member that held a random Transform
effect, the member stayed unexpanded, but its new id gave that effect a new
seed, so the member moved while its effects stayed live.
The group, layer or Crop Marks object now stays as it is in that case, as
it does when its own raster effects go past the budget. The rollback also
removes the images its other members added to the document and gives their
charge back to the budget.
brush_targets checked each brushable node against every target it had
already collected, so P targets cost about P^2/2 comparisons. It now
keeps a HashSet of the ids it has pushed. The output vector is unchanged:
the same ids in the same walk order, each kept where it is first reached.
brush.apply, brush.remove, Expand on brushed paths and the brush library's
apply all collect their targets through it.
A unit test checks the exact result for guides, clipping paths, compound
members, nested compounds, repeated and overlapping roots and a missing
id, and compares it with a copy of the old collector.
Preferences > Plug-ins & Scratch Disks > Plug-in Instruction Budget
(`pluginInstructionBudget`) is a VectorCraft setting. Normal, the default,
keeps the limits a filter run has today. Large gives each object filter run
250 M instructions plus 4,000 per input byte, with the 60 s time budget, Cancel
and the other limits unchanged. An approved heavy filter keeps its 1 G and
300 s with either value; live effects, exporters and importers keep their own
budgets. The next run of an installed filter uses the value in force when the
run is prepared.
prefs.set refuses any value but normal or large; a saved preferences file
with another value reads as Normal and the other preferences load as saved.
Docs: docs/plugins.md, docs/mcp.md, docs/target-app-parity.md.
Without art, a row excluded after Save Changes gave its swatch a new color
now leaves the swatch that saved color, as OK does, instead of giving it
back the row's old current color.
With art linked to the group, after a save reads the rows from the art
again, a swatch whose new color the save gave the art is found by that
color, so a later edit of its row reaches it at Save Changes and OK.
xtask pdf-deps still expected craft-pdf and the patched hayro/krilla
backends at main's 9be9a637 revision after this branch pinned them to
a499742a. Point REV at that pin (still on craft-libs main). Classify
test files in sonar-project.properties the way craft-libs does, so the
quality gate measures the product. Give the EPS operation-budget test
the same 300s cap as the other budget tests; under instrumented coverage
it overran the old 120s cap, while the Ubuntu gate finished in time.
- With art in some of the group's colors, a second Save Changes after
another edit of a row kept the color the first save gave that row's
swatch, and OK gave the group's colors by row order, which could
overwrite a swatch no row lists. Both now match each swatch to its row,
also through the color that row listed when an earlier save gave the
swatch its color.
- An excluded row leaves its swatch its own color at Save Changes and at
OK, with or without art. `recolor.apply` takes "keep" in `groupColors`
for a swatch that keeps its color without the Global Adjust.
- `swatch.editGroup` given the color keys of the group's own colors keeps
those colors unrounded and records no undo step.
Object › Plug-ins › Packaging Tools › Check Fold Lines, and the Fold Lines
panel's Check button, check the fold lines of the selection, or of the
document while nothing is selected (`addon.packaging.check`).
- Cut lines bound the material: each connected piece that encloses an
area is one blank, its largest closed cut line is the outline, and a
closed cut line inside it is a hole. A slot drawn as a rectangle across
the outline leaves the same material as a notch drawn in it, and an
outline drawn as several open cut lines works too.
- Creases, partial cuts and perforations divide a blank into panels; the
pieces between the same two panels form one hinge.
- 15 issue codes, errors and warnings, each naming its lines; cut line
ends within a tolerance (0.1 pt, 0.01 to 10) are joined and reported as
a gap. With `select`, the lines the issues name are selected.
- The panel lists the issues in the interface language, with a summary
line; clicking an issue or its Select button selects its lines. The
list is kept until the document changes.
`vectorcraft_pathops::adjacency` maps paths as live_paint does and keeps,
for each edge, every input it lies on and the faces on both sides; the
blank model is `vectorcraft_three_d::fold::blanks`. The engine now depends
on vectorcraft-three-d directly.
Docs: docs/mcp.md (Check Fold Lines), crates/pathops/README.md, ROADMAP.
docs/mcp.md still said a Shift marquee dragged with Group Selection toggles the anchors inside it. It toggles the objects it touches, whole; Direct Selection's Shift marquee still toggles anchors.
A Shift-press on a member selected inside a group still toggled the outer
group at once, so a Shift-drag moved the whole group, and Alt over the
member drew Distance Guides from the selection to the group holding it.
Both now use the same selected-art test as a plain press: a Shift-drag
moves the selected members, constrained, a Shift-click takes the pressed
member out of the selection, and Alt over it shows no Distance Guides.
Docs: docs/target-app-parity.md.
- Screen readers now call the search icon "Search commands" with the
shortcut, as they call the field; its tooltip stays "Search commands
and tools". paint_icon_button_named gives an icon button a name apart
from its tooltip.
- While a dialog is open the field and the icon are drawn disabled and
screen readers report them disabled, since a click on them does
nothing then.
- The titlebar test now checks that the field shows "Search commands" in
a wide window, and its comments describe the field.
- The fitting code and its tests call the community button's width and
flag `community`, and the new struct fields have doc comments.
- The new "Search commands" catalog rows move a few rows down, next to
"No recent commands" or "Switch workspace", away from the rows other
open pull requests change.
- The docs line says the app's existing rule for a focused control keeps
the app's keys off while the field has the focus, and that the
community button and Explore tutorials go at wider bars than they did
beside the icon.
The table's rule now says what the groups follow: a word that is the
whole label of another command (Merge, Mirror) is in no group, and
Insert is left out too. A word that only starts or ends other labels can
be in a group, so "unite" also lists Combine Slices after Unite and
"delete" lists Clear Guides; a test checks both, that "settings" finds
Preferences…, and that "colour" lists the Color panel first.
A catalog's group words are read from its rows in the search context
alone, so a plain row whose source matches a group's words is no longer
taken as that group's words. The table's notes say that in a language
written without spaces a row's word finds only a label that is that
word alone.
- swatch.library.add lists a library pattern swatch that stands for a
swatch added earlier in the same call under existing, not twice
under added.
- An empty library file (.gpl, .ase, .vcswatches) loads as an empty
library again; only a document with no swatches is refused. A
PostScript file whose swatches are only the default ones is refused
like a .ai or .eps.
- The Swatch Libraries filter of Other Library… also lists .ait and
.epsf files.
- The library panel finds a loaded library's pattern swatch by looking
only at libraries that have pattern swatches.
- The Czech message for Copy to User Defined names pattern swatches.
- Color spelling in the new params text and comments; docs/mcp.md
rewrapped.
The Fill/Stroke chip popovers on the Control bar and in Properties show
the Swatches panel's body, so they also lose the Recent Colors and Swatch
Tiles headings and the divider. The new test now runs on the popover as
well as the panel, and checks that the first swatch tile is inside the
"Swatch Tiles" list node. The popover libraries test finds the open
popover by that list node instead of by the bottom bar's position.
header_size now reads a BMP BITMAPINFOHEADER when the probes refuse the file,
so Paste of a 30,000² poked header reports "too large to draw" instead of
that the size can't be read. through_jpeg encodes with the image crate again
so the block-artifact trace test stays calibrated; the JPEG writer is still
on main's code. Also use a no-break space before ":" in three French typography
rows (unchanged from main) so the catalog check is green.
A Linear point picked near the end of another dimension's line landed
beside it when zoomed in: the tool's own pick skipped dimension artwork,
so that end pulled the point only within the Smart Guides tolerance,
while an anchor of the art pulls it from 8 pixels.
- With Smart Guides or Snap to Point on, a point that no anchor of the
art within 8 pixels takes lands on the end of a visible, unlocked
dimension's dimension line, or on the far end of its extension line,
within 8 pixels, with no link to that dimension. The end of an
extension line next to the point it measures is not an end, so an
anchor that a dimension already measures still takes the point.
- A point that nothing else places lands on the closest point of such
a line within 8 pixels, as it does on a segment of the art.
- With Smart Guides and Anchor/Path Labels on, a point on an anchor or
a line end shows the "anchor" label, and a point on a segment or line
shows the "path" label. A point on a line end is marked as an anchor.
- A press on a line end that moves a few pixels picks it, as a press on
an anchor does.
Docs: docs/dimensions.md, docs/target-app-parity.md.
A Group Selection marquee selected the anchor points inside it, as a
Direct Selection marquee does, so a path it crossed was only partly
selected. The Selection tool hides its bounding box while anchors are
picked, so after switching to it no box appeared around the objects.
The marquee now selects every object it touches, whole (members of
groups too, and with Shift it toggles them), as an Alt-drag marquee
with Direct Selection already does; a compound path it touches is
selected whole, as that marquee selects it. E during the drag still
selects only the objects entirely inside the marquee.
Fixes#8047
A format row's file key was made before the top-level `antiAlias` was added to
its options, so a PDF row that sets no bleed and one that asks for the
document's bleed wrote two identical files under Include Bleed. The key is
now made again after the merge.
A new table, palette/words.rs, holds 21 groups of English words that
mean the same thing when searching ("remove", "delete", "erase" and
"clear"; "background" and "bg"; "reflect" and "flip"). A query word, or
its English base word, that is in a group also meets the other words of
its group in result labels and menu paths and their base words, but not
ids or word starts. A word that names other commands (Merge, Mirror,
Insert) is in no group. A test keeps the table to at most 60 groups of
at most 6 single lowercase words of at most 20 characters, with no word
in two groups.
A label word met through a word with the same meaning grades below a
word start of the label and above a word of the menu path, and a menu
path word met that way grades below a menu path word. So a label holding
the query word ranks first, then a label holding a word with the same
meaning, then a menu path holding the query word. For "type", Scale Text
Attributes now lists above Type › Orientation › Vertical. Results
that tie are ordered by the whole query read with the matched word of
the same meaning, so "colour" lists the Color panel among the first 3.
A catalog may add a group's words in its language with a row in the
search context: the group's English words joined by ", ", then the
language's words. They are used while that language is the UI language.
No catalog has to have these rows; an i18n test checks that each row
names a group and adds single words of no other group.
The Swatches panel drew a "Recent Colors" heading above the recent
colors row, a divider with 6 px of space on each side, and a "Swatch
Tiles" heading above the list. The panel now draws the row and the list
without those headings or the divider, so the list sits directly under
the row, or under the fill and stroke row while Show Recent Colors is
off. Screen readers still read the row as "Recent Colors" and the list
as "Swatch Tiles". The Color panel keeps its Recent Colors heading.
Preferences › Performance › Low-Latency Drawing (lowLatencyDrawing, off by
default) is read when the app starts and asks for wgpu's AutoNoVsync. The
present mode comes from --present-mode, then VECTORCRAFT_PRESENT_MODE, then
the preference, then the default; with the preference off and no override
the window surface is unchanged. The startup log names "(preference)" or
"(override)" after the mode.
Whenever the window presents without vsync, from the preference or an
override, main-window frames start at most 240 times a second (about
4.17 ms apart). The wait comes before egui reads the frame's input, and
the frame's time moves on by it. With vsync the display paces the frames
and no cap applies.
The checkbox shows on the desktop with the note that it applies the next
time VectorCraft starts. A value that is not a boolean is an error.
Fixes#6013
Swatches › Open Swatch Library › Other Library… read a document's
swatches without its pattern swatches, so a pattern from a .ai swatch
library came in only as the colors it uses.
- swatch.library.load keeps a document's pattern swatches, and keeps
the document for a library that has them. swatch.library.add brings
the pattern with its tile and art, as a pattern swatch with the
library swatch's name, placement and color group.
- The library panel draws those pattern swatches from their pattern.
- The Swatch Libraries filter of Other Library… lists .ai and .eps
files.
- A file with no swatches, and a .ai or .eps whose swatches are only
the default ones, are refused with "`<file>` has no swatches of its
own". Copy to User Defined refuses a loaded library with pattern
swatches, since a .vcswatches file can't hold them.
Docs: docs/mcp.md, docs/target-app-parity.md.
The magnifier at the right of the app bar becomes a field showing the
magnifier, "Search commands" and the Help › Search Commands… shortcut,
or no shortcut when it is cleared or too long to fit. A click on it, or
Enter or Space with the keyboard focus on it, toggles the command
palette as the shortcut does, and the palette's popup holds the text
field. While a dialog is open the field and the icon do nothing, as the
shortcut does; the icon used to open the palette over a dialog. Screen
readers name the field "Search commands" with the shortcut, and its
tooltip stays "Search commands and tools".
As the bar narrows, the community button goes first, then Explore
tutorials, then the field becomes the 28-point icon, then the workspace
switcher narrows to 64 points, then the icon goes. Safe Mode's label
keeps its room first. The order is the same as before, with the field's
collapse to the icon as a new step after Explore tutorials goes.
The canvas flattened a stroke's outline at 0.25 device pixels with chords
inside each curve, so a wide curved stroke's outer rim drew too light and
its inner rim too dark. A stroke at least 32 drawing tolerances wide now
draws each curve of its outline that spans 128 tolerances or more as lines
placed by its bend, with each line end moved outward by half the line's
bulge, so the lines lie on both sides of the curve. That is 8 and 32
device pixels at 25% and 1:1, and as little as just over 4 and 16 device
pixels at other zooms, where the cached outline's tolerance is the largest
power of two at or below a quarter device pixel.
At 25% zoom an 80 pt ring's worst edge pixel is 24 levels off the exact
coverage at the outer rim and 32 at the inner rim, where it was 54 and 61;
at 1:1 it is 30 and 29, where it was 64 and 58. Curve ends at corners,
lines and short curves stay on the curve. Outlines are cached per zoom
level as before, with refined and plain outlines kept apart.
Raster exports draw the same refined edges as the canvas. Fills, narrower
strokes, strokes with a width profile, strokes in an unevenly scaled view
and vector exports are unchanged.
Tests: render::tests::curvedstrokeedges and
longstroke::a_long_wide_curved_stroke_draws_the_same_pixels_outlined_near_the_view.
The art that clicks and marquees test leaves 3D effects unprojected again.
The faces of a layer's 3D effect carry the layer's id, which a click
cannot select, so a click on a member of such a layer selected nothing.
Use Preview Bounds still measures the projected art.
Save Changes now gives the group the same colors OK would: a color removed
with the Remove Color tool removes its swatch, and a color added with the
Add Color tool joins the group after its other colors, also when the art
holds colors of the group. `swatch.editGroup` takes `null` in `colors` to
remove the swatch at that place.
After the save, the rows follow the saved group, so a later edit or OK does
not remove or add a color a second time.
The Windows sampler read the pointer with GetCursorPos when it handled
WM_LBUTTONUP, so a pointer that moved after the release picked a
different pixel. It now takes the point from the release message's
lParam, a signed client point, and converts it to screen coordinates.
lParam holds each coordinate in 16 bits, so on a virtual screen wider
or taller than 32,767 pixels the high bits come from the message's own
pointer position (MSG.pt).
The Character Set menu of Text Import Options now lists Shift JIS, GB2312,
Chinese Big 5, Cyrillic, GB18030, Greek, Turkish, Baltic and Central European
beside Unicode and ANSI, and `file.place {text: {characterSet}}` takes
"shiftJis", "gb2312", "chineseBig5", "cyrillic", "gb18030", "greek",
"turkish", "baltic" and "centralEuropean". Each set decodes with its WHATWG
Encoding Standard decoder from encoding_rs, which the workspace already
locks: GB2312 reads as GBK, Cyrillic as windows-1251 (x-mac-cyrillic with
platform "mac"), and Greek, Turkish, Baltic and Central European as
windows-1253, 1254, 1257 and 1250 on both platforms. A byte-order mark is
read as ordinary bytes and a malformed sequence as U+FFFD. Unicode and ANSI
read as before.
An unknown character set is an error that lists the sets, and nothing is
placed. A `text` option of the wrong type (`characterSet: 3`,
`removeLineReturns: "yes"`) is now an error instead of the default. The
dialog remembers the last set confirmed, and Show Import Options off places
with it.
Under Window › Arrange › Tile, a Selection move dragged from the current
pane and released over another document's pane copies the artwork into
that document with edit.dropSelection, with no tab hover first. The pane
becomes the current window, and the grab point lands under the pointer in
that pane's own zoom and rotation. A release over another view of the
source document moves the artwork with object.move, and Alt copies it.
The source move is rolled back before the canvas sees the release, also
when the pointer enters the pane and the button goes up in one frame.
Artwork carried to a document through its tab can also be released in a
third document's pane. A release over a pane's rulers or scroll bars, or
after Escape, changes neither document, and a press in another pane with
no artwork carried still only makes its document current. Dragging into a
floating document window and the tab overflow menu are not covered.
Docs: development.md, target-app-parity.md, gaps.md, roadmap.md,
ui-parity.md.
With Include Bleed, every artboard was grown by the document's bleed and
PDF rows were written from the grown artboard. A row that used the
document's bleed then put the bleed around it a second time: a 100 pt
artboard with a 9 pt bleed wrote a 118 pt TrimBox in a 136 pt BleedBox,
and printer's marks lined up with the bleed edge instead of the trim.
PDF rows now write the artboards as they are, with the row's bleed around
each one once (PDF 32000-1:2008, 14.11.2: the TrimBox is the finished
page and the BleedBox holds it). The bleed is the row's own values, zero
included, else the document's bleed when the row sets none and its PDF
preset gives none or a bleed of 0. That gives a 100 pt TrimBox in a
118 pt BleedBox for one file per artboard, a single file and the Full
Document. Raster, SVG, EPS, AI and native rows still write the grown
artboard.
A PDF/X row that sets a bleed of 0 itself warns again that it leaves the
document's bleed out. A row without a bleed and a row that asks for the
document's bleed write one file.
layer.selectAll {id, add: true} checked each of the row's K objects with
a scan of the S selected objects, then removed or added them one id at a
time, each removal rebuilding the selection and each addition scanning
it again, so a Shift-click on a large layer took O(K*S + K^2). It now checks
the row's art against a set of the selected objects and calls
Selection::remove_all or Selection::add_all once. The resulting
selection, its order, the reply and the highlighted rows are the same
as before.
crates/engine/examples/layer_select_bench.rs times the old loop against
the new command in one process. On a layer of 50,000 objects the whole
command took a median of 733 ms before and 6.9 ms after with all of the
layer's art selected, and 369 ms before and 24 ms after with every other
object selected (7 runs, wall clock on Linux while other builds were
running).
A right-click on type now has Check Spelling… after Auto Spell Check in
its Spelling submenu, as Edit › Spelling has it. The item runs the
existing ui.checkSpelling command on the selection, which the
right-click sets to the type under the pointer. A right-click on an
underlined word offers it too. The help page describes this right-click
route to the dialog:
https://helpx.adobe.com/illustrator/desktop/design-with-text/edit-format-text/check-and-correct-spelling.html
The context menu draws check marks only in a submenu of toggles alone.
The Spelling submenu now also shows them, so Auto Spell Check keeps its
mark next to the plain Check Spelling… item. Other submenus are
unchanged.
The merge of main kept the rows for "Search commands and tools" and
"Search commands and tools…" beside their replacements. No source string
uses them, so they are removed from the 28 catalogs that had them.
docs/target-app-parity.md: Recent Commands lists panels and effects too.
Each paragraph of type on a path now sets its glyphs at its Desired word
spacing, letter spacing and glyph scaling, as point and area type do. The
spaced glyphs feed the steps along the path, alignment, the hangs and the
overflow, so text after a wider gap starts further along and a right or
centered line is aligned by its spaced length. Minimum and Maximum are not
used, vertical type is not glyph scaled, and a list marker keeps its width.
This changes existing documents: type on a path whose paragraphs carry
non-default Desired values now spaces differently and can overflow where
it did not.
SVG export writes such type as outlines with a warning, since a
<textPath> places its characters at their own advances.
Docs: docs/mcp.md, docs/type-parity.md, docs/gaps.md,
docs/target-app-parity.md.
A gradient definition in the .ai editing data holds each stop's color, opacity, midpoint and ramp point, and VectorCraft's reader opens it as a Classic gradient. A Perceptual gradient was written with its own stops, so the file opened with different colors between them.
The writer now treats a Perceptual gradient as it treats a gradient mixed around the hue wheel, in the art and in the Swatches panel: the colors on its curve become stops of their own in process colors, at most 256, with a warning that names Perceptual gradients. A stop linked to a global process color reports its lost link for both methods. Dither is reported as its own loss. A freeform gradient, or one with more than 256 stops, is still written as its average color whatever its method.