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

Causing ligatures to render incorrectly #53

Open
alexsurelee opened this issue Oct 25, 2019 · 2 comments
Open

Causing ligatures to render incorrectly #53

alexsurelee opened this issue Oct 25, 2019 · 2 comments

Comments

@alexsurelee
Copy link

alexsurelee commented Oct 25, 2019

Using MS's cascadia code font with ligatures enabled, this extension being enabled appears to influence how the ligatures render in .dfy files.

e.g. extension disabled
image

vs extension enabled
image

This is on MacOS Catalina 10.15
VS Code 1.39.2
Extension 0.17.1
Cascadia Code 1910.04
(latest versions of everything)

@fabianhauser
Copy link
Member

Hi @alexsurelee

I'm not aware of any explicit changes we do with fonts or ligatures, but it might be that the code highlighting plays a role here. Does the bug occur in Dafny source only or VSCode wide?

It seems that the VSCode team is currently working on language specific ligatures in microsoft/vscode#10435 (comment), which will probably be shipped with the next release.

I'd suggest we wait until these changes are released, if the problem persists we can take another look at it 🙂

@alexsurelee
Copy link
Author

Does the bug occur in Dafny source only or VSCode wide?

Only occurs in .dfy files, and only when this extension is enabled, so definitely appears to be somehow related to this.

It seems that the VSCode team is currently working on language specific ligatures in microsoft/vscode#10435 (comment), which will probably be shipped with the next release.

Interesting, wonder if that'll fix it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants