In the web build (no render worker), while the view of a document whose
last render took more than 8 ms moves, the canvas draws the last frame
moved with the view and renders once the view is still. An edit in
that time rendered the whole canvas at the new view, every frame: a
tool drag held at an edge of the canvas (#8551) or a wheel scroll during
a drag did that on each step.
Such an edit is now drawn into the frame shown, at the view it was
rendered for: only the part the edit changed (changed_pixels). The
frame stays drawn reprojected and renders whole once the view has been
still for STILL_SECS, as for a view change without an edit. An edit
that changes more than half of the frame, or one while more than the
view and the document change, renders whole at once as before. The
partial redraw of draw_frame moves into draw_changed, shared by both.
Fixes#8688
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).
HP-GL Options stored no document, so OK after `window.nextDocument` or
`file.new` exported the newly active document to the path chosen for
the first one. The dialog now keeps the uid of the document it was
opened for, and OK closes it and writes nothing when another document
is active, as Delete Brush's dialog does.
A distorted image's corners land on the handles only when it is distorted alone. Place with Replace does not refuse a text file or a DCS file's plates. HP-GL plots leave images out.
Trim View hides the guides, so a guide dragged or double-clicked out of a
ruler while it is on was made but could not be seen, and the drag turned
the stored Show Guides choice on. Now neither makes a guide: no preview
line, no undo step, the stored choice is left alone, and the status line
says why. A drag already going when Trim View turns on ends as a release
off the canvas does.
The Default Language and Plug-in Instruction Budget sentences now come from
main, so the catalog rows this branch added for its older wording matched
no displayed sentence. They are removed, and the catalogs keep main's rows.
The Plug-ins & Scratch Disks progress line describes the budget as the
displayed sentence does and no longer lists which categories have sentences.
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.
A merge of main left a second UI chrome row in the assessment table and an
older Preferences › Hyphenation evidence line beside the current one. The
branch now adds only the Plug-ins & Scratch Disks evidence line.
- A paste that adds a design the document lacked draws the document's
graphs that name it again, in the same undo step; the pasted graphs keep
their art.
- A library design brings along the designs its art uses, and the graphs
that name any of them are drawn again. A design the document keeps
brings none of the library design's resources.
- Only a series that draws a design is redrawn for it: a marker counts
while Mark Data Points is on or the legend has an entry for the series,
and a column design counts for a column or bar series.
- A symbol pasted a second time is the one the first paste added and drew
again with the document's designs.
- Renaming a design renames it in the graphs of symbols and opacity masks,
and Select Unused counts those graphs.
- swatch.library.load reads a file no further than the 256 MB limit.