mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
The Character and Properties panels' font menu was a plain searchable list of names. With hundreds of installed families (and Japanese names that say little to someone who can't read them) a name isn't enough. - Each row shows the family's name and a sample of the selected text set in it (a generic sample when the font lacks its characters). Samples are rendered off the UI thread, a few per frame, and only for the rows in view (the list is virtualised). - The row under the pointer or reached with ↑/↓ previews its font on the selected text, as one live interaction with nothing in the history; a click or Enter applies it as one step, Escape or closing the menu puts the text back. The current family is highlighted and scrolled into view, also when the document names it in another language. - Filters by script (Japanese, Latin) and kind (serif/Mincho, sans serif/Gothic, rounded, script/brush, monospaced, decorative), from the font's OS/2 classification and, for CJK fonts whose tables seldom say, its names. `FontTraits`/`FontClass` in the text crate; installed families get them from the same scan as their names. - ▸ (or →/←) lists a family's styles; a style row previews and applies that style. - ☆ stars a family; the ★ filter shows only the favourites (kept with the UI state). - Preferences › Type › Enable in-menu font previews and Font Preview Size now turn the samples off and size the rows; the in-window Type › Font menu (Windows, Linux) shows a sample beside each name. - Families whose name starts with a dot (the system's own) are hidden. - Catalog rows for the new labels in zh-hant (complete) and ja. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>