Main's automation roots (ADR 0124) list every command whose parameters name a path; text on a
path made path.move_points mention one. It edits vector points, so it goes in NOT_FILES.
Inter, JetBrains Mono and egui's own fonts have no Japanese, Chinese, Korean,
Arabic, Thai or Indic letters, so text in them showed as empty boxes in the Movie
Explorer, the timeline, the Library and Properties, while the stage drew it.
Each frame the painted text is checked for characters no interface font has; a
background thread then finds an installed face that has them (the system's own
interface faces first, ordered by the system's language for Han characters) and
it is added after every other font. Nothing loads until such text is shown; at
most 6 faces of at most 48 MB, each character looked up once.
Also adds the docsettings screenshot state.
Fixes#482
A fill or stroke dragged onto another cut it the moment the mouse was let go,
while still selected. In Animate it cuts nothing until the selection lets go of
it, so it can be moved on, or back. The editor now floats a moved selection
(draw.float: whole, on top, as a paste already was) and the drawing takes it in
when it is deselected; undo takes back the move and the cut together. draw.drop
stays for scripts. ADR 0122 amends ADR 0031.
Also regenerates the guide's command and shortcut reference (draw.float,
Ctrl+J for Document Settings, all_layers on Remove Frame and Clear Keyframe).
Fixes#487
F5 with no frame selection extends every layer at the playhead, but Shift+F5 took
the frame off the active layer only, and Shift+F6 cleared only its keyframe.
timeline.remove_frame and timeline.clear_keyframe take all_layers, which the
editor sends when no frames are selected; the playhead steps back when its frame
is removed, so the key can be held. The question before artwork is lost counts
every layer the key acts on.
Fixes#438
The menu item ran doc.set_stage with nothing to set, so nothing happened. It now
opens Document Settings (stage size, frame rate, stage colour; OK is one undo
step, Cancel changes nothing), with Animate's Ctrl+J. Headless, the command takes
the values as before.
Fixes#505
A layer named after a long file (an imported sound) drew its name under the eye,
lock and outline toggles. The name now ends in an ellipsis where they begin.
The other half of #440, the side panels growing with a long name until the window
could not be used, was fixed by the narrow-panel work (ADR 0087): with a 110
character sound name the docks keep their width.
Fixes#440
The always-shown bars (#483) took the text colour at full strength, striping the dark theme with
white. They now rest at 45 % (about 3:1 against the panel, a control's contrast), brighten under
the pointer and while dragged, and still take a lane as wide as the bar. egui applies handle
opacity only to floating bars, so the bar floats with a full-width allocated lane; the guideline
test now checks that lane and the bar's visibility at rest rather than the flag.
Follow-up to outside PRs #489, #404 and #486. Trace Bitmap counts areas of colour while it grows them and stops at 2,000,000 with one sentence: a 4096 x 4096 image of noise at threshold 1 made 16.7 million regions, each with an adjacency map (gigabytes). Measured in release: photo-like 1024 px 50 ms, 2048 px 225 ms, 4096 px 0.85 s; noise 2048 px at the defaults 1.9 s. Adds --open tracebitmap for screenshots, the ATTRIBUTION row for the tracer, AUTHORS, CHANGELOG credits, the roadmap's honest status and the guide's limits.
Follow-up to outside PR #486: restores the untouched lines rustfmt rewrapped (READY and the test lists other tracks edit), renames the Hebrew test for what it checks (never offered yet), checks Georgian still draws with the Hebrew face behind it, adds the ATTRIBUTION row, and words the docs for what the face does today: Hebrew letters in names, not an interface language.
* refactor(svg): read SVG text and path data through craft-svg
SVG import now decodes its bytes with craft-svg (SVGZ, UTF-16 and Latin-1,
within the shared size limit) and refuses entity bombs, very wide elements
and deep nesting with craft-svg's guards before anicraft_xml builds a tree.
Path data (SVG import, the path.d and motion path commands, the interface
icons) is read by craft_svg::path_data. anicraft-geom keeps only the
elliptical-arc-to-cubic geometry; its own tokenizer is removed.
craft-svg is pinned to craft-libs main 57288eda.
Refs storytold/craft-libs#778, storytold/craft-libs#789
* refactor(svg): pin craft-svg to #1848 and parse colours through it
craft-svg is now at craft-libs main b836a718 (#1848), with default features
off, so the lock no longer pulls vectorcraft or the image codecs. Colours
go through parse_color_alpha; transparent stays in the app because the
shared parser rejects it. Percentage rgb channels follow the shared
parser's 8-bit rounding (50% is 128/255).
* fix(svg): clip out-of-range rgb() and bound decoded text
parse_color_alpha rejects rgb(300,0,0); CSS clips that to red, and so
did the previous local parser. If the shared parser fails, clip rgb()
channels and try once more. Also refuse text that grows past the 64 MiB
limit after Latin-1 or UTF-16 decoding, which svgz::text does not count.
* refactor(svg): pin craft-svg to #1878
craft-svg is now at craft-libs main c7a872e2 (#1878), which bounds the
entity-declaration scan and resets smooth-control history after Z.
default-features stays false. The other craft-libs pins are unchanged.
* fix(svg): bound rgb() components and emit integer channels
clipped_rgb now stops at a fifth component instead of collecting an
unbounded comma list, and number-form channels are retried as integers
so a value such as 127.5 is accepted by the shared parser.
* fix(svg): finish parser routing and reject missing moveto
Route the newer Continue Path entry point through the shared adapter. Require an initial moveto and assert precise preflight refusal variants. Focused geom/SVG tests: 137 + 31 passed. Quadratic gradient parity remains a separate merge blocker.
---------
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
Numeric tables kept in the document (CSV, TSV through craft-csv, JSON), bindings of a column to a symbol instance's x, y, scale, rotation, alpha or the frame a graphic shows, applied purely in evaluate; Bake to Keyframes; a table viewer and a Data section in Properties.
Measured (test profile, Windows 10): import of 100 000 rows x 10 columns from 3.2 MB of CSV in 63 ms; evaluate of 200 instances 15 us unbound, 82 us with 200 bindings on a 1 000-row keyed table; bake of those 200 instances in 4.9 ms.