Skip to content

macOSにMaple Monoフォントをインストールする

以前にmacOS に白源フォントをインストールするというメモを書きました。今回はMaple Monoをインストールします。

検証環境

対象 バージョン
macOS Sequoia 15.6

フォントのセット

GitHubのプロジェクトページにフォントのセットについて以下の説明があります。今回はNF-CNをインストールします。

Format and Glyph Set

  • Variable: Minimal version, smoothly change font weight by variable
  • TTF: Minimal version, ttf format [Recommend!]
  • OTF: Minimal version, otf format
  • WOFF2: Minimal version, woff2 format, for small size on web pages
  • NF: Nerd-Font patched version, add icons for terminal (With -NF suffix)
  • CN: Chinese version, embed with Chinese and Japanese glyphs (With -CN suffix)
  • NF-CN: Full version, embed with icons, Chinese and Japanese glyphs (With -NF-CN suffix)

インストール

Homebrewでインストールします。

brew install --cask font-maple-mono-nf-cn

iTerm2の設定

iTerm2では「Settings→Profiles→Text→Font」からフォントを設定します。

image

Visual Studio Codeの設定

Visual Studio Codeではsettings.jsonへ以下のように設定します。

  "editor.fontFamily": "Maple Mono NF CN",