The Import PDF and Place PDF dialogs have a new Text choice, Editable or
Outlines, which they send as the textAs param of document.open and
file.place. Outlines brings the text in as the glyph outlines the file
draws, so it looks the same on a computer that lacks the PDF's fonts.
The dialogs keep the choice in a new preference, Preferences > File
Handling > PDF Text (pdfTextAs, Editable by default). A PDF that opens,
or is placed embedded, without the dialog uses that preference when its
params give no textAs. The preference does not change how .ai and .ait
files open, or an open with linkPages. Outlines clears Import PDF pages
as links, and a linked place dims the choice: a linked page shows the
file's own text.
The three new strings have rows in every catalog.
A single line without advances now has its background from the nearest
to the furthest edge its glyphs' advances reach, as a line of several
does, instead of from the nearest edge on by the sum of the advances.
On more than one line without advances, a line of blanks whose underline
or strikethrough draws now has its background across its glyphs, where
the bar is drawn, instead of where the alignment puts a line that long.
Text without a background no longer measures or builds the cells.
A fill edit of a selected Live Paint group with edges and no faces edits
no object, yet paint.editGradient accepted an aspect there and returned
no ids, and the Aspect Ratio field stayed enabled.
- paint.editGradient refuses an aspect when the Live Paint filter leaves
no object. Graph design art alone still changes nothing without an
error, as for the other params.
- Session::gradient_edit_has_objects reads the same filtered targets, so
the field is dimmed in that case.
- Params text and docs/mcp.md name the case.
On more than one line without advances, each line's background now runs
across its glyphs' advances, trailing spaces included, as a single line's
does; layout leaves the trailing spaces out of the width it aligns. A
first line that holds only NULs fills its cells across their advances
instead of drawing nothing.
This takes three behavior changes out of the branch, so that it holds the
opaque background and the character cell it fills:
- A single line without advances is aligned as before, without its
trailing spaces. Its cells run across its glyphs' advances from where
its type starts; blanks alone, which draw no type, are filled where the
alignment puts them.
- NULs after a line break add their advance to the character before them,
as before.
- Blanks that are underlined or struck through draw nothing, as before.
A string of NULs alone in an underlined font now fills its cells and
adds no empty type object.
docs/mcp.md no longer describes the three, and docs/target-app-parity.md
lists the background and the cell.
The first commit's body names FontFace::win_ascent_descent as
Face::win_ascent_descent. A device context starts with a background color
that is typically white; the first commit states white as the playback
default.
A click that went down on New Symbol, Delete Symbol or a panel menu
item and went up in a later frame within egui's click distance reads
the modifiers of that release, also past the interact radius. A click
within one frame is matched by where the button went down, as egui
does.
view.proofSetup.save refuses a setup whose file would be larger than
the 64 KiB view.proofSetup.load reads (a device profile with a very
long name), and writes nothing.
Shift held once an artboard move or Alt-drag copy is under way keeps it
to the level, upright or 45° line from General › Constrain Angle, as a
Selection tool move does. A Shift-press still draws an artboard inside
another or marquee-selects (#2497). Smart Guides, the grid and whole
pixels slide the move along its line, and the cursor stays the move
cursor during a move.
When ten or fewer fonts match, adding more to the exhausted list returns
the same list as a new search, so the null more assertion could not tell
the two apart. The test now adds a font to the list before the null more
call, and only a new search drops it.
A metafile playback starts in the opaque background mode with a white
background color, and text drawn in that mode fills its character cells
with the background color before the glyphs. EMF and WMF import now adds
one filled rectangle of the background color behind each line of such
text, before the type, from the font's OS/2 usWinAscent above the
baseline to its usWinDescent below it, as far as the line's advances
reach (NULs and negative advances included). Files that never set the
background mode now import with a background behind their text.
Top and bottom aligned text now has the top or the bottom of that cell at
the reference point instead of 0.8 and 0.2 of the em. A single line
without advances is aligned as long as its glyphs' advances, trailing
spaces included. NULs after a line break move the start of that line,
and underlined or struck through blanks draw their bars.
Face::win_ascent_descent gives the OS/2 usWinAscent and usWinDescent
separately, at a variable font's instance.
The Control bar label's request to scroll the Links panel to the selected
image now carries the document it was made in. A draw of another document
drops it and leaves the Show filter as it is, and every draw that reads the
request clears it, including one with an empty list.