kiliman / operator-mono-lig

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

Erro on VSCODE - letter spacing 0? #162

Closed FeehGb closed 3 years ago

FeehGb commented 3 years ago

When I set "editor.fontFamily": "Operator Mono SSm Lig", in setting.json It Happens...!

image

Can anyone Help me ?

FeehGb commented 3 years ago

If I remove all the other settings it remains the same way

kiliman commented 3 years ago

I'm assuming you're referring to the line numbers.

I'm not having any issues on my computer. Can you post a screenshot of some actual text? Does it look correct to you?

image

FeehGb commented 3 years ago

In sample.js image It looks like the letter-spacing, tab and space bugs

kiliman commented 3 years ago

That looks like an issue with your original font. What does it look like when you select "Operator Mono SSm" (without ligatures)?

FeehGb commented 3 years ago

What does it look like when you select "Operator Mono SSm" (without ligatures)?

I remove all settings in settings.json and put only "editor.fontFamily": "Operator Mono SSm Lig". and nothing changes. Could be some extension ?

kiliman commented 3 years ago

I mean, use "Operator Mono SSm". (No Lig).

That's the original font. Does it look normal? Or is the spacing wrong with it as well.

In other words, have you seen it work before you added the ligatures?

FeehGb commented 3 years ago

I works fine.

image

kiliman commented 3 years ago

But you're not using "Operator Mono SSm" (ScreenSmart). You're using regular "Operator Mono".

image

Remember, this tool simply patches your existing fonts.

Operator Mono => Operator Mono Lig Operator Mono SSm => Operator Mono SSm Lig

Make sure "Operator Mono SSm" is working properly before you used the patched version.

I've noticed other people have issues with their fonts, especially those they've downloaded online.

FeehGb commented 3 years ago

But that is the problem, when I change to Operator Mono SSm Lig in editor fontFamily Happens the problem =/ the image example is what happens when I set "editor.fontFamily": "Operator Mono SSm Lig".

kiliman commented 3 years ago

Seriously, what happens when you use:

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

NO LIG please.

FeehGb commented 3 years ago

image it happens

kiliman commented 3 years ago

Well, that's why it's not working. That is NOT Operator Mono SSm. It looks more like Operator (with proportional spacing, not monospaced). You can tell because each letter takes up a different amount of space.

You need the correct font in order for the ligatures to work.