microsoft / cascadia-code

This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
Other
25.1k stars 793 forks source link

Cascadia Mono NF not recognized by VS Code #731

Closed dmonder closed 1 month ago

dmonder commented 2 months ago

Cascadia family version

2404.23

Cascadia family variant(s)

Cascadia Mono (the version without ligatures)

Font file format(s)

.ttf (variable)

Platform

Windows 11 Enterprise 21H2 22000.2899

Other Software

Visual Studio Code 1.88.1 Microsoft Terminal 1.19.10821.0 PowerShell 7.4.2 Oh-My-Posh 19.25.0

What happened?

I have Oh-My-Posh setup in PowerShell. In Terminal, I have Cascadia Mono NF selected as my font face and it works correctly.

Screenshot 2024-05-01 132300

However, in VS Code, when I set the terminal font to Cascadia Mono NF, I get the following error:

Screenshot 2024-05-01 132337

If I change to Cascadia Mono PL, I don't get that error but the font is not correct (but I did not expect it to be since it is not a Nerd Font - it doesn't work right in Terminal either).

Screenshot 2024-05-01 132312

Any idea how to get this font to work in VS Code? I can still use the old CaskaydiaCove Nerd Font Mono but I would like to switch to use the new Cascadia Code.

I am also tracking https://github.com/microsoft/vscode/issues/173079 which may be where this needs to be fixed.

Thanks.

aaronbell commented 2 months ago

Hm. I'm not able to repro this issue in my copy of VS Code 1.88.1. I've set my "Editor:Font Family" to "Cascadia Mono NF" and the terminal defaults to that.

dmonder commented 2 months ago

That does not work for me. I get the same error as before.

mfocko commented 2 months ago

Fine here too, both Cascadia Code NF and Cascadia Mono NF… have you tried restarting Windows after the installation of the fonts; also making sure that you have only the latest version installed?

dmonder commented 2 months ago

I did uninstall all prior versions and then reinstalled. I will reboot as soon as I can and post again.

dmonder commented 1 month ago

It is working now. I rebooted the machine and all is well! Thanks.