Chevron Arrow stretches only the shaft before its second chevron, so
both chevrons keep their length however long the path is. The Bundled
content row counts the Arrows library.
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.
layer.new without `top` or `below` now reads the drawing mode: in Draw
Behind the new layer goes directly below the current layer, at its level
(a sibling below a current sublayer), as the help page describes
(https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=234).
The Layers panel button, the panel menu, Ctrl/Cmd+L and the Layer
Options dialog all go through layer.new. `top` and `below` keep their
meaning in every mode, Draw Normal and Draw Inside keep a new layer
above the current one, and New Sublayer is not affected.
Marks and Bleeds in the Save PDF dialog and the PDF preset editor gets a
link button beside Top, Bottom, Left and Right. While it is on, editing
one value sets all four; turning it on gives every side the top value.
It opens on when the four values are equal, and choosing a preset or
Reset sets it again from that preset's values. With Use Document Bleed
Settings on, the button is grayed out and the custom values stay as they
were. The link is not an export option or a preset setting;
ui.dialog.set sets it as __bleedLinked and refuses anything other than
true or false.
The unconfined report path for an existing link is built from native
path components so Windows separators match the package report. JSON
assertions use the path encoded the same way Value::to_string does,
and the unconfined Document Info check reads the report text field.
Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
docs/target-app-parity.md listed the SVG/SVGZ and PDF format entry twice; the shorter copy is removed and the entry that also names the .ai and EPS image sources stays.
The Strokes rows and the Bundled content row in docs/target-app-parity.md and the M10 row in docs/roadmap.md count eleven generated libraries and name Engraving, and the docs/ui-parity.md checklist row lists it.
A dialog taller than the app window was drawn past its top and bottom
edges, with no scroll bar, so its first options and its buttons could not
be reached. At 1024 by 480 this happened to SVG, EPS and DXF Options,
Save PDF, Save for Web, Export for Screens, Print, Preferences, Keyboard
Shortcuts, New Document and Find Font.
- The body of a shared dialog scrolls while the dialog would be taller
than the window, and its heading and buttons stay in view.
- A dialog window without such a body (Preferences, Keyboard Shortcuts,
New Document, Find Font) scrolls as a whole while it is taller or wider
than the window, at the 800 by 500 minimum window size too.
- Dialogs that already size their lists from the window's height
(Character and Paragraph Style Options, the Color Picker, Import
Shortcut Set and the dialogs that use scrolled_rows) are not scrolled
again.
- A dialog that is closed and opened again starts at its top, for its
scrolling body, its scrolled_rows and the window as a whole, instead of
where it was left.
- Save for Web in a window narrower than its full layout (800 pt, the
smallest window) draws its preview panes narrower, down to 240 pt, so
the settings column and the buttons stay in view instead of scrolling
off to the side.
- A field being edited keeps its text and focus when the window is resized
so that the dialog starts or stops scrolling: its contents keep their
ids either way.
Tests: the Save for Web settings and the Print sections show their bar at
rest; the export option dialogs at 1024 by 480 stay on screen with their
buttons in view and their bar drawn; Preferences, Keyboard Shortcuts, New
Document and Find Font at 800 by 500 stay on screen with their bar drawn;
Save for Web at 800 by 500 shows its settings and buttons and no sideways
bar; a modal window scrolled with the wheel opens again at its top, both
when it scrolls as a whole and when its rows scroll; a field keeps its id
when the body or the window starts or stops scrolling. The Print test that
types into Scale W picks W as the leftmost of the matching fields, since
the accessibility tree lists its nodes in no particular order.
Fourteen Polish rows that came in with main's preference descriptions
named art and artwork grafika. They now use kompozycja in the case each
sentence needs, as polish_rows_call_artwork_kompozycja requires.
Common Tangents (addon.pathtools.commonTangents) now also takes a point,
a path of one anchor, together with a convex closed path. The lines run
from the point to where they touch the path: two from a point outside
it, one from a point on its outline (centered on the point and as long
as the path is wide along it, or the whole straight side the point lies
on), and none from a point inside, which leaves the document unchanged
and returns a warning. Centerline adds the line from the point to the
path's center. Every Tangents value gives the same lines; two points
are refused.
The geometry treats the point as an outline whose support value is
p . n, so the existing root search finds the lines.
Docs: docs/mcp.md, docs/target-app-parity.md, ROADMAP. The new warning
has a row in every catalog.
A call with outLeft or outRight but no outIndex set the incoming point
alone and reported success, so the outgoing widths were dropped. It is
now refused as a missing outIndex, and the document and history stay
as they are.
The brush library evidence in docs/target-app-parity.md names Arrows and describes its five brushes, the Strokes rows and the M10 row in docs/roadmap.md count eleven libraries, and the docs/ui-parity.md checklist row lists Arrows.
A selection made before the reduction or the color count changed, or set
through ui.dialog.set, could name a color the table no longer holds. Delete
Color stayed enabled for it, added the absent color to colorTable.deleted
and fixed the table as a Custom palette although no shown color was
deleted. Delete Color is now enabled only for selected colors the table
shows and deletes only those; a selection with none of them is cleared and
the table is left unchanged.
The French row for "Automatic Plane Positioning is off" uses a colon with
a no-break space before it, as the French catalog's other messages do. The
Traditional Chinese row puts the setting's name in 「」, as the catalog's
header asks for the name of a setting.
layer.highlight searched the highlighted rows once for every id it was
given, so a range of n rows took about n^2/2 comparisons, and the panel's
preview of the rows (apply_row_click) did the same before sending the
command. Both now keep a set of the highlighted rows beside the ordered
list. layer.highlight builds the set only for more than 8 ids, so a
one-row Ctrl/Cmd-click toggle does not pay for it.
The rows, their order, the returned rows, the current layer and the
revision are unchanged; tests compare the command with the per-id search
on 3,000 rows and the widget with it on 5,000 rows.
Each press collected every object Select All can reach into a set and then
tested only the siblings of the selected object. The siblings are now tested
one at a time against the layers and groups that hold them, with the same
rules as the walk: sublayers and the ruler guides of a layer are passed over,
and an isolated object on its own is the one there is to select. The selected
object is the same.
A random-document test compares every node and every step, isolation mode
included, with a copy of the earlier search. On 100,000 rectangles a step
took a median of 11.5 ms of thread CPU time before and 0.08 us after
(next_object_perf, release build).
Cut with direct-selected anchors or segments removed each object selected
whole, and each path it left with no segment, with its own remove. Every
removal shifted the siblings after it, so later lookups walked the
document's tree again. With 2,000 roots removed whole, the old loop
walked the tree 10,005 times.
These removals now go through the same batch that already places the
surviving pieces, which rebuilds the children of each layer or group
once, and compound paths left with no members are removed after it. A
compound path left with one member stays a compound path. The document,
the selection, the clipboard and the undo step are the same as before.
With 2,000 of 10,000 squares on one layer selected whole and two anchors
of another picked, Cut walks the tree 8 times instead of 10,005 and
takes a median of 11 ms of CPU time instead of 573 ms (release build on
Linux, seven alternating runs in one process).
The line under the Preferences fields now shows a sentence for Enable
Touch Workspace and for Enable Touch Gestures when the pointer is over
the row or its box 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.
The sentences state what VectorCraft does today: with Enable Touch
Workspace on, a touch screen switches to the Touch workspace, and turning
the setting off or losing the touch screen goes back to the workspace it
switched from. With Enable Touch Gestures on, a two-finger tap on the
canvas undoes, or switches between selection and drawing tools in the
Touch workspace, and a three-finger tap redoes; neither tap runs a
command in Presentation Mode.
Tests: the one-sentence test covers the Devices category, and new tests
check the hover and keyboard-focus sentences of both rows.
The French row for the Make Compound Shape warning had an ordinary space
before ";", which french_catalog_uses_nonbreaking_prose_punctuation
rejects on main. It now uses U+202F.
The transform tool runs move, rotate, scale, reflect and shear as separate
commands. A shear angle that object.shear refuses, such as 90, a reflect
axis other than vertical or horizontal, or a scale of 0 failed only after
the earlier steps had changed the art and recorded undo steps. The tool now
checks those params first with the rules the commands use
(scale_factors, reflect_axis and shear_tangent, shared with object.scale,
object.reflect and object.shear), so a refused request changes nothing and
records no undo step.
General's Show on Shape Creation gets its sentence for the description
line, with a row in every catalog, so
every_general_selection_guides_and_smart_guides_setting_has_one_description
passes with main merged.
The dialog and stroke.widthPoint.set each tested whether two width
points are the halves of one discontinuous point. The test is now one
engine function, width_point_pair: a point and the next one are the
two halves when they are the only points within 1e-6 of the first
one's place. The dialog still picks which point to test, and the
command still returns its error when the indices are not a pair.
With a fixed palette (Custom table), the colors listed in colorTable.transparent
all become the one transparent entry, so together they now take a single slot of
Colors, and the opaque colors fill the remaining slots in palette order. Before,
the palette was cut to its first entries; when those were all mapped to
transparent, every opaque pixel took one of them and the whole image turned
transparent, and with a deleted color the export was refused although an opaque
color was left past the cut. The check that a deletion leaves an opaque color
now reads the whole palette.
When no pixel is transparent and no pixel takes a color mapped to transparent,
that slot goes to the next opaque color. At 256 colors one entry stays for a
color mapped to transparent.
A release away from the last drag point now moves the circle's points to
the release position before the circle is drawn, for a drag from the
first press, from a second press and from a press on the first point. A
release within 2 screen points of the press is still a click and keeps
the point of the press.
Session::execute asked about a command's params description several
times per command (the key check, whether `id` stands for `ids`, whether
it takes `ids`), and each question parsed the description again, with a
command lookup for each word after the first of each `…` entry. The
engine now reads every built-in description, and the ones its `…`
entries name, once into a table keyed by the description's address and
length, and answers accepted_keys, takes_key, id_stands_for_ids and
check_keys from it.
A plug-in command's description, and a built-in description whose `…`
entries name a plug-in command, are still parsed where they are used,
since plug-ins change while the app runs. The keys, answers and error
messages are the same; tests::params_cache compares them for every
built-in command against a fresh parse.
In a release build on a one-object document, object.move with ids and
dx takes 48 us of thread CPU time per command instead of 61 us, and
select.set with ids 2.3 us instead of 3.2 us (medians of 7 alternating
runs of 20,000 commands in one process, while other builds were running;
tests::params_cache::bench_params_keys_once). The time is saved per
command, in scripts, batches and MCP or plug-in call loops, and does not
grow with the size of the document.
The Create tab had only a hex field for typing the selected theme
color's values. The help page describes changing the selected color's
values in CMYK, RGB, Lab, HSB or hex while making a theme:
https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=221
A Color Mode menu (CMYK, RGB, Lab, HSB) under the theme's colors shows
a rail and a number field for each component, beside the hex field. The
rails are the Recolor dialog's, so they step with the arrow keys and
take screen readers' set-value action.
VectorCraft's own rules: the menu starts in the selected color's model
(HSB for a gray) and keeps the mode picked while the app runs; picking a
mode changes no color. Ranges and whole-number steps are the Color
panel's (Lab a and b from -128 to 127); a number past the range sets its
end and text that is not a number changes nothing. A CMYK edit keeps the
color CMYK and a Lab edit keeps it Lab; RGB and HSB edits make it RGB.
An edit works as a hex edit does: with a harmony rule the edited color
becomes the theme's base and is selected, and in Custom only the
selected color changes. The sliders keep the numbers they set, so a
color taken to no saturation keeps its hue on the H slider.
In isolation mode the Layers panel lists the isolated layer, sublayer,
group or object as its top row, with the open rows inside it, and lists
every layer again when isolation mode ends. The help page describes the
panel showing only the isolated art
(https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=212);
which row heads the list, and the rules below, are VectorCraft's own.
- Entering isolation mode opens the isolated row; leaving it scrolls back
to that row. Search and Filter look only inside it.
- Nothing is dropped beside the isolated row or into the empty space
under the rows, so a drag cannot move art out of the isolated art.
- Rows highlighted outside the isolated art are no longer highlighted.
- With no row highlighted, Delete Selection is off and the trash
returns an error instead of deleting a current layer outside the
isolated art.
- New Layer, New Sublayer and Duplicate (panel menu and row context
menu) are off while the layer or copy they make would be outside the
isolated art. ui.newLayer, and OK in New Layer Options, return "exit
isolation mode first" then.
- Rename refuses an object outside the isolated art, and Locate Object
opens no rows outside it.
Value fields and length strings read `x`, `X` and `×` as a
multiplication sign: `10x2` is 20, `2x3 mm` is 6 mm and `3cmx50%` is
1.5 cm. A lowercase `x` right after a `p` stays the `px` unit, so
`2px x 3` is 6 px and `2px3` is not read. The change is in
`Unit::parse` and `parse_number`, so every field that reads its text
through them takes it. Each sign counts toward the 128-sign limit,
which is checked before the text is copied.
Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md.
The tangent of 180 degrees in radians is about 1e-16, not 0, so a shear
by 180 or -180 moved coordinates very slightly and recorded an undo
step. Angles within 1e-9 degrees of 0, 180 or -180 now shear by 0:
without `copy`, nothing moves and no undo step is recorded.
Docs: params text, docs/mcp.md.
Display All Blacks Accurately converts pure CMYK black through the CMYK
working space, which with Device CMYK (uncalibrated) is the profile-free
formula rather than a profile. Output All Blacks as Rich Black also
changes grayscale raster exports, and a CMYK PSD keeps its inks like a
CMYK JPEG or TIFF. The two sentences, their rows in every complete
catalog and the docs/target-app-parity.md line now say so.
With Adjust Adjoining on, the outgoing half of a discontinuous point
looked for the point after it as the first one farther than 1e-6 from
its own place, so a point within 1e-6 of the outgoing half but not of
the pair's place was skipped. Both halves now measure from the pair's
place.
On every frame the Image Trace panel put the whole selection in paint
order twice and scanned it a third time to find the object Trace acts
on; its panel menu scanned it again. The panel and its menu now look it
up once for each document revision and reuse the result on later
frames. The lookup puts only the selected images and Image Trace
objects in paint order, and reads the target in place instead of
copying it.
The target, its flags, its stored settings and whether any selected
object is an Image Trace object are the same as before, field for
field. With 100,000 selected paths in nested groups and one selected
image, a frame's lookups took a median 120 ms before; the first frame
after a change now takes 10 ms and later frames about 50 ns.
A group with a knockout was drawn for the knockout and, when it drew
nothing, drawn again as a layer of its own. Nested inside each other,
such groups were drawn twice over for every level, so opening a crafted
PSD file could take exponential time; layers without pixels charge
nothing against the import's memory allowance, so it did not stop it.
The import now keeps what a group gave when drawn without reading any
layer's pixels (nothing, or a canvas without pixels) and gives it again
without walking the group's layers. A pass-through group that laid
nothing onto an empty canvas without reading any pixels is not laid
there again; its layers count the same warnings each time. A merge
that can't be made forgets the groups found during it, with the notes
it gives back.
A knockout group that comes in as a layer is also listed after being
drawn, and its layers clipped to a fill that isn't drawn, or left
unclipped by a merge past the memory allowed, were counted twice in the
warnings. Each is now counted once.
The knockout of a layer that others are clipped to was applied when
the clip merge needed more memory than allowed and the layers came in
apart. It is now left unapplied and counted, as it is when the clip
merge is made.
A Dissolve knockout at part opacity cleared every pixel below it in
part. It now clears each pixel fully or not at all, at the share its
transparency times its opacity gives, as other Dissolve merges do.
Make Compound Shape now also warns when a member's subpaths, all closed,
enclose no area together: two open evenodd squares on top of each other,
or an open evenodd square over the same closed square. Each subpath is
still checked on its own, so a line beside a square still warns. A path
with one subpath skips the combined check, and an area that can't be
measured gives no warning.