kiliman / operator-mono-lig

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

some ligatures dont work in italics. #168

Open ghost opened 3 years ago

ghost commented 3 years ago

Some ligatures from the Operator Mono Lig font don't work in italics in VS Code but seem to be working in comments (which are italic as well.)

image

Theme: Winter is Coming

kiliman commented 3 years ago

Hmm. Are you using the latest version of the script? Also what OS are you using?

ghost commented 3 years ago

Yes, i just installed it a few days ago. I'm on Windows 10.

kiliman commented 3 years ago

Ok, I just checked an it's working for me on Windows 10.

BTW: What language setting do you have it set to where <-> is a valid token? Sometime VS Code will treat some character combinations as 2 separate tokens, which may prevent the ligature from displaying. What happens if you select Plain Text?

Here's from Font Preview image

And here's VS Code (as Javascript) image

ghost commented 3 years ago

It works for me if the font is not in italics, but "Winter is coming" theme puts keyword operators in italics. The language is Python (3.9.5).

For Winter is Coming. image

For Cobalt2 (Your theme). image

For Winter is Coming (JavaScript). image

But I am working with Python recently and it'd be great if the ligatures would work there as well.