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

some ligatures dont work in italics. #168

Open
ghost opened this issue May 30, 2021 · 4 comments
Open

some ligatures dont work in italics. #168

ghost opened this issue May 30, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented May 30, 2021

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
Copy link
Owner

kiliman commented May 31, 2021

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

@ghost
Copy link
Author

ghost commented Jun 1, 2021

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

@kiliman
Copy link
Owner

kiliman commented Jun 1, 2021

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
Copy link
Author

ghost commented Jun 2, 2021

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.

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

1 participant