wezterm
wezterm copied to clipboard
CommitMono font is set to italic variant after fresh install
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
20230712-072601-f4abf8fd
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
No, and I'll explain why below
Describe the bug
After manually installing the https://commitmono.com/ font (all 4 variants - regular, bold, italic, italic bold), the varaint that is displayed by default in wezterm is italic instead of regular.
The issue can be fixed by uninstalling the italic variants in Windows Font Settings manually, and then reinstalling them.
To Reproduce
- Configure wezterm to use the
'CommitMono'
font - Freshly install the font from the zip archive provided on the font webpage or repo
- Start wezterm and observe that the fonts are italicized
Configuration
config.font = wezterm.font_with_fallback { 'CommitMono' }
config.font_size = 14.0
Expected Behavior
The Regular
variant gets picked by default.
Logs
No response
Anything else?
No response
Please update to the latest release, and if the problem persists, run wezterm ls-fonts
and share the output
Primary font:
wezterm.font_with_fallback({
-- <imported to RAM>, Gdi
-- AKA: "CommitMono"
{family="CommitMonoV143", style="Italic"},
-- <built-in>, BuiltIn
"JetBrains Mono",
-- <built-in>, BuiltIn
-- Assumed to have Emoji Presentation
"Noto Color Emoji",
-- <built-in>, BuiltIn
"Symbols Nerd Font Mono",
})
When Intensity=Half Italic=true:
wezterm.font_with_fallback({
-- <imported to RAM>, Gdi
-- Will synthesize dim
-- AKA: "CommitMono"
{family="CommitMonoV143", style="Italic"},
-- <built-in>, BuiltIn
"JetBrains Mono",
-- <built-in>, BuiltIn
-- Assumed to have Emoji Presentation
"Noto Color Emoji",
-- <built-in>, BuiltIn
"Symbols Nerd Font Mono",
})
When Intensity=Half Italic=false:
wezterm.font_with_fallback({
-- <imported to RAM>, Gdi
-- Will synthesize dim
-- AKA: "CommitMono"
{family="CommitMonoV143", style="Italic"},
-- <built-in>, BuiltIn
"JetBrains Mono",
-- <built-in>, BuiltIn
-- Assumed to have Emoji Presentation
"Noto Color Emoji",
-- <built-in>, BuiltIn
"Symbols Nerd Font Mono",
})
When Intensity=Bold Italic=false:
wezterm.font_with_fallback({
-- <imported to RAM>, Gdi
-- Will synthesize bold
-- AKA: "CommitMono"
{family="CommitMonoV143", style="Italic"},
-- <built-in>, BuiltIn
"JetBrains Mono",
-- <built-in>, BuiltIn
-- Assumed to have Emoji Presentation
"Noto Color Emoji",
-- <built-in>, BuiltIn
"Symbols Nerd Font Mono",
})
When Intensity=Bold Italic=true:
wezterm.font_with_fallback({
-- <imported to RAM>, Gdi
-- Will synthesize bold
-- AKA: "CommitMono"
{family="CommitMonoV143", style="Italic"},
-- <built-in>, BuiltIn
"JetBrains Mono",
-- <built-in>, BuiltIn
-- Assumed to have Emoji Presentation
"Noto Color Emoji",
-- <built-in>, BuiltIn
"Symbols Nerd Font Mono",
})
When Intensity=Normal Italic=true:
wezterm.font_with_fallback({
-- <imported to RAM>, Gdi
-- AKA: "CommitMono"
{family="CommitMonoV143", style="Italic"},
-- <built-in>, BuiltIn
"JetBrains Mono",
-- <built-in>, BuiltIn
-- Assumed to have Emoji Presentation
"Noto Color Emoji",
-- <built-in>, BuiltIn
"Symbols Nerd Font Mono",
})
Title font:
wezterm.font_with_fallback({
-- <built-in>, BuiltIn
{family="Roboto", weight="Bold"},
-- <imported to RAM>, Gdi
-- AKA: "CommitMono"
{family="CommitMonoV143", style="Italic"},
-- <built-in>, BuiltIn
"JetBrains Mono",
-- <built-in>, BuiltIn
-- Assumed to have Emoji Presentation
"Noto Color Emoji",
-- <built-in>, BuiltIn
"Symbols Nerd Font Mono",
})