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

Fontfamily not activating in VSCode? #32

Closed
PsySolix opened this issue Nov 10, 2023 · 9 comments · Fixed by #125
Closed

Fontfamily not activating in VSCode? #32

PsySolix opened this issue Nov 10, 2023 · 9 comments · Fixed by #125
Milestone

Comments

@PsySolix
Copy link

So I first followed the readme, for MACOSX & ran the bash file.
Then verified if I have all the fonts in Font Book -> they are there.

Using the following options in VSCODE:

"editor.fontLigatures": true,
"editor.fontFamily": "Monaspace, Arial, serif", // for testing

Also tried with the Monaspace _____

Result

Seeing Arial being used in the editor... Is there something that I'm missing?

Thanks in advance!

@PsySolix
Copy link
Author

Solution:

Okay so for people having the same "oopsie" moment as me.. the _____ is the name of the variant of the package. So for VSCode you need:

"editor.fontFamily": "'Monaspace Neon', serif", (or Argon or ...)

@roel4ez
Copy link

roel4ez commented Nov 10, 2023

FWIW, for me it only works by specifying the full Font name, e.g. Monaspace Neon Var
image

"editor.fontFamily": "'Monaspace Neon Var', monospace"

@balupton
Copy link

Yeah, I was thinking I would specify just Monaspace and then it would mix and match accordingly. Seems that is not the case: #6

@athompson-merlin
Copy link

See one identified possible root cause at #111.

@Finii Finii mentioned this issue Nov 16, 2023
@idan
Copy link
Contributor

idan commented Nov 30, 2023

Whoops, GH auto closed this when I merged #125

We'll produce a new build soon and check that this (and related issues) are solved.

@idan idan reopened this Nov 30, 2023
@akselerando
Copy link

Just wanted to add (in case someone else was stuck with the same problem as me), that the fonts only appeared in vscode for me after closing and reopening the window. Just hitting Ctlr+Shift+P and Developer: reopen window was not enough

@sujeewasandeepa
Copy link

Do you guys know how to use different variants like 'medium' on VS Code. Using it like this
Monaspace Neon Var Medium doesn't work.

@yvvt0379
Copy link

yvvt0379 commented Mar 8, 2024

Try adding this line to settings.json:

"editor.fontWeight": "medium",

@heathercran heathercran added this to the 1.1 milestone May 21, 2024
@heathercran
Copy link
Collaborator

I'd recommend using the static Monaspace fonts in VS Code, as it doesn't fully support variable fonts yet. That should allow you to set the font weight as normal.

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

Successfully merging a pull request may close this issue.

9 participants