2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

WSL2上にフォントをインストールする方法

Last updated at Posted at 2023-04-11

例:Fira Mathをインストールしたい

  1. fc-list | grep "Fira Math" でインストールされているかチェック、何も返ってこなければインストールされていないので次のステップへ
  2. cd .local/share
  3. ls をして fonts フォルダーがなかったら mkdir fonts でフォルダーを作る、lsfonts があるか確認する
  4. cd fonts~/.local/share/fonts ディレクトリーへ
  5. wget https://github.com/firamath/firamath/releases/download/v0.3.4/FiraMath-Regular.otf でインストール、最新版は Github を参照
  6. fc-cache -f -v でキャッシュクリア
  7. fc-list | grep "Fira Math" でインストールされているかチェック
2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?