Skip to content

Instantly share code, notes, and snippets.

@hanksudo
Last active August 7, 2025 23:01
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
@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/

@kilitary
Copy link

kilitary commented Aug 7, 2025

@ivanstepanovftw did not work in vs code 1.102.3 on windows 11.
also --disable-gpu --enable-use-zoom-for-dsf did not work too, but maybe i should play with zoom?.
i've using liberation mono font for coding because it is same sized and good fills in the drawing dimensions.
i very like sublime's font because it is non antialised, turned by "font_options": ["no_antialias"]

(ToT)/~~~

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