JetBrains font not applying. #9257
Replies: 1 comment 6 replies
|
There are many different questions and assertions mixed together here.
Ghostty's built-in font is no longer JetBrains Mono Nerd Font. Instead, JetBrains Mono and Symbols Nerd Font are built-in separately, and Ghostty performs all the scaling and alignment calculations that the nerd font patcher would do to match the nerd font icons to whatever primary font you're using (in fact, it can do even better with icons that need to align across cells).
Wezterm does its own scaling of nerd font icons. It appears that they're mostly blown up to the maximum size that can fit within two character cells, though I don't know the details of what's going on. In any case, Wezterm is not a good reference for faithful representation of nerd fonts.
No, Ghostty is never going to confuse a configured font with a built-in font. If you specify a font in the config, it will be loaded from the system. In short, what you're seeing is the correct result of specifying your config, but since the fonts you're specifying are the same as the built-in ones, what you see is almost identical to what you would get with a blank config (the only difference is that you're using Symbols Nerd Font Mono instead of Symbols Nerd Font, which means a small number of icons will be smaller than the default). |





Uh oh!
There was an error while loading. Please reload this page.
Issue Description
Font fallback is not applied correctly.
I'm using JetBrains Mono and Symbols Nerd Font Mono instead of the built-in font, but they aren't applied. The left screenshot is Ghostty, the right is Wezterm.
The issue with small icon size and misalignment occurs with JetBrains Mono Nerd Font (i.e., Ghostty's built-in font).
Expected Behavior
font fallback applied like wezterm, iterm, etc..
Actual Behavior
If the font names are completely different, it seems the font fallback is applied. It appears to be conflicting because the name is similar to the built-in font.
Reproduction Steps
Fonts
font-family = "JetBrains Mono"
font-family = "Symbols Nerd Font Mono"
Ghostty Logs
No response
Ghostty Version
OS Version Information
macos 26.0.1
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
macos 26.0.1
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.All reactions