githubnext / monaspace

An innovative superfamily of fonts for code
https://monaspace.githubnext.com
SIL Open Font License 1.1
13.23k stars 215 forks source link

Fontfamily not activating in VSCode? #32

Closed PsySolix closed 1 month ago

PsySolix commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

Yeah, I was thinking I would specify just Monaspace and then it would mix and match accordingly. Seems that is not the case: https://github.com/githubnext/monaspace/issues/6

athompson-merlin commented 8 months ago

See one identified possible root cause at #111.

idan commented 7 months ago

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.

akselerando commented 7 months ago

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 commented 4 months ago

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 commented 4 months ago

Try adding this line to settings.json:

"editor.fontWeight": "medium",
heathercran commented 1 month ago

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.