SVG export lays out each type object once and hands that layout to the
writer for live text, type on a path, outlines and inside or outside
character strokes, where each of them laid the same type out again.
Type on a path, bidirectional type and type that falls back to
outlines go from two layouts to one; inside or outside character
strokes and the object's own fills go from up to four to one. The
outline and character-stroke writers also group glyphs by run in one
pass instead of filtering every glyph for each run. The written SVG,
warnings and notes are unchanged.
A test compares the export with each writer laying the type out on
its own over 17 kinds of type and checks the layout counts; an ignored
test times a large document.
With a sublayer isolated, Exit Isolation Mode now isolates its parent layer
and selects the sublayer, so repeated use goes up one layer at a time and
leaves isolation mode from the top-level layer, as the help page describes:
https://helpx.adobe.com/illustrator/desktop/manage-objects/select-objects/isolate-objects.html
This applies to the Layers panel menu item, the isolation bar's back arrow,
the Control bar button, the canvas context menu, a double-click outside the
art and object.exitIsolation {}. Before, each of them left isolation mode in
one step.
- object.exitIsolation takes all (default false); all: true leaves
isolation mode from a sublayer at any depth. Any other value is an error.
- Esc and the top-level layer's crumb on the isolation bar pass all: true,
so they still leave in one step. A sublayer's crumb isolates that
sublayer.
- A hidden or locked parent layer is not isolated; the call leaves
isolation mode. A step up records no undo step. Groups keep their rule.
Lossy compression compared each pixel with the reduction's colors, so a pixel next to a color shifted by hand could join that color and be written in its new color, and a pixel of the shifted color could leave it. Lossy now leaves the entries of shifted colors alone, as it does the transparent entry.
Save PDF › Advanced gets Custom… beside Flattener preset, enabled when the
file is flattened (PDF 1.3, PDF/X-1a, PDF/X-3). It opens Custom
Transparency Flattener Options on the settings the save would use. OK
sets them as `flattener` and the preset shows [Custom]; settings equal to
the preset's leave its name, choosing a preset drops them, and Cancel goes
back unchanged. Clip Complex Regions shows on and can't be changed, since
the PDF 1.3 writer always clips, and overprints follow Overprint.
ui.savePdfDialog keeps a `flattener` it is given instead of dropping it,
and refuses one that is not an object, has an unknown key or a value out
of range. Save Preset… says that PDF presets keep the flattener preset but
not these settings.
The shared flattener editor takes the keys of the switches to lock, so
EPS Options locks its two Preserve switches as before.
A click with the Reflect tool now also sets the first point of an axis.
The next click on the same selection reflects it across the line through
the two points as one undo step, and Alt held at that release reflects a
copy. A drag after the first click draws the axis from it, and a dashed
line runs from the first point to the pointer until the second click.
A second click within 3 px of the first point does nothing. Escape,
Enter, a double-click, a changed selection or document, a new reference
point and switching tools drop the waiting axis. Alt on a first click
still opens the Reflect dialog. Rotate, Scale and Shear are unchanged.
A tool already in the toolbar was drawn in the disabled text colour
(about 2.6:1 on the panel), unreadable at the drawer's 12.5 px, and
the shipped toolbars hold most tools, so most of the drawer read that
way (#8294). Its name, shortcut and icon now take the dim text colour
instead (4.5:1 or better in every brightness), one step dimmer than a
tool not in the toolbar, so the distinction the dimming makes (#1018)
is unchanged.
The drawer test now also asserts the painted colour's contrast against
the panel.
A button on the Create tab, beside the pipette that copies the current
color into the theme, does the reverse: it sends the selected theme color
to the proxy in front, through paint.setFill or paint.setStroke with
keepModel, so the selection and the default for new art take it in its
own color model. A click is one undo step; a click that changes no art
adds none. The button is off without a document.
The help page describes this action for creating a color theme:
https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=222
The line under the Preferences fields now shows a sentence for each of
the 14 File Handling settings, from Enable Background Save to Use
Compression, when the pointer is over the row or its control has the
keyboard focus. A screen reader gets the same sentence as the control's
description. Every complete catalog has a row for each one.
Tests: the one-sentence test covers the File Handling category, and new
tests check the hover sentence of every File Handling row and the
keyboard-focus sentences of the first four.
The dialog's history takes the fields it read from the art as its first
state on the first frame, before the controls run. A pointer held from
that frame no longer leaves the first state unset until release, which
made the first edit the starting state with nothing to undo.
The docs say that fields set with ui.dialog.set become one step at the
next frame or step, and that Save All Colors and Save Prominent Colors
add a color group to the document at once, which Cancel and Undo
Changes leave in place.
While a Pen drag past the drag threshold shapes a handle, the Info
panel shows the change in x and y, the distance and the angle from
the anchor to the handle's end: the outgoing handle of a new, added
or last anchor, and the incoming handle of the first anchor when the
drag closes the path. Shift gives the constrained handle and Space
moves the anchor with it. The readout clears on release, a dropped
press and a tool change.
localization-parity.md: the key-language table has 13 rows, so its
heading says thirteen. 22 catalog rows give counts taken on main at
ee60c51fd9. A row is a non-comment line of crates/ui-egui/src/i18n/
<code>.tsv with three tab-separated columns and a non-empty source and
translation, as catalog::parse_entries reads it; `@msg` and
`@msgplural` are rows with that first column. Missing-string counts
come from `cargo xtask i18n-report` on the same commit and include the
strings it lists under "every language" (1 menu string, 1 `tl!`
literal, 3 undo labels and 15 messages). Notes naming pull requests
that would translate the missing messages are removed with the old
counts; #7434, still open, was one of them. The measurement note says
the 4,020 French reference applies to the percentages only.
- zh-hans 9,625 rows, 3,735 `@msg`, 51 `@msgplural`; 237 messages missing
- fr 9,770, 3,731, 51; 246 messages
- pt-br 9,868, 3,744, 51; 236 messages
- ja 9,477, 3,738, 51; 237 messages
- de 9,371, 3,742, 51; 236 messages
- vi 7,654, 1,968, 51; 1,974 messages
- zh-hant 9,428, 3,735, 51; 237 messages
- it 9,415, 3,740, 51; 237 messages
- nl 9,848, 3,747, 51; 235 messages
- da 9,928, 3,838, 51; 118 messages
- ru 9,866, 3,742, 51; 242 messages, 72 menu strings, 34 `tl!`
literals, 16 undo labels
- uk 9,412, 3,738, 51
- hu 9,774, 3,743, 51; 236 messages, 73 menu strings, 38 `tl!`
strings, 16 undo labels, 45 swatch names
- pl 9,650, 3,736, 51; 242 messages, 73 menu strings, 39 `tl!`
literals, 16 undo labels, 45 swatch names
- fi 8,074, 1,975, 51; 1,974 messages
- cs 9,761, 3,742, 51; 222 Czech messages plus 15 in every language
- bs 7,227, 1,205, 47; 113 menu strings, 66 `tl!` literals, 30 undo
labels
- sv 9,498, 3,311, 51; 647 messages, 31 menu strings, 14 `tl!`
literals, 6 undo labels
- bg 7,133, 1,111, 47; 76 menu strings, 48 `tl!` literals, 16 undo
labels, 45 swatch names
- el 8,003, 1,972, 51; 1,974 messages
- tr 9,784, 3,746, 51; 235 messages, 79 menu strings, 39 `tl!`
literals, 16 undo labels
- ca 8,036, 1,956, 51; 1,990 messages
The es, hi, id, ka, ko and gu rows and the catalog total under the
second table are left as they are, since open pull requests change
those lines or add a row next to them.
gaps.md: G16 is titled "Localization: remaining language work", with
the table link updated to the new anchor. Its own Missing list names
Arabic as the only key language without a catalog.
A click on the Control bar's X:, Y:, W: or H: label, with objects selected
or with the Artboard tool, opens the Transform panel in a popover under the
label, as the Transform link does; a second click closes it. The help page
(https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=374)
describes these labels as another way to bring up the Transform panel.
The click no longer gives the field the keyboard. A drag on the label still
scrubs the field, and the labels are not tab stops, so Tab still moves from
one field to the next.
New type started in [Normal Character Style]'s fill only and always used the
default font and size. It now takes the style's font, style, size and other
character attributes too, so redefining that style in a New Document profile
sets the default font of the profile's documents. A font, style, size or
color given to text.create still wins.
Part of #8350
Double-clicking an opaque GIF or PNG-8 color-table swatch opens the
Color Picker. Its OK writes that color as the color picked wherever it
appears in the image; Cancel changes nothing. A shifted swatch shows the
original color at its upper left and the new one at its lower right,
with the lock mark. Double-clicking it opens the picker on the original
color, and OK on it takes the shift away. Unshift All Colors in the
table's menu clears shifts and web shifts.
- colorTable.shifted {"#source": "#rrggbb"} carries the shifts by
source color, in the settings, the remembered settings and presets.
A shifted color is kept when reducing, before locked colors, and wins
over Web Shift, Web Snap and Lock; a color mapped to transparent stays
transparent. Bad colors, duplicate keys and more than 256 entries are
refused. The preview marks shifted colors.
- GIF lossy compression compares pixels with the reduction's colors
before the table's edits, so a shifted or web-shifted color does not
take in the pixels of a nearby color.
- Web Shift replaces a shift by hand, Lock stays on for a shifted color,
and Delete Color drops a deleted color's shift.
Docs: docs/mcp.md, docs/target-app-parity.md.
The checks that look only at selected blends' spines (Direct Selection's
hover, press and marquee, the Anchor Point tool's press and handles, and
the Pen's click on a spine) walked the whole document and built every
blend's spine before keeping the selected ones. They now go through
direct::selected_spines, which returns an empty list when no selected
object is a blend and otherwise keeps the same order and filter. The
check that finds a point on any blend's spine is unchanged.
On 20,000 paths and 200 blends, 500 checks with one plain path selected
took 24 us instead of 336 ms; with one blend selected the time is the
same. Results are compared against the old filter in the tests.
A scatter brush takes a Hue Jitter amount from 0 to 180 degrees (0 by
default). Each copy turns the hue of its solid fills and strokes, type
included, by its own amount up to that far either way, after the
colorization. The amounts come from the stroke's path and the brush
name, so a stroke draws the same colors on every redraw, after Save and
Open, and in export. Copies keep their places, sizes and rotations.
A color turns in its own model (RGB in the HSB of its values, CMYK over
C, M and Y with K kept, Lab by turning a and b). White, black and grays
stay as they are, and a symbol instance in the art turns only its stain.
A brush at 0 draws its copies in the colors the colorization gives them
and saves no hue_jitter key; a brush without the key reads as 0.
- brush.options takes hue_jitter, and brush.get shows it for every
scatter brush. Brush Options shows a Hue Jitter field (ui.brushOptions
field hueJitter) with rows in every catalog.
- The .ai editing data writer does not write the amount, so a jittered
brush is left out of the Brushes panel there and reported, as other
brushes that would open with other settings are.
Docs: docs/mcp.md, docs/target-app-parity.md.
Opening a PSD or PSB file with its layers as objects now applies a
layer's Knockout setting instead of only counting it in a warning. The
import options help page says that layers using a Knockout option are
merged with the underlying layers:
https://helpx.adobe.com/illustrator/desktop/add-and-import-files/import-from-other-apps/photoshop-import-options.html
A layer or group inside a group whose `knko` value is 1 is read as a
shallow knockout and merged with the visible layers below it in that
group into one image, named after them with " + ". Where it has pixels
(shaped by its layer mask), the layers below are cleared to
transparency and it is drawn there at its fill opacity; its opacity
then fades the result back toward the layers below. In a pass-through
group the cut shows what is outside the group, and the knockout is
applied only when it and the visible layers below it are in the Normal
mode, so that no layer stops blending with what is outside the group.
The knockouts of top-level layers, clipped layers, layers that others
are clipped to, other `knko` values, and merges that would need more
memory than allowed are not applied: those layers come in as before and
the existing warning counts only them. A hidden knockout that would
need the merge is left out, like other hidden layers that need a merge.
A knockout that draws nothing, or has nothing visible below it, merges
nothing and comes in as before.
Two buttons beside the Color Theme Picker go back and forward one color
edit made in the open dialog: the rows, Colors, Method, the Preserve
options, Limit to Library, the harmony rule, Global Adjust, the Color
Theme Picker's picks and the Prominent Colors weights. The art previews
each step. The dialog's history is separate from the document's: OK
still records one undo step and Cancel discards the edits with their
history. Each opening starts with nothing to undo, as the help page
describes (https://helpx.adobe.com/illustrator/desktop/manage-colors/modify-colors/recolor-options-overview.html).
VectorCraft's own rules: a change is one step once the pointer is
released, so a drag is one step; Reset is a step of its own; a new edit
after Undo Changes leaves nothing to redo; a button with no step to go
to is disabled; the dialog keeps at most 64 steps and 4 MiB of them.
ui.recolorUndo and ui.recolorRedo run the buttons and return
{changed, canUndo, canRedo}.
Rectangle Properties and Ellipse Properties in the Transform panel, the
Properties panel and the task bar's Shape Properties popup get an Angle
field, as Polygon Properties has. object.setLiveShape takes
rectangleAngle and ellipseAngle: each turns the selected shapes of that
kind about their own centers, keeping size, corners and pie.
The field shows the angle the selected shapes of its kind share and is
blank when they differ; the Polygon Properties angle reads the same way.
An angle a shape already has, within rounding, records no undo step, for
polygonAngle too. A value that is not a number is an error.
The Swatches panel menu gets Color Group Options..., available when one
color group is the whole panel selection. Its dialog shows the group's
name, and OK renames the group with the new swatch.renameGroup command
(ui.colorGroupOptions opens the dialog). The group's swatches, their
colors and the art linked to them stay as they are, and the group stays
selected in the panel under its new name.
The name is trimmed. An empty name, or a name another color group or a
swatch has, is an error and keeps the dialog open. A rename is one undo
step; the group's own name records none. Double-clicking a group's
folder and the options button still open Edit or Apply Color Group.
The Color Guide's spot color base follows a group renamed in a batch,
so deleting the group under its new name ends the link.
Help page: https://helpx.adobe.com/illustrator/desktop/manage-colors/learn-color-basics/create-color-groups-in-the-color-guide-panel.html
The Symbols panel's bottom bar gets a Symbol Options button between Break
Link to Symbol and New Symbol. A click, with or without Alt, opens Symbol
Options on the current symbol, as the panel menu's Symbol Options… does
(`ui.symbolOptions {edit: true}`). The button is disabled while the
document has no current symbol, and it uses the Swatch Options icon.
When a New Document profile's Default Graphic Style differs from the shipped
one (white fill, 1 pt black stroke), file.new resets new art in documents
from that profile to the style's fills, strokes and effects, not linked to
the style. Default Fill and Stroke (paint.default, D) gives the defaults and
the selected art the same look in those documents; type still gets a black
fill and no stroke. A profile with the shipped style leaves the current fill
and stroke as they were.
Part of #8350
Running Locate Object or Locate Layer again on the row it already
highlighted wrote the same highlight, so the Layers panel did not open
the layers around the row or scroll to it: a sublayer whose layer was
closed since stayed hidden. layer.locate now leaves a one-time request
on the document (DocState::locate_reveal) that the panel takes on its
next frame, opening the layers around the located row and scrolling to
it whether or not the highlight changed. The request is not saved and
adds no undo step, and the panel drops it when the row is no longer
highlighted.
A checkered box to the right of Grid Size and Grid Colors shows the grid
the dialog holds before OK: the chosen square size and the two colors,
the first in the top-left square. It is drawn with the canvas's own
transparency grid tile and cell size, through the same display profile,
so it matches the canvas for every size and color pair. It changes
nothing in the document, and Simulate Colored Paper and View > Show
Transparency Grid do not change it. A grid value the dialog cannot read
shows as the document's setting.
The canvas's tile code now takes the colors and a cache key, so the
dialog's tile is cached apart from the canvas's.
The Three-Point Arc tool, after the Arc tool in the Line Segment tool's
group, places two ends by a drag or two clicks, then a third point. The
arc passes through the third point, or with Third Point Sets Direction on
it leaves the first end heading toward it, or with Alt arrives at the
second end along the line from it. The setting is in the tool's Tool
Options (a double-click on the tool), and ] switches it while drawing.
The tool previews the arc, its center and radius, and shows "Arc too
large" where no arc fits.
shape.threePointArc {start, end, through | toward, at?} draws the open
arc in one undo step and refuses points with no arc, malformed points,
both or neither of through and toward, an at other than start or end,
and an at given with through.
Part of #7178.
A CMYK JPEG loses its ICC_PROFILE segments in some DeviceCMYK cases, masked CMYK images keep their inks on PDF import, and the none rule needs no CMYK destination of another profile.
The line under the Preferences fields now shows a sentence for each
Performance setting, from GPU Performance to Use Monitor Profile for
Canvas, including Linux Display Server where the platform shows it,
when the pointer is over the row or its control has the keyboard focus.
A screen reader gets the same sentence as the control's description.
Every complete catalog has a row for each one.
Tests: the one-sentence test covers the Performance category, Linux
Display Server and Use Monitor Profile for Canvas have sentences on
every platform, and new tests check the hover and keyboard-focus
sentences.
The SVG export options on the help page list a Show in browser option
beside Show Code, which displays the image in the default web browser:
https://helpx.adobe.com/illustrator/desktop/save-and-export/export-files-to-different-formats/export-file-format-options-in-illustrator.html
SVG Options gets a Show in Browser button beside Show Code. It writes
the SVG of the dialog's current, unconfirmed choices for one page (the
selection's crop under Export Selection, otherwise the first artboard
the options choose) to a new folder inside "VectorCraft SVG Preview" in
the system's temporary folder and opens it (file.export.svg.browser).
The dialog stays open, the choices are not remembered, and nothing is
written to the chosen file. The folder follows Save for Web's preview
folders: a private folder per preview, and folders an hour old are
removed; each kind removes only its own. The button is disabled on the
web build, and control and MCP requests are refused, as Save for Web's
Preview in Browser is.
Show Code and Show in Browser share one encoding step, so Show Code
changes in two ways. A range that OK refuses now shows OK's error:
before, Show Code showed the first artboard's code for a range it could
not read, and the first artboard named for a range such as "1, 9" when
the document has no artboard 9. A range naming one missing artboard was
already an error, with a different message. From Save As or Save a
Copy, both keep hidden layers, as the save does. A document with no
artboards shows the bounds of its art.
The Circle tool, in the Ellipse tool's flyout, draws a circle with
shape.circleThroughPoints. A drag from one point to another, or a click
on each, draws the circle with the two points as the ends of a diameter.
A click on a first point, then a press on a second point dragged to a
third, draws the circle through the three. Shift keeps the second point
at 45° steps from the first. For a circle on two points, Alt rounds the
diameter to the nearest ruler tick at the current zoom in the General
unit. Each point snaps to Smart Guides. Until the release the tool shows
the circle as a dashed outline (solid once it is more than 50,000 screen
points around), a cross at its center, a line from the center to each
point and, with Measurement Labels on, the diameter by the pointer.
Three different points on one line, or a circle past the canvas, show
"Circle too large" by the pointer instead, and the release draws
nothing. Escape, a dropped press, and an edit, Undo or Redo made outside
the tool drop the first point. A second press within 3 screen points of
the first point, or one that snaps to it, places nothing when let go
there, and draws the circle on the diameter it drags out when dragged.
Each circle is one undo step. The tool's icon is new and drawn for
VectorCraft.
shape.circleThroughPoints also takes two points, or two selected anchor
points, as the ends of a diameter. Its two errors about the number of
points now say "two or three", in every catalog that translates them.
Part of #7178.