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

How do you set this font on vscode windows ? #27

Closed
summer18 opened this issue Nov 12, 2017 · 2 comments
Closed

How do you set this font on vscode windows ? #27

summer18 opened this issue Nov 12, 2017 · 2 comments

Comments

@summer18
Copy link

summer18 commented Nov 12, 2017

Hi,

How do you use this font on vscode windows ?

this is what the build generate

$ ls
OperatorMonoLig-Book.otf        OperatorMonoLig-Medium.otf
OperatorMonoLig-Book.ttx        OperatorMonoLig-Medium.ttx
OperatorMonoLig-BookItalic.otf  OperatorMonoLig-MediumItalic.otf
OperatorMonoLig-BookItalic.ttx  OperatorMonoLig-MediumItalic.ttx

I want to use the book version, and on my vscode, i can only set with "Operator Mono Lig",

"editor.fontFamily": "Operator Mono Lig",

not "Operator Mono Lig Book", if not the font becomes unvailable

@kiliman
Copy link
Owner

kiliman commented Nov 12, 2017

Add a setting:

"editor.fontWeight": 400

Where these values correspond to these weights:

100 - Thin
200 - Extra Light, Ultra Light
300 - Light
400 - Normal, Book, Regular
500 - Medium
600 - Semi Bold, Demi Bold
700 - Bold
800 - Extra Bold, Ultra Bold
900 - Black, Heavy

Also make sure to enable ligatures with:

"editor.fontLigatures": true

@summer18
Copy link
Author

aha, many thanks @kiliman 👍

@kiliman kiliman closed this as completed Nov 13, 2017
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