stream_length took the last "obj" substring in the text as the object
header, so a stream dictionary name such as /Tag/obj moved the scan past
the outer dictionary and lost its /Length. The keyword now counts only at
the start of the text or after PDF white space.
window.floatTools placed a new strip at the canvas's top left, and fell
back to (0,0) when no view had been laid out yet: right after a document
opened, or with no document open. The strip then covered the top of the
docked Tools rail.
Without a laid-out view, the strip now opens beside the docked rail it
came from (else the Tools panel's), level with the rail's top and the
float space's cascade inset away from it, on the side toward the middle
of the window. A dragged tear-off still opens at the pointer.
The compact type was set to 92% of its nominal sizes (body 13 to 12,
labels 12.5 to 11.5, captions 11.5 to 10.5), but the display type that
draws the Home title stayed at 26 points on a 32-point line, so the
title drew about 8.7% larger than in 0.24.1. The display type is now
24 points on a 29-point line, its nominal 26 on 32 at the same scale.
A test checks that the title keeps the nominal title-to-body
proportion against the compact body type, and that its line keeps the
framework's display line proportion.
The cell-clipped dots split every elliptical arc at 45 degrees, and the
quadrants were joined with a zero-length line where they met on an axis.
A round dot that stays inside its cell had 8 curves and 3 extra anchors
instead of 4 curves, and the halftone's SVG export grew to about twice
its size.
- Arcs are split at 90 degrees, one curve per quarter turn.
- Quadrants and spot corners that meet at the same point are joined
without a line, so the join adds no anchor.
Tests: an unclipped Circle and Ellipse dot is 4 curves and no line, and
no dot shape repeats an anchor where its quadrants or corners meet.
Since #7669 the flattener's rasters have been encoded through the shared
image codec with its default compression (zlib level 6). EPS export, and
any other export that flattens, encodes every rasterized area this way
and then decodes it again right away, so a document with many live
effects exported about 170 ms slower to EPS. The rasters are now written
with PngCompression::Fast, as the SVG filter raster already is
(crates/effects/src/svg_filter.rs). The pixels and the EPS output bytes
do not change.
Switching to Essentials Classic, Automation, Layout, Painting, Printing
and Proofing, Typography, Web or Touch, or resetting one, brought its
panel to the front of its group but no longer opened it from a column
collapsed to icons, so the panel stayed hidden.
A workspace record keeps the panel open from the icons again: each
built-in names its panel, a workspace left or saved keeps the one open
then, and switching or Reset opens it. A recorded panel the new layout
does not show from icons stays closed. Workspaces saved without the
field open none.
The Essentials Classic test checks the open panel again, and new tests
cover Painting, Automation, switching back as left, Reset, saved
workspaces and the preferences' JSON.
The one-column Tools rail stacked Search above Edit Toolbar in its
footer. The extra row made the default rail taller than a 1000 pt
window holds, so the rail scrolled and Edit Toolbar was out of view.
A one-column rail now shows Edit Toolbar alone. Search Commands stays
in the title bar, Help > Search Commands... and its shortcut. The
two-column rail keeps Search beside Edit Toolbar.
Tests: one_column_rail_shows_edit_toolbar_in_a_1000_point_window; the
#8758 layout test checks the one-column footer, and the search query
test runs on the two-column rail.
hit::intersects_rect measured every path's exact bounds before
deciding it missed the marquee. Since the anchors became chunked
(#7814), that walk costs about three times as much, and a marquee over
many paths became about 1.8x slower than in 0.24.1.
It now first compares the path's cached control box with the rect and
returns false when the two lie strictly apart. A control box that only
touches the rect, or has no area, still goes to the exact checks. On a
50,000-path document a 400x300 marquee takes 8.2 to 10.6 ms instead of
46 to 64 ms, and selects the same 3,675 paths.
`PathItems.index()` with a number went straight to `items_doc`, which
refuses every compound-path-scoped `PathItems` so that creating paths
there stays unavailable. Its siblings (`[n]`, `getByName`, `length`,
`removeAll`) already dispatch scoped collections to the layer handlers
first, but `index` did not, so `compoundPathItems[0].pathItems.index(0)`
threw "creating paths in a compound path is not available yet". Route a
scoped `index` to `scoped_index` like the other lookups; the guard now
only stops real creation.
dxf_widest and dxf_leftmost folded from f64::MIN and f64::MAX, so a DXF
that kept its header but lost every vertex gave an infinite product and
the unitScaleRatio and pica assertions still passed. Both now reduce the
coordinates and fail when there are none.
docs/mcp.md: a relative save or open path is resolved against the
working folder of the process that wrote or read the file.
Opening a PDF, EPS or .ai file with images re-encodes each image, and
each image's opacity mask, as a PNG. Since the switch to the shared
image codec these PNGs were written with the codec's default
compression (deflate level 6) instead of fast compression. A PDF and
an .ai file each holding one image opened about 50 ms and 105 ms
slower than in 0.24.1.
PDF import and the EPS and .ai readers now each encode through one
helper that asks for PngCompression::Fast, the setting the SVG filter
raster already uses. The pixels are unchanged.
Tests check the zlib header of every PNG an import stores (RFC 1950
FLEVEL): PDF RGB, gray and image-mask images and a CMYK image's soft
mask; a PostScript RGB image and a masked CMYK image's mask; and .ai
RGB and Separation images with their masks, at full size and reduced.