Morisawa BIZ UDGothic
ページ作成日 2023/6/25
公式サイト
モリサワ BIZ UDフォントがオープンソースになった経緯については、こちらの記事で書かれています。
モリサワ 「Google Fonts」へユニバーサルデザインに配慮した「BIZ UDフォント」を提供
Make it by yourself!
まずは、自分のホームディレクトリにフォントのアーカイブを落としましょう。
$ cd ~/Downloads $ mkdir morisawa-biz-ud-gothic $ cd morisawa-biz-ud-gothic $ wget https://github.com/googlefonts/morisawa-biz-ud-gothic/releases/download/v1.05/morisawa-biz-ud-gothic-fonts.zip
アーカイブを解凍します。
$ unzip morisawa-biz-ud-gothic-fonts.zip
treeでフォルダ構造を確認します。
$ tree morisawa-biz-ud-gothic-fonts
morisawa-biz-ud-gothic-fonts
├── fonts
│ └── ttf
│ ├── BIZUDGothic-Bold.ttf
│ ├── BIZUDGothic-Regular.ttf
│ ├── BIZUDPGothic-Bold.ttf
│ └── BIZUDPGothic-Regular.ttf
└── out
├── badges
│ ├── GoogleFonts.json
│ ├── OutlineCorrectnessChecks.json
│ ├── ShapingChecks.json
│ ├── Universal.json
│ └── overall.json
├── fontbakery
│ ├── fontbakery-report.html
│ └── fontbakery-report.md
├── index.html
└── proof
├── fonts
│ ├── BIZUDGothic-Bold.ttf
│ ├── BIZUDGothic-Regular.ttf
│ ├── BIZUDPGothic-Bold.ttf
│ └── BIZUDPGothic-Regular.ttf
├── glyphs.html
├── text.html
└── waterfall.html
8 directories, 19 files
パッケージ作成用フォルダを作成します。
$ mkdir -p /tmp/morisawa-biz-ud-gothic-1.05/usr/share/fonts/TTF
フォントファイルだけを、インストール作成フォルダをコピーします。
$ find ./morisawa-biz-ud-gothic-fonts/fonts/ttf -name "*.ttf" -exec cp {} /tmp/morisawa-biz-ud-gothic-1.05/usr/share/fonts/TTF/ \;
パッケージを作成します。
$ cd /tmp/morisawa-biz-ud-gothic-1.05 $ sudo makepkg --linkadd y --chown y ../morisawa-biz-ud-gothic-1.05-x86_64-1.txz [中略] Slackware package ../morisawa-biz-ud-gothic-1.05-x86_64-1.txz created.
あとは、パッケージをインストールすればOK♪
$ cd .. $ sudo installpkg morisawa-biz-ud-gothic-1.05-x86_64-1.txz
フォントのキャッシュを再構築します。
$ sudo fc-cache -f