fancy-git icon indicating copy to clipboard operation
fancy-git copied to clipboard

Windows Terminal and VSCode integrated terminal fails to render glyphs

Open KozyWorks opened this issue 2 years ago • 5 comments

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!

KozyWorks avatar Jan 22 '23 05:01 KozyWorks

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.

mendelssohnbach avatar May 02 '23 21:05 mendelssohnbach

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

yevhenii0bozhenko avatar Jul 10 '23 14:07 yevhenii0bozhenko

@yevhenii0bozhenko

I was able to resolve the difficulties. Thank you.

mendelssohnbach avatar Jul 27 '23 17:07 mendelssohnbach

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

RangeOfGlitching avatar Dec 27 '23 06:12 RangeOfGlitching

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

Zacrain avatar Apr 22 '24 08:04 Zacrain