githubnext / monaspace

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

Issues with Monaspace Xenon on a 1440p 21:9 Monitor in vscode #196

Open henceiusegentoo opened 3 months ago

henceiusegentoo commented 3 months ago

When using monospace xenon on my main monitor in vscode (21:9, 1440p, 1,25 scaling in windows settings), some characters like the 'n' look weird and the text itself looks very "wobbly". This does not happen on my second monitor (16:9, 1080p, standard scaling) and seems to resolve when increasing the font weight.

Main monitor, font weight standard: image

Main monitor, font weight 600: image

Second monitor, font weight standard: image

Display Settings: image

Does anyone know why this happens and would know how to fix it?

Finii commented 2 months ago

Hmm, an important information bit would be which font you use. The variable ttf or the static otf.

Usually such problems are hinting/subpixel rendering/antialiasing problems. Do you have the problems on Gentoo or on Windows? The windows font rendering antialiasing wise is ... I do not understand it to not say 'is broken'.

Depending on ttf or otf one could use for example VTT to rehint the font. Not that I ever autohinted a variable font with that tool.

Another issue comes to my mind, did you turn off all the 'optimization' settings in your display's hardware menu? Like 'movie mode' or 'desktop mode' or 'sharpen' or such thing. Usually they destroy any antialiasing and make the font look extremely bad. But you can spot that when you use a software screen magnifier and the effect is not visible magnified.

Finii commented 2 months ago

image

Hmm, this does look like broken hinting. Maybe the hint first and THEN scale by 1.25, which would be ridiculous of course. Are the glyphs ok with 1.0?