Panes refit a view when its slot or its place in the layout changes,
not when the number of panes changes. Closing the sixth document in
6-Up leaves the other five in their panes with their zoom and scroll;
side by side and stacked, every pane changes size and each document
fits its new pane.
Tile laid the open documents out in one grid only, and the application
bar had no Arrange Documents button. Window > Arrange now also has Tile
All Vertically (side by side in one row), Tile All Horizontally
(stacked in one column) and 2-Up, 3-Up, 4-Up and 6-Up layouts, which
show that many documents and leave the others under their tabs. Those
layouts show the first documents in tab order, and the current document
takes the last pane when it is not among them.
An Arrange Documents button on the application bar, beside the
workspace switcher, lists Consolidate All Windows and the Tile layouts.
The item for the layout the panes show is checked.
window.arrange.tile takes `layout` (grid, vertical, horizontal, 2up,
3up, 4up or 6up; grid when omitted), refuses any other value, and
returns it with {tiled, panes}. ui.inspect reports tileLayout.
The four panel tests that export into a folder made it under the system
temporary folder and removed it at the end, so a failing assertion left
the files behind. They now use vectorcraft_testkit::TempDir, which
removes the folder when the test ends or panics.
The WebP chunk walk added the chunk length to the offset without a
checked add, so a length near u32::MAX overflowed on 32-bit targets
(wasm32) with overflow checks on. It now reads the chunk through the
same checked slice helper as the PNG, JPEG and TIFF readers.
Create Sub-folders and Open Location after Export are check items that set
the settings the panel shares with Export for Screens, and the panel's
Export follows them. Create Sub-folders is checked as the dialog opens on
it: on for a document without export settings, and on for remembered
folders per row, format or item, which the panel's Export now uses too.
Format Settings... opens Export for Screens on the Assets tab showing the
first row's format settings.
assets.settings.set takes openLocation (kept in document.exportSettings,
not in presets), refuses a subfolders or openLocation value that is not
true, false or null, and with subfolders false given alone also ends a
remembered folder per format or item. Export for Screens reads remembered
empty folders as none, as an export does.
This reverts commit bada8e1710. #7638 merged with its gate failing: besides six unformatted
files, render and trace don't compile against craft-libs e2dc681 (u64::from(usize) in
render/src/paint.rs, a private craft-libs function, and a call with one argument too many in
trace/src/opaque.rs), so main's CI fails. The tree is that of 0adbdce6cb, whose CI passed.
When a Type 2 CIDFont or a Type 42 descendant of a composite font has no FontMatrix, the
font a cshow procedure sees as current now takes the identity as its default, as glyph
measuring and drawing do, instead of the 1/1000 default of other fonts.