The proxies and the paint commands that name no objects stood for the Live
Paint Bucket's colors only while the bucket itself was the active tool. Two
tools that work for the bucket lost them:
- The Gradient panel's eyedropper on a stop of the bucket's gradient: the
stop was deselected as soon as the Eyedropper became active, and the click
then copied the clicked object's appearance onto the selection.
- A Cmd-click with the bucket, which the Selection tool takes: with New Art
Has Basic Appearance off, the new selection's appearance replaced the
bucket's fill and stroke.
Session::bucket_paints() now answers for the bucket, the Eyedropper armed
for a stop of its gradient (Tool::returns_to), the Selection tool lent to
either, and the actions of the Eyedropper's click that end by switching back
to the bucket. Every check that compared the tool id with the bucket's now
uses it: the proxies, the Stroke panel, the selected stop's owner, new-art
inheritance, previews and their cancel.
- The armed pick ends without sampling, and switches back to the bucket,
when its stop is no longer selected or no longer exists.
- Clicking the panel's eyedropper again while a pick is armed keeps the tool
the pick returns to.
- The Color panel's cached mixed state is keyed on bucket_paints().
- A Brush Options Key Color pick or an Image Trace ignored-color pick armed
from the bucket is not a stop pick.
Tests: live_paint_bucket_keeps_its_colors_through_the_stop_eyedropper_and_a_cmd_click
(engine), the stop option test (tools), the stop eyedropper and mixed
selection tests (ui-egui). Docs: docs/mcp.md, the Live Paint Bucket
paragraph.
Part of #4934. type.retype set a line spaced by tracking as one point
type object per glyph, since untracked type does not draw the glyphs
where the outlines are.
- A line of three or more glyphs that most gaps space evenly apart now
takes that spacing as its tracking (1/1000 em, tried rounded to a
whole number within 0.05, then as measured). The font's advances and
pair kerning are left out of the measure, and word spaces are counted
after the tracking. When untracked type also draws the line, the line
stays untracked if the tracking is under one unit or the tracked type
would drop a gap one space wide, so "a b c" stays "a b c". Negative
tracking is set only on opaque, Normal lines with a solid fill or
none and no stroke.
- Where a line splits, the glyphs after the split take the tracking
their own gaps give, and a tracked line whose type misplaces its
first glyphs is set again without tracking. The measure has a layout
budget, so long or widely spaced lines are bounded.
- The result's fonts entries add tracking.
These rules are VectorCraft's own. Docs: docs/mcp.md (Retype tracking),
docs/type-parity.md (Retype row), docs/target-app-parity.md,
docs/roadmap.md (M7 row).
The Import PDF and Place PDF dialogs have a new Text choice, Editable or
Outlines, which they send as the textAs param of document.open and
file.place. Outlines brings the text in as the glyph outlines the file
draws, so it looks the same on a computer that lacks the PDF's fonts.
The dialogs keep the choice in a new preference, Preferences > File
Handling > PDF Text (pdfTextAs, Editable by default). A PDF that opens,
or is placed embedded, without the dialog uses that preference when its
params give no textAs. The preference does not change how .ai and .ait
files open, or an open with linkPages. Outlines clears Import PDF pages
as links, and a linked place dims the choice: a linked page shows the
file's own text.
The three new strings have rows in every catalog.