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

Can't set font weight in VS Code #705

Open
nilsbunger opened this issue Nov 13, 2024 · 1 comment
Open

Can't set font weight in VS Code #705

nilsbunger opened this issue Nov 13, 2024 · 1 comment

Comments

@nilsbunger
Copy link

nilsbunger commented Nov 13, 2024

Using the Jetbrains Mono font (v 2.304), I can set the font size, family, and spacing in VS Code on Mac. However, changes to font weight have no effect. It works with the "NL" version of the font, but not the base font.

All the weights look the same in the base font. The text of settings.json should be changing with the font weight in these screenshots:

image image image image

When I inspect the font in the Font Book, it looks fine, all the weights are present.

@joshlawton
Copy link

joshlawton commented Dec 4, 2024

Try the PostScript name without the "editor.fontWeight" property:

"editor.fontFamily": "JetBrainsMono-Bold"

I only have the Nerd Font versions installed on my computer, hence the NF in the font name, but the way of finding the PostScript name is the same:

FontBook showing PostScript Name identifier

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