Repository navigation
Replies: 4 comments 1 reply
|
I'm not sure whether I've applied a font yet using the Menu. I had the font set in the ghostty config. ghostty +show-config | grep font-fam
font-family = RecMonoCasual Nerd Font
font-family-bold = RecMonoCasual Nerd Font
font-family-italic = RecMonoCasual Nerd Font
font-family-bold-italic = RecMonoCasual Nerd FontBut when executing ghostty in another terminal, it was clearly loading the JetBrains Mono NF font according to the output. |
|
After setting the font using Style->Font back to "JetBrains Mono NF" the config is also updated, but after setting the font in the config back to "RecMonoCasual Nerd Font", ghostty just ignores the setting and uses "JetBrains Mono NF" instead. |
|
I observed the same behavior. I did try editing via I tried multiple font-family values and none were reflected in ghostty.
|
|
Claude Code traced the root cause of this. What follows is its explanation and suggested fix. It looks like the culprit is the <match target="pattern">
<test name="family" qual="any"><string>monospace</string></test>
<edit name="family" mode="assign" binding="strong"><string>JetBrainsMono Nerd Font</string></edit>
</match>The combination of This is reproducible with a one-liner—no Ghostty involved: (With a fixed Ghostty is uniquely sensitive to this because of how it builds its font query—see ghostty-org/ghostty#3015, where a Ghostty collaborator confirms the trigger is This also explains the confusing bits reported elsewhere in this thread:
Suggested fix in <alias>
<family>monospace</family>
<prefer><family>JetBrainsMono Nerd Font</family></prefer>
</alias>The alias form only applies when an app explicitly requests The fix has been verified locally—after rewriting the rule into the |
Uh oh!
There was an error while loading. Please reload this page.
System details
AMD Ryzen 5 7600X, RTX 4060 Ti, Omarchy 3.4.0
What's wrong?
After the update ghostty falls back to using the default font, which is JetBrains Mono NF.
Workaround: After selecting the previous font again in the Meta+Alt+Space Style -> Font it is applied again.
All reactions