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

Windows Terminal and VSCode integrated terminal fails to render glyphs #128

Open
KozyWorks opened this issue Jan 22, 2023 · 5 comments
Open

Comments

@KozyWorks
Copy link

terminal

I am running an Ubuntu Server for myself and installed fancy-git for the very first time. Since I am using a Windows Terminal and VSCode on my client PC (Windows) I have manually installed Sauce Code Pro Nerd Font Complete Windows Compatible.ttf as suggested, but it fails to render those glyphs as shown above :/
(Same for VSCode)

Any thoughts, please?

Thank you!

@mendelssohnbach
Copy link

I am reporting the same problem using Ubuntu 22.04 Desktop.

fancygit --fonts-install
...
...
fc-cache: succeeded

image

cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
code --version
1.77.3
704ed70d4fd1c6bd6342c436f1ede30d1cff4710
x64
cat .vscode/settings.json 
{
    "terminal.integrated.fontFamily": "'SauceCodePro NF'",
    "terminal.integrated.fontSize": 16
}

However, gonome-terminal displays beautifully.

image

Is this a Visual Studio Code issue?
Any advice would be appreciated.

@yevhenii0bozhenko
Copy link

On Linux Ubuntu 22.04.2 LTS i was able to fix this doing the above:

  • install the fonts with fancygit --fonts-install
  • change the VSCode terminal font to 'SourceCodePro+Powerline+Awesome Regular', 'monospace', monospace
    image

@mendelssohnbach
Copy link

@yevhenii0bozhenko

I was able to resolve the difficulties.
Thank you.

@RangeOfGlitching
Copy link

RangeOfGlitching commented Dec 27, 2023

Thanks, @yevhenii0bozhenko
solution also work on Windows 11, VScode ver: 1.85.1
'SourceCodePro+Powerline+Awesome Regular', 'monospace', monospace
image

@Zacrain
Copy link

Zacrain commented Apr 22, 2024

On Linux Ubuntu 22.04.2 LTS i was able to fix this doing the above:

* install the fonts with `fancygit --fonts-install`

* change the VSCode terminal font to `'SourceCodePro+Powerline+Awesome Regular', 'monospace', monospace`

I'm on Ubuntu 20.04.06 LTS and while your proposed solution certainly helps, some symbols still seem to be missing for me.
Furthermore, the font seems to be offset a bit downwards.
screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants