-
-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WezTerm cannot find my nerd patched font after the latest update #1516
Comments
Please share the output from |
Have the same issue. Here's my requested outputs:
```
$ wezterm ls-fonts --list-system
Primary font:
Unable to load a font specified by your font=wezterm.font('Iosevka Nerd Font', {weight="Regular", stretch='Normal', italic=false}) configuration. Fallback(s) are being used instead, and the terminal may not render as intended. See https://wezfurlong.org/wezterm/config/fonts.html for more information
wezterm.font_with_fallback({
-- , BuiltIn
"JetBrains Mono",
-- , BuiltIn -- , BuiltIn }) When Italic=true: -- , BuiltIn -- , BuiltIn }) When Intensity=Half Italic=true: -- , BuiltIn -- , BuiltIn }) When Intensity=Half Italic=false: -- , BuiltIn -- , BuiltIn }) When Intensity=Bold Italic=false: -- , BuiltIn -- , BuiltIn }) When Intensity=Bold Italic=true: -- , BuiltIn -- , BuiltIn }) When Intensity=Normal Italic=true: -- , BuiltIn -- , BuiltIn }) Title font: -- , BuiltIn -- , BuiltIn -- , BuiltIn }) 29 fonts found in your font_dirs + built-in fonts:
$ wezterm ls-fonts -- , BuiltIn -- , BuiltIn }) When Italic=true: -- , BuiltIn -- , BuiltIn }) When Intensity=Half Italic=true: -- , BuiltIn -- , BuiltIn }) When Intensity=Half Italic=false: -- , BuiltIn -- , BuiltIn }) When Intensity=Bold Italic=false: -- , BuiltIn -- , BuiltIn }) When Intensity=Bold Italic=true: -- , BuiltIn -- , BuiltIn }) When Intensity=Normal Italic=true: -- , BuiltIn -- , BuiltIn }) Title font: -- , BuiltIn -- , BuiltIn -- , BuiltIn })
|
I actually have a similar issue but in reverse. With a nightly build downloaded from https://github.com/wez/wezterm/releases/download/nightly/WezTerm-nightly-Ubuntu18.04.AppImage, wezterm finds my fonts fine. When I build it myself with Relevant section of my config:
|
Here is the result of
and here of
|
Those font files are broken; there's something wrong with the name information in the font. The family name is set to font = wezterm.font("Iosevka Nerd Font Mono") See also: ryanoasis/nerd-fonts#586 In general, I do not recommend using those nerd font patched fonts with wezterm as they have a variety of weird issues like this. Instead, I would suggest taking advantage of font fallback; uninstall the patched fonts and install the originals for Iosevka, then download font = wezterm.font_with_fallback({
"Iosevka",
"Symbols Nerd Font Mono"
}), |
@klamonte: Could you open a separate issue and include the |
Wow, this is genius, thank you! [Edit]Added #1521 :-) [/] |
You are right, nerd patched fonts were the problem. Using:
Solved the issue. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
What Operating System(s) are you seeing this problem on?
macOS
WezTerm version
happens at the latest:
wezterm 20220101-133340-7edc5b5a
and nightly:
wezterm 20220106-174729-72595d99
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
I had a
.wezterm.lua
configuration file with the font "Iosevka Nerd Font Mono".It was working fine until the latest update.
After pulling the latest version I get:
I followed the commands found at #1137 and #1085 and ls-fonts grep displays Iosevka.
Also, note that this is a nerd patched font, I saw an issue fixed where some check was removed, maybe it's a regression?
To Reproduce
Configuration
Expected Behavior
Load the font like it used to do before the update.
Logs
Anything else?
I also tried other fonts (like IBM Plex) and those work. Seems to be related to nerd patched fonts maybe?
The text was updated successfully, but these errors were encountered: