kiliman / operator-mono-lig

Add ligatures to Operator Mono similar to Fira Code
MIT License
3.2k stars 202 forks source link

Operator Mono SSm Lig Book does not work with Vscode #164

Closed tynguyen2k1 closed 3 years ago

tynguyen2k1 commented 3 years ago

Looks like my Operator Mono SSm Lig Book font doesn't work with Vscode bandicam 2021-04-11 20-08-11-846

kiliman commented 3 years ago

Put single quotes around your font name, if you have multiple fonts. Also remove "Book". Use fontWeight instead.

image

tynguyen2k1 commented 3 years ago

Put single quotes around your font name, if you have multiple fonts. Also remove "Book". Use fontWeight instead.

image

Looks like it doesn't work image

kiliman commented 3 years ago

That looks like the correct font to me. What does it look like with actual source code?

tynguyen2k1 commented 3 years ago

image

kiliman commented 3 years ago

Again, you need to remove the weight from the fontFamily. It should only be "Operator Mono SSm Lig".

This screenshot looks good. See, you removed the "Book". You re-added it in the other screenshot. image

And when I say "source code" I mean something like this, not the settings.json.

image

Helfull commented 3 years ago

hey, i also having problems with the in vscode here is a sourcecode how it looks in PHP non php image in php image

as you can see the -> and ++ as well as -- are not correct

settings.json image

With the font Fira Code everything works with the same color theme image

kiliman commented 3 years ago

Hmm.. I installed Palenight Theme (selected Palenight Operator).

image

Helfull commented 3 years ago

okay, reinstalling everything and moving to my macbook to generate the fonts did work. i guess the problem was some version conflict on my windows system.

It is working now, for me!

ahane commented 3 years ago

for me the correct font name was 'Operator Mono Lig' (no ssm)