[PR #10045] fix(desktop): Expand font stacks to include macOS Nerd Font default names #13312

Closed
opened 2026-02-16 18:18:10 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10045

State: closed
Merged: Yes


What does this PR do?

This PR updates the mono font-family stacks in settings.tsx to include the default font registration names used by Nerd Fonts when installed manually on macOS, to solve NerdFonts not being picked up to be used in the desktops embedded terminal. By listing all the actual font names that macOS assigns to each of the common Nerd Fonts, the app is much more likely to correctly match and display the intended font if a user has any Nerd Font variant installed.

How did you verify your code works?

I confirmed the names of the fonts picked up by MacOS when manually installing each font then tested these font stacks locally on my macOS machine with several Nerd Fonts installed and confirmed that they appear correctly in the embedded terminal

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10045 **State:** closed **Merged:** Yes --- ### What does this PR do? This PR updates the mono font-family stacks in settings.tsx to include the default font registration names used by Nerd Fonts when installed manually on macOS, to solve NerdFonts not being picked up to be used in the desktops embedded terminal. By listing all the actual font names that macOS assigns to each of the common Nerd Fonts, the app is much more likely to correctly match and display the intended font if a user has any Nerd Font variant installed. ### How did you verify your code works? I confirmed the names of the fonts picked up by MacOS when manually installing each font then tested these font stacks locally on my macOS machine with several Nerd Fonts installed and confirmed that they appear correctly in the embedded terminal
yindo added the pull-request label 2026-02-16 18:18:10 -05:00
yindo closed this issue 2026-02-16 18:18:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13312