Skip to content

Instantly share code, notes, and snippets.

@hanksudo
Last active September 27, 2023 12:30
Show Gist options
  • Save hanksudo/33ddf24f27f403c00b746b6f12bde746 to your computer and use it in GitHub Desktop.
Save hanksudo/33ddf24f27f403c00b746b6f12bde746 to your computer and use it in GitHub Desktop.
Enable font anti-aliasing on VS Code
vim /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.css

add to .editor-container section

-webkit-font-smoothing: antialiased;
  • 2018-02-21 - 1.20.1
  • 2018-02-14 - 1.20.0
  • 2018-01-27 - 1.19.3
  • 2017-11-30 - 1.18.1
  • 2017-10-07 - 1.17.0
  • 1.16.1
@hanksudo
Copy link
Author

hanksudo commented Jun 9, 2023

Im on Windows and there is no anti-aliasing option like on mac OS. But I have installed Font Awesome, its exactily the same as the default VSCode font but includes anti-aliasing. https://marketplace.visualstudio.com/items?itemName=Janne252.fontawesome-autocomplete

It didn't an issue anymore, do you have this option on VSCode?

Screenshot 2023-06-09 at 15 12 28

I use macOS

@ahmedpasic19
Copy link

Im on Windows and there is no anti-aliasing option like on mac OS. But I have installed Font Awesome, its exactily the same as the default VSCode font but includes anti-aliasing. https://marketplace.visualstudio.com/items?itemName=Janne252.fontawesome-autocomplete

It didn't an issue anymore, do you have this option on VSCode?

Screenshot 2023-06-09 at 15 12 28

I use macOS

No, on windows we dont have that option.

@nikulxceptive
Copy link

2. --disable-gpu --enable-use-zoom-for-dsf

Thank you Now i see proper fonts.

Config
Pentium Processor,
QHD 27'' Viewsonic Monitor
Fira code font....

I was concered due to bad looking font and now its solved in my big screen thanks,....

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