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 makes "0" too narrow when typing ".0.0" in VSCode #90

Open eramdam opened 7 months ago

eramdam commented 7 months ago

In VSCode 1.84.2 with these settings

  "editor.fontFamily": "'Monaspace Neon', monospace",
  "editor.fontSize": 12,
  "editor.fontWeight": "450",
  "editor.fontLigatures": true,

The texture healing produces a wider-than-necessary "0" when typing ".0.0"

CleanShot 2023-11-12 at 09 43 06@2x

image

Disabling editor.fontLigatures fixes it CleanShot 2023-11-12 at 09 43 31@2xCleanShot 2023-11-12 at 09 44 21@2x

awebeer256 commented 7 months ago

It's actually the opposite: the left zero in .0.0 is the correct width, but the right one (in both .0.0 and 0.0) is too narrow because it fails to expand to the right. See https://github.com/githubnext/monaspace/issues/49#issuecomment-1807197159.