source : https://github.com/Microsoft/vscode/issues/35675
- Create fontconfig.conf and put this file in
/usr/share/code/fontconfig.conf
<?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <!-- Force RGBA subpixel aliasing to «none» in code and code-insiders --> <match target="pattern"> <or> <test name="prgname"> <string>code</string> </test> <test name="prgname"> <string>code-insiders</string> </test> </or> <edit name="rgba" mode="assign"> <const>none</const> </edit> </match> </fontconfig>
- Symlink file to
/etc/fonts/conf.d/99-vscode.conf