-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Cannot override Cascadia Code #2979
Comments
Fascinating! My first guess is that when a font originates in a package, font searches starting from that package find local ones first. That’s not great for us, and something we didn’t expect. I’m happy to follow up with the DirectWrite team on this 😄 |
Thanks @DHowett-MSFT! This weird bug soaked up a bunch of time this morning trying to figure out where the heck the font was 😭. |
Ouch, sorry about that! Yeah, we haven’t done anything special here except throw it in the package. I’ll make sure we figure something out! |
(Assigning myself because I put myself on the hook for getting an answer. Thanks!) |
Bug referenced above is about this same issue. |
I burned almost my entire day trying to figure out where the buggy versions of Cascadia fonts are coming from. No search query I tried pointed me to Also, Windows 10's Font Settings inside the new Windows settings shows these fonts, but upon clicking on them, it crashes and exits. (This only happens if the only version of this font available is the one installed by Windows Terminal. If other versions exist, it can uninstall them, but then it crashes immediately and keeps crashing when I reopen it and click on the [now uninstalled] Cascadia fonts.) |
Yes. exactly. happens everytime on windows 10 v19045.2728. |
Environment
Win32NT 10.0.18362.0
Windows Terminal version: 0.5.2681.0
Steps to reproduce
Download the latest install of Windows Terminal from the Microsoft Store.
Install a new version of Cascadia Code (attached) via the font menu.
Open Windows Terminal.
Set Font Family in Preferences to “Cascadia Code”.
Observe that glyphs present in the older version appear (it appears that the newer font is used as a fallback for the previously-missing glyphs).
Expected behavior
Windows Terminal should use a normal process to install Cascadia Code so that it can be uninstalled or replaced as new versions of Cascadia Code are released.
Actual behavior
Note here that the older version of the font is being used for glyphs present in the older version, but the newer font is being used for glyphs only present in the newer version.
Windows Terminal appears to have a ‘back-end’ way of installing the font file that is inaccessible and cannot be overriden even when installing through the Font Menu, or a Font manager (such as FEX).
In VS Code, the newer version of the font is ignore entirely in favor of the older version installed by Windows Terminal.
CascadiaCode.ttf.zip
The text was updated successfully, but these errors were encountered: