wezterm
wezterm copied to clipboard
WezTerm doesn't use the Nerd Font Symbols fallback when using certain non-default fonts
What Operating System(s) are you seeing this problem on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240509-223025-91a16e52
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
If I change the default font used by WezTerm from JetBrains Mono to Fira Code, Consolas, or Cascadia Code (these are fonts I've tried; used the latest versions of all three), WezTerm no longer uses the Nerd Font Symbols fallback. However, I also tried Geist and Geist Mono, and with them WezTerm does appear to use the Nerd Font Symbols fallback. Based on the font fallback section of the docs, I would have expected the fallback to be used in all these cases. Tried using both the font()
and font_with_fallback()
functions; result is the same with both.
To Reproduce
Edit .wezterm.lua and specify either Fira Code, Consolas, or Cascadia Code as the font and then save the file.
Configuration
local wezterm = require("wezterm")
-- This will hold the configuration.
local config = wezterm.config_builder()
config.font = wezterm.font_with_fallback("Fira Code")
return config
Expected Behavior
The Nerd Font Symbols fallback is used with whatever font I specify.
Logs
No response
Anything else?
No response