githubnext / monaspace

An innovative superfamily of fonts for code
https://monaspace.githubnext.com
SIL Open Font License 1.1
13.15k stars 219 forks source link

Texture healing won't be disabled on VS Code #118

Closed oissevalt closed 7 months ago

oissevalt commented 7 months ago

I saw in the guide that to disable texture healing and use only ligatures, what I need to do is omit calt in editor.fontLigatures. However, unless I set the value to false, texture healing will always be enabled regardless of the presence of calt.

image

Note the 0s with uneven widths.

Running VS Code 1.84.2 on macOS (arm64 23.1.0).

nickmccurdy commented 7 months ago

It seems to me like VSCode always enables 'calt' and 'liga' when passing a string, similarly to true:

Enables/Disables font ligatures ('calt' and 'liga' font features).

Is this a bug in VSCode or a documentation inconsistency in Monaspace?

oissevalt commented 7 months ago

It seems to me like VSCode always enables 'calt' and 'liga' when passing a string, similarly to true:

Yes as it seems. I entered an empty string and ligatures were still enabled. Also tested with Fira Code.

Perhaps an individual ligature set is needed to include texture healing.

nickmccurdy commented 7 months ago

This appears to be a VSCode bug and duplicate of #56.

Workaround

'calt' off
Krzysztof-Cieslak commented 7 months ago

Closing as duplicate, in favour of #56