Skip to content

Instantly share code, notes, and snippets.

@hanksudo
Last active July 9, 2024 08:29
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
@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,....

@ivanstepanovftw
Copy link

--disable-font-subpixel-positioning flag for VSCode fixes font hinting bug.

See https://www.reddit.com/r/linux/comments/196bzom/protip_for_clearer_fonts_in_vscode_and_other/

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