You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] Cannot use different styles of Input Mono font #9157
It's not just "Input Mono", the same behavior can be seen with Hack. I normally use "Hack Regular", but since the update that falls through to Consolas.
It's more probable that since the update it tells you that it fell back to Consolas. That error dialog is hooked up to the renderer actually failing to find the font, even after it's tried a couple different ways. It was perhaps never working properly, and the dialog only now alerts you to that fact. 😄
Well, it was definitely using Hack Regular at some point, though to your point, it's possible it was never quite right, and only now is it notifying me. Still, I'd trade not being notified for using the right font again. 🤔
The workaround, currently, is only install the variant of Input you want. This works in Windows Terminal but sometimes not other apps.
A working example of another terminal would be Alacritty, where if I want, say, narrow, I can set the four styles as "Narrow", "Narrow Bold", "Narrow Italic", "Narrow Bold Italic". There is no equivalent in Windows Terminal yet to set a raw style string, and can only use the weight enums.
For font names that contain axis tags in general, we're tracking that in /dup #9744 (because it has more technical information on the problem, even though it is a newer issue than this one). Some preliminary work was done in #10777, but it proved difficult to work into our font selection engine at the time. We're in a better place now 😄
That having been said, please subscribe to #9744 for updates. In the meantime, you can use the axes override to specify specific widths.
Activity
[-]Cannot use different styles of Input Mono font[/-][+][bug] Cannot use different styles of Input Mono font[/+]skyline75489 commentedon Feb 19, 2021
I've tried installed all 3 variants of Input Mono:
The DWrite API actually reports that
Input Mono Condenseddoes not exist in the system. HoweverInput Monodoes exist. Mike Griese (@zadjii-msft) Dustin L. Howett (@DHowett) any idea why this is happening?epyonavenger commentedon Mar 2, 2021
It's not just "Input Mono", the same behavior can be seen with Hack. I normally use "Hack Regular", but since the update that falls through to Consolas.
DHowett commentedon Mar 2, 2021
It's more probable that since the update it tells you that it fell back to Consolas. That error dialog is hooked up to the renderer actually failing to find the font, even after it's tried a couple different ways. It was perhaps never working properly, and the dialog only now alerts you to that fact. 😄
epyonavenger commentedon Mar 2, 2021
Well, it was definitely using Hack Regular at some point, though to your point, it's possible it was never quite right, and only now is it notifying me. Still, I'd trade not being notified for using the right font again. 🤔
zadjii-msft commentedon Mar 4, 2021
This looks like a real bug, but I've got no idea why this isn't working. I'll stick it in 2.0 - we'll figure it out eventually 😄
derekslenk commentedon Oct 15, 2022
Hmm - this has been making Windows Terminal unusable. So much for WSL.
Not understanding why this issue was closed with no linked ticket or workaround
Diablo-D3 commentedon Nov 7, 2022
The workaround, currently, is only install the variant of Input you want. This works in Windows Terminal but sometimes not other apps.
A working example of another terminal would be Alacritty, where if I want, say, narrow, I can set the four styles as "Narrow", "Narrow Bold", "Narrow Italic", "Narrow Bold Italic". There is no equivalent in Windows Terminal yet to set a raw style string, and can only use the weight enums.
derekslenk commentedon Nov 7, 2022
If you use oh-my-posh, it seems to download and install the fonts correctly

falleng0d commentedon Nov 10, 2022
Font is recognized in other apps and it has a lot of weights such as "compressed" that are not recognized by windows terminal
DHowett commentedon Nov 10, 2022
Huh, thanks! I believe that "Compressed" (like "Condensed") is a name for the width axis, not the weight axis.
You can use custom font axes like width (
wdth) by adding an"axes"field to your"font"like this:DHowett commentedon Nov 10, 2022
For font names that contain axis tags in general, we're tracking that in /dup #9744 (because it has more technical information on the problem, even though it is a newer issue than this one). Some preliminary work was done in #10777, but it proved difficult to work into our font selection engine at the time. We're in a better place now 😄
That having been said, please subscribe to #9744 for updates. In the meantime, you can use the
axesoverride to specify specific widths.