Update README.md

Added a perl "patch" for VSCode on MacOS
This commit is contained in:
Kirill Pertsev 2019-02-06 19:36:50 -08:00 committed by GitHub
parent b7b970b4ee
commit 2ad7b7971d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,11 @@ Courtesy of [@ForNeVeR](https://github.com/ForNeVeR):
}
```
Here is one line "patch":
```
perl -i.bak -pe 's/\.monaco-shell{(.*?)}/.monaco-shell{\1;-webkit-font-smoothing: antialiased !important;}/g' /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.css
```
- Windows + Visual Studio 2015: works mostly okay, but `->` ligature doesn't work. That's a [known problem of WPF text renderer](https://github.com/tonsky/FiraCode/issues/259#issuecomment-243422144).
- Windows + ConEmu: no ligatures at all. Powerline stuff works okay though, so font is usable even without ligatures. I'd recommend to set font cell width manually to 8 (otherwise it'll have problems determining proper places for line wrapping and rendering Far Manager UI): **Settings****Main****Main console font** group → select **Cell: 8** from the selector.