A dialog taller than the app window was drawn past the window's edges
with no scroll bar. In a 1024 by 480 window, SVG, EPS and DXF Options,
Save PDF, Export for Screens, Print, Keyboard Shortcuts and Find Font ran
past the top, so their heading and first options could not be seen. Save
for Web, Preferences and New Document also ran past the bottom, with
their buttons out of reach.
- The body of a shared dialog scrolls while the dialog would be taller
than the window, and its heading and buttons stay in view.
- A dialog window without such a body scrolls as a whole on each axis on
which it is taller or wider than the window. Its buttons can then sit
below or beside the part in view until it is scrolled.
- A dialog that sizes its lists from the window's height (Import
Shortcut Set, Character and Paragraph Style Options, the Color Picker)
is not scrolled vertically again, but it scrolls sideways when it is
wider than the window.
- A list with its own scroll bar inside a scrolling body (the Save for
Web settings, the Print and Save PDF sections) is no taller than the
body shows, so the list and its bar can be scrolled into view whole.
- A dialog that closes and opens again starts at its top. A dialog that
was only hidden while another opened over it (Keyboard Shortcuts under
Import Shortcut Set) keeps where it was scrolled to.
- A field being edited keeps its text and focus when a resize makes the
dialog start or stop scrolling.
- Save for Web in a window narrower than its full layout draws its
preview panes narrower, down to 240 pt, so the settings column and the
buttons stay in view.
Reported by erolkarino in #5941.
Shapes with more than a basic appearance (several fills or strokes,
effects, item transparency, brushes, width profiles, arrowheads) stay
outlines. The stroke's caps, joins, miter limit, dashes and alignment
carry over. A line's glyphs share one size and turn exactly, and a first
glyph its line cannot draw is tried on its own.
A point worked out on an outline lies a rounding error inside or outside
it. The new test places a point at 37 angles on a turned ellipse, and on
each anchor and three places along each segment of a turned and moved
Bezier circle, and checks that each gets exactly one line through it.
Each retyped line is laid out and compared glyph by glyph with the
outlines; it splits where its type would draw another glyph or the same
glyph elsewhere (tracking, manual spacing, font substitutions), and a
glyph its type cannot draw stays an outline. Shapes with their own
opacity mask stay outlines. Shapes past the limits are reported as
truncated. Glyphs of plain-shape symbols (box drawing, blocks, geometric
shapes, private use) are not matched, so drawn rectangles stay art.
Type › Retype is in the Type menu.
`assets.export` now refuses `pdfs: "single"` with assets, layers and
`selection: "each"` before any file is checked or written (70fdab8445
on main), so the test's request no longer reaches the link check and
fails with that refusal. A single-file PDF is now written only for
artboards, whose items all hold the same document.
(cherry picked from commit 80cf2172f1)
A selected object that yields no shape between two selected glyphs (live
type, an open path) ends the line, as it does inside a group. Tests for
that and for glyphs selected inside different groups.