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

VSCode freezing up after installing Cascadia Code via script #710

Open mcc85s opened 5 months ago

mcc85s commented 5 months ago

Cascadia family version

latest

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

.ttf (variable)

Platform

Windows Server 2016

Other Software

VSCode, PowerShell ISE

What happened?

So, I wrote a PowerShell script that installs Cascadia Code... https://github.com/mcc85s/FightingEntropy/blob/main/Scripts/2024_0112-(InstallCascadiaCode).ps1 ...and it successfully installs the true type fonts to the Windows/Fonts directory... But if I install the font on Windows Server 2016, and then tell VSCode to use "Cascadia Code" as the font in the console, the editor locks up, and then I have to manually change it back to some other font via the settings.json file for VSCode.

I'm not exactly sure if I'm missing something, because the script seems to work OK on Windows 10 and doesn't cause VSCode to lock up. However, I've noticed that PowerShell ISE locks up too if I install the font, and then go to themes to change the font.

These factors lead me to believe that something about the script I wrote to install Cascadia Code is causing these programs to lock up, rather than the actual font itself...

But I don't know.