Skip to content
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

Setting editor.fontWeight to 300 in VSCode makes all text italic #531

Closed
smlombardi opened this issue Jul 13, 2021 · 6 comments
Closed

Setting editor.fontWeight to 300 in VSCode makes all text italic #531

smlombardi opened this issue Jul 13, 2021 · 6 comments

Comments

@smlombardi
Copy link

Cascadia family version

2106.17

Cascadia family variant(s)

Cascadia Code (the version with ligatures)

Font file format(s)

.ttf (variable)

Platform

MacOS 11.4

Other Software

Visual Studio Code

What happened?

I used to use the static fonts but followed the suggestion in the ReadMe that the TTF has better hinting and should be used.

Checking in Font Book shows a lot of weights:

User-20210713_152615

I'd like to use a lighter weight in VS Code, but if I set it to 300, the font is all italic:

~LibraryApplication SupportCode - InsidersUsersettings json — ng-designsystem-20210713_152933

It seems to work as expected in Terminal where I can use a GUI to set the weight:

Profiles-20210713_153350

as you can see, it looks like Light here:

ttf — st016lo@US-ST016LO-MLT —  e-2106 17ttf — -zsh-20210713_153739

@aaronbell
Copy link
Collaborator

Hm. I'm not seeing that issue in VS Code myself. It may be caused by multiple font installs causing issues. I would suggest uninstalling all versions of the fonts, restarting, and reinstalling.

@smlombardi
Copy link
Author

smlombardi commented Jul 13, 2021

I did, more than once. If I install the static TTF or OTF fonts, then I can set the font to "Cascadia Code Light"

Settings — ng-designsystem-20210713_155731

@aaronbell
Copy link
Collaborator

Hm. I'm afraid I'm not sure what's going on for you! Given that you're on a mac, just go ahead and use the OTFs. :)

@aaronbell
Copy link
Collaborator

It looks like this is the same issue as #500, so I'll close this and continue discussion over there.

@aaronbell
Copy link
Collaborator

BTW, out of interest, can you provide a bit more information about the system / VS Code version that you're using? I feel like this is likely a platform-specific issue but want to make sure.

@smlombardi
Copy link
Author

Mac OS 11.4

Version: 1.59.0-insider
Commit: 807dfb817fef0d0c5729c1924bd4889b04fa405b
Date: 2021-07-13T09:15:26.467Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Darwin x64 20.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants