With Constrain Ratio on, OK leaves out the side it sets while that side
holds the size Constrain Ratio gave it, so the command works it out from
the kept side and grows both in proportion to its 0.1 pt minimum. A kept
width of 0.1 pt over a 100 x 50 pt image now makes a 0.2 x 0.1 pt mosaic
instead of refusing the 0.05 pt height. Another value set on that side
is still passed on for the command to check.
Resize Using Percentages keeps the fields and the mode as they are when
the size would fall outside 0.1 to 1000000 the other way, and the dialog
shows the limit. The dialog also shows why Use Ratio was refused.
Docs: docs/target-app-parity.md (image tools row).
The measurement that runs before the style cascade and usvg now covers
the inputs that still got past it:
- usvg matches a selector without keeping what it found, so one whose
leftmost part matches nothing tests every set of ancestors in turn.
The measurement counts those tests for each copy and stops at
50,000,000; past that the SVG is refused with "the SVG's style sheets
take too long to match". An SVG image's matching stops at what the
SVG showing it left.
- A test counts one more for every 16 attributes a lookup scans and
every 16 bytes of the value it compares, so many classes against a
long class list count the work they do, in usvg's matching and in
the import's own cascade.
- The declarations the import's own cascade keeps, once per element,
count toward the 64 MB, including those of `:not()` rules, which usvg
drops. Each `:not()` alternative counts as a test.
- A linked SVG file is measured before its cascade runs. The linked SVG
files share one measurement: once they pass the limits together, the
files after that are shown without their links. The tests a file past
the limits made still count.
- SVG images share the element limit and the selector tests with the
SVG showing them, as they already shared the 64 MB.
The svg_filters reader measures its SVG before the cascade too.
Object > Create Object Mosaic... opens its own dialog on the selected
image: Current Size, New Size, Tile Spacing, Number of Tiles, Constrain
Ratio (Width or Height), Result (Color or Grayscale), Resize Using
Percentages, Delete Raster and Use Ratio. It replaces the generic
parameter dialog, which showed only the counts, the spacing and the two
switches.
object.createObjectMosaic takes percentages, constrain and useRatio.
Use Ratio keeps the count on the kept side and picks the other count
whose tiles, spacing taken off, come closest to square, measured along
the image's own sides. A new width or height outside 0.1 to 1000000 is
refused, and the result gives the columns and rows used.
Docs: docs/mcp.md, docs/target-app-parity.md.
Reverse Path Direction reversed each member path of a compound path and
turned the members' own stroke records, but left the compound path's
strokes as they were. A compound path's strokes run along its members'
subpaths in order, so its width profile and pen pressure, tilt, bearing
and rotation then ran the old way and the stroke drew differently.
reverse_stroke_records now also takes a compound path, reading its
members' subpaths in order, and path.reverse turns each compound path's
strokes with the combined reversal of its members before they reverse.
As for a path, the strokes turn only when every subpath turns alike.
The Links panel menu gets Copy Info, which runs the new UI command
links.copyInfo {ids?}: the file names of the selected rows (or of ids),
one per line in the order the panel shows them, go to the clipboard.
The item is off with no row selected. An id that is not an image or a
placed document, or a malformed ids, is an error and leaves the
clipboard as it was.