Closed derekschinke closed 3 years ago
Even I am also facing the same. Seems like the problem is with the font naming. For now you can use the fonts inside ttf folder(there are 8 fonts) instead of ttf/static. That works fine for me. After installing the fonts just use "cascadia code" in vscode/font family, the italics will also work fine. You dont need to specify "cascadia code italics" explicitly
Maybe you can install the Windows Terminal in Microsoft store. It comes with a Cascadia code and others, and the font will stay up to date. Then set Font Family to Cascadia Code and no Cascadia Code Italic
@Someone-Of-Liu
Platform
macOS 11.4
No Microsoft Store on macOS 😅
Sorry😂
发件人: Derek Schinke @.> 发送时间: Sunday, May 30, 2021 11:23:59 AM 收件人: microsoft/cascadia-code @.> 抄送: 刘志军 Liu Zhijun @.>; Mention @.> 主题: Re: [microsoft/cascadia-code] VSCode does not utilize italic font, defaults to artificially slanted (#485)
@Someone-Of-Liuhttps://github.com/Someone-Of-Liu
Platform
macOS 11.4
No Microsoft Store on macOS 😅
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/cascadia-code/issues/485#issuecomment-850933338, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQVFYA7UEKOKIOXXYURY6K3TQGVU7ANCNFSM45YYP7YA.
I think you should swap the order, the font renderer uses the first font that contains the character.
Unfortunately, that makes everything italic:
There's been an issue with the static instance naming (see #481). I recommend using the variable font version of the font for the time being rather than the static installs until a new release is pushed. At that point, you will only need to state "Cascadia Code" to get both the upright and italic forms.
As this appears to be a dupe of #481, I will close this one.
Cascadia family version
2105.24
Cascadia family variant(s)
Cascadia Code (the version with ligatures)
Font file format(s)
.ttf (static)
Platform
macOS 11.4
Other Software
Visual Studio Code 1.56.2
What happened?
Italic font does not appear in VSCode themes that use italics.
Settings:
Result:
Italics are rendered as Cascadia Code, but slanted artificially by VSCode, instead of using the bespoke Cascadia Code Italic.