monaspace icon indicating copy to clipboard operation
monaspace copied to clipboard

Variable fonts are not yet well-supported in VS Code - we're talking with the VS Code team about it

Open geroldmeisinger opened this issue 9 months ago • 3 comments

what is the status? any update on this?

geroldmeisinger avatar Mar 30 '25 18:03 geroldmeisinger

I'd like an update on this as well. What does "not yet well-supported" specifically mean? It seems to imply that there is at least some support? What in the variable fonts isn't supported? Has any progress been made to address this in the Monaco editor?

JWTheDBA avatar Sep 23 '25 12:09 JWTheDBA

For Microsoft Cascadia Code Microsoft recommends the variable flavors:

https://github.com/microsoft/cascadia-code "ttf variable: we recommend this version for all users, and particularly those on Windows or any other OS that employs TrueType hinting. It offers the greatest diversity of weight options (anything from 200-700)."

Is the note about variable fonts "not yet well-supported" on the Monaspace page out of date?

JWTheDBA avatar Sep 23 '25 13:09 JWTheDBA

see this issue https://github.com/githubnext/monaspace/issues/261 the problem is that internally vscode still uses character count as a metric assuming everything is monospace. for true variable font support it would require calculations based on font metrics... which would complicate everything (and probably break some extensions).

geroldmeisinger avatar Sep 24 '25 05:09 geroldmeisinger