Skip to content
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

terminal only supports monospace fonts #51543

Closed
mrunhap opened this issue Jun 10, 2018 · 8 comments
Closed

terminal only supports monospace fonts #51543

mrunhap opened this issue Jun 10, 2018 · 8 comments
Assignees
Labels
terminal Integrated terminal issues

Comments

@mrunhap
Copy link

mrunhap commented Jun 10, 2018

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 :)

@vscodebot
Copy link

vscodebot bot commented Jun 10, 2018

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

@vscodebot vscodebot bot added the terminal Integrated terminal issues label Jun 10, 2018
@Tyriar
Copy link
Member

Tyriar commented Jun 10, 2018

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

@Tyriar Tyriar closed this as completed Jun 10, 2018
@mrunhap
Copy link
Author

mrunhap commented Jun 11, 2018

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 :) )

@mrunhap
Copy link
Author

mrunhap commented Jun 11, 2018

@Tyriar

@Tyriar
Copy link
Member

Tyriar commented Jun 11, 2018

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: #35681

@mrunhap
Copy link
Author

mrunhap commented Jun 11, 2018

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 .

@xiaoxipang
Copy link

xiaoxipang commented Jul 2, 2018

@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"

@AlexZeitler
Copy link

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

@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

4 participants