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