Macにsource-code-proというフォントをインストールする方法
なんだかコーディングしやすいらしいですよ。
インストール方法
コンソールを起動して、以下のコマンドを実行します。
curl -LO https://github.com/adobe-fonts/source-code-pro/archive/release.zip
unzip release.zip
cp -a source-code-pro-release/TTF/* ~/Library/Fonts
これでFont Bookを起動すると、ユーザーのフォントとして確認できます。
Inconsolataも入れてみる
定番のInconsolataも入れてみましょうかね。
cd ~/Library/Fonts
curl -LO https://github.com/google/fonts/raw/master/ofl/inconsolata/Inconsolata-Regular.ttf
curl -LO https://github.com/google/fonts/raw/master/ofl/inconsolata/Inconsolata-Bold.ttf
あなたはどのフォントでコーディングしますか?
それではまた来週!
参考リンク
Github:adobe-fonts/source-code-pro
Github:google/fonts Inconsolata
追記
https://github.com/microsoft/vscode/issues/106583
こちらの通り、現在VSCodeで若干表示がバグります。。。。