Skip to content

Fix #36: the font menus list the installed fonts, with a search field - #171

Merged
bflatastic merged 1 commit into
mainfrom
fix/issue-36
Oct 5, 2026
Merged

bflatastic merged 1 commit into
mainfrom
fix/issue-36

Conversation

@bflatastic

Copy link
Copy Markdown
Member

Fixes #36: the font menus list every installed font, with a search field.

  • Type ▸ Font, the Character, Properties and Glyphs panels, and Find Font now list all installed fonts. This builds on Bug: Installed fonts (Arial, Times New Roman…) are reported missing until something triggers the system font scan #130.
  • The family dropdowns have a search field that stays above the scrolling list. Enter picks the first match, and the list opens at the current font.
  • Show System Fonts is now Refresh Font List (text.rescanFonts → {families, faces}). It picks up fonts installed since the app started, and the canvas redraws type in them without marking the document modified.
  • New query text.fontList {family?}, so MCP agents can list the families and a family's styles.
  • Type ▸ Font's items are rebuilt only when the fonts change.
  • ROADMAP: the M7 row lists installed system fonts and CJK names in the UI.

Checks

🤖 Generated with Claude Code

Type > Font, the Character, Properties and Glyphs panels and Find Font list
every installed font by default, as the reference app does, instead of the
four bundled families. The family dropdowns get a search field that filters
the list as you type (Enter picks the first match) and open on the current
font. Show System Fonts, which no longer means anything, becomes Refresh Font
List (text.rescanFonts): it picks up fonts installed since the app started and
redraws type set in them without editing the document. text.fontList lets MCP
agents list the families and a family's styles.

Root cause: the font lists came from FontDb::families(), which only held the
bundled fonts until something scanned the system fonts (fixed with #130). The
Type > Font menu, rebuilt every frame, now builds its items once per font
change, and renderers lay type out again when the fonts change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Expand font support

1 participant