The Tsume field in Advanced Character Formats shows a % beside it but
read its text as a unitless number, so 25% and 50%/2 were rejected with
"Tsume must be a number". It now takes the percent field dispatch; the
0 to 100 clamp still applies.
The Contour bar's distance, Graph Data's Number of Decimals and Column
Width, Map Art's surface number, the Keyboard Shortcuts dialog's Hold
Shortcut Delay, the unitless values of the 3D effect dialogs and the
number fields of Character Style Options read typed text with their own
readers, so `4x3` or `1+2` were not read in most of them. They now read
it with the shared field arithmetic. The Contour bar's distance and
Character Style Options' length fields also read a unit (`2 mm`).
Warichu Settings' Lines and Scale read text given through
`ui.dialog.set` the same way.
These fields take `%` and `°` only where they show them, and none of
them reads an exponent (`1e3`) or a space inside a number (`1 000`).
In the shared unitless fields, a unit suffix, `%` or `°` between two
digits is now refused: `1%2` read as 12. The Stroke panel's Limit reads
`2x3` as 6 instead of 23.
Docs: docs/mcp.md, docs/target-app-parity.md.
The monitor list for floating panels now carries each monitor's work
area: rcWork from GetMonitorInfo on Windows, and visibleFrame on macOS,
turned into the top-left origin and physical pixels of the monitor's
rect. The work area is converted to points with the same scale and zoom
as the rect, and craft-ui uses it to decide whether a reopened panel's
title bar can be grabbed and where to move it. A work area with no width
or height is left out.
Restoring the main window now keeps it inside its monitor's work area
too, so a window saved at the top edge of a monitor with a taskbar along
its top opens below the taskbar, and a window taller or wider than the
work area is made to fit it, with room for a system title bar and
border when the window has them.
On Windows the panel list stays empty when the monitors have different
scale factors, as before, and a build without the wgpu feature reads no
work areas. Linux and the BSDs keep the whole monitor rect.
A graph design brought in from another document now draws the graphs in the
art of the symbols that came with it with the designs the document kept under
the same names. A scatter graph's point markers are limited to the designs of
its plotted pairs of series, as the legend markers are, so naming a design for
a slot the graph never draws no longer redraws the graph when that design
comes in.
docs/mcp.md now says that an edit made by another command during a
drag ends the path whether it changes the path or other art, and that
with the realTimeDrawing preference off such a press adds no piece
while the edit stays. A flip or size change made during a drag is part
of that piece's undo step; one made between presses is its own step.
The paragraph is wrapped at the file's width again.
The progress line lists a dragged piece ending at the release point and
C, [ and ] changing the arc being dragged with VectorCraft's own rules.
The bracket test checks that the arc being dragged is drawn again, the
drag test checks that the next click starts a new path, and new tests
cover an edit to other art during a click and an edit during a drag
with realTimeDrawing off. The tool no longer keeps the path as it was
before a press once the press ends.
A selected Live Paint group left with only its hidden source paths is still a selection, so appearance.addFill and appearance.addStroke with target contents return without a change instead of reporting an empty selection. An empty selection is still refused.
The Info panel's Shear and Zoom readouts, the status bar's Undos and
Redos counts, the Appearance panel's graphic style header, the Links
panel tooltip's holder and Opacity Mask lines, and Production
Preflight's Effective PPI line wrote a plain ":" after a translated
label. They now use i18n::colon, so French shows a no-break space
before the colon and Japanese and Chinese show the full-width colon.
English is unchanged.
Part of #7991.