LoginSignup
8
10

More than 3 years have passed since last update.

Macにsource-code-proというフォントをインストールする方法

Last updated at Posted at 2017-06-24

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で若干表示がバグります。。。。

8
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
10