Vscode: terminal only supports monospace fonts

Created on 10 Jun 2018  路  8Comments  路  Source: microsoft/vscode

VSCode Version: 1.24.0-insiders
OS Version: ubuntu18.04

I use zsh and powerlevel9k.

My regular terminal looks like....
terminal

And this is my integrated terminal
look like this.
vscode

I try to change terminal.integrated.fontFamily when i had read #7116,#15119
but then ..
only

how can i fix this ? this my first issue :)

integrated-terminal

Most helpful comment

@Zingoer MesloLGM Nerd Font fixed it for me as well. Thanks!

All 8 comments

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

You set your font to monospac, it's missing the e.

Even though i hit that button ' use 'monospace' ', my integrated terminal font still break. I think the problem is not about 'missing e', its about 'only support' make me can not change it to other font . Just like Hack Nerd Font Bold (what my regular terminal use).
So , how can i make terminal.integrated.fontFamily support it ?

(I am a student, and my english is not good, if i write something wrong, just forget it :) )

@Tyriar

The way the popup works is when the font is changed it will measure the i of the font and the w, if their width differs it's assumed it's not a monospace font. If you like your font and you get the warning you're fine to keep using it and ignore the warning, but we don't support proportional fonts: https://github.com/Microsoft/vscode/issues/35681

I fix it by install all of this https://github.com/ryanoasis/nerd-fonts .
And then change terminal.integrated.fontFamily to a nerd font.

screenshot from 2018-06-11 13-58-52

Best everyday of you ! @Tyriar

Update

vscode font
it works for me .

@HappySven
I've download the Nerd Font Meslo to my ~/.local/share/fonts.
I try to change my terminal.integrated.fontFamily to
"terminal.integrated.fontFamily": "Meslo LG S Regular"
or
"terminal.integrated.fontFamily": "Meslo LG S Regular Nerd Font Complete"
But I still get the same problem. Do I need to do anything to enable nerd font?

My env is Ubuntu 18.04 and vscode 1.24.1-1528912196

Update
I finally make it work by using
"terminal.integrated.fontFamily": "MesloLGM Nerd Font"

@Zingoer MesloLGM Nerd Font fixed it for me as well. Thanks!

Was this page helpful?
0 / 5 - 0 ratings