main's gate fails french_catalog_uses_nonbreaking_prose_punctuation on
the "{pos} of {total}: {name}" row of fr.tsv, added by #8017, which has a
plain space before the colon. The row now uses U+00A0 there.
Open #8053 fixes three other rows that main already has right, so it
does not clear this failure.
The font menu's Recently Added chip, on its own row under Font Technology,
lists only the installed families with a font file created in the last 30
days, the newest at the top. It combines with the search, script, kind,
Variable, star and Document filters, lists the recently used families in
the same order without the Recent Fonts section, leaves Show Similar Fonts
to order only these families, steers the closed field's wheel, and is
shared by every font menu for the session.
The font scan keeps each file's creation time, and
FontDb::recently_added(now) dates a family by its newest file at or
before `now`, the 30th day included. Files without a creation time or
dated in the future do not count, and families added at the same instant
are in name order. The open menu lists a family no longer once its 30
days end.
A run whose family and style were split from a PostScript name, such as
Honoka and Mincho, now counts under the family of the installed font of
that name, as the font lookup finds it with both values. The wheel's
order over the closed field stays as it was listed at the first notch
until the pointer leaves the field or the selection changes, the
Document filter's families included.
While a font is previewed from the menu, the Document filter reads the
document as it was before the preview, so the family the previewed text
had stays listed and the rows do not move under the pointer. A pick or
an undo still lists the families again.
The Contextual Task Bar and the Control bar check, each time they are
drawn, whether the selection holds a color that Recolor Artwork can
change. The check walked the whole subtree of each selected object even
after the first color, so with one large group selected, the check read
every paint in the group.
- Node::try_walk visits in walk's order and ends at a ControlFlow::Break.
- swatches::node_has_colors stops at the first color node_colors would
visit; node_colors now runs the same visitor without stopping, so the
two read the same nodes and paints in the same order.
- has_colors in the task bar uses node_has_colors.
The result is the same for every selection. On one group of 100,000
paths, the check takes 16 ns instead of 14.5 ms when the first path is
filled; when only the last path is filled, or none is, it costs about
what the full walk costs.
A Document chip beside the star filter lists only the font families that
type in the current document is set in, as the quick filter on the font
browser overview help page describes:
https://helpx.adobe.com/illustrator/desktop/design-with-text/fonts-and-scripts/font-options-overview.html
The filter combines with search, script, kind, Variable, favorites, Recent
Fonts and Show Similar Fonts, steers the closed field's wheel, follows
edits and undo while the menu is open, and is shared by every font menu
for the session. Type in hidden, locked and masked objects, symbols,
patterns and graph designs counts; a composite font lists under its own
name; a family the document names but the computer lacks is not listed.
A document without available fonts lists nothing with its own message,
and with no document open the chip is unavailable.