Slackware

IBM Plex

ページ作成日 2023/6/25

公式サイト

IBM Plexフォントがオープンソースになった経緯については、こちらの記事で書かれています。
オープンソース・フォント「IBM Plex」誕生の経緯

Make it by yourself!

まずは、自分のホームディレクトリにフォントのアーカイブを落としましょう。
いくつか種類がありますが、ここではOpenTypeでつくってみます。
TrueTypeが好きという方は、TrueTypeでどうぞ。


$ cd ~/Downloads
$ mkdir plex
$ cd plex
$ wget https://github.com/IBM/plex/releases/download/v6.3.0/OpenType.zip

アーカイブを解凍します。


$ unzip OpenType.zip

すると、OpenTypeというフォルダが作成されて、その中にフォントファイルが確認できます。


$ tree OpenType
$ cd OpenType
$ tree OpenType
OpenType
├── IBM-Plex-Mono
│   ├── IBMPlexMono-Bold.otf
│   ├── IBMPlexMono-BoldItalic.otf
│   ├── IBMPlexMono-ExtraLight.otf
│   ├── IBMPlexMono-ExtraLightItalic.otf
│   ├── IBMPlexMono-Italic.otf
│   ├── IBMPlexMono-Light.otf
│   ├── IBMPlexMono-LightItalic.otf
│   ├── IBMPlexMono-Medium.otf
│   ├── IBMPlexMono-MediumItalic.otf
│   ├── IBMPlexMono-Regular.otf
│   ├── IBMPlexMono-SemiBold.otf
│   ├── IBMPlexMono-SemiBoldItalic.otf
│   ├── IBMPlexMono-Text.otf
│   ├── IBMPlexMono-TextItalic.otf
│   ├── IBMPlexMono-Thin.otf
│   ├── IBMPlexMono-ThinItalic.otf
│   └── license.txt
├── IBM-Plex-Sans
│   ├── IBMPlexSans-Bold.otf
│   ├── IBMPlexSans-BoldItalic.otf
│   ├── IBMPlexSans-ExtraLight.otf
│   ├── IBMPlexSans-ExtraLightItalic.otf
│   ├── IBMPlexSans-Italic.otf
│   ├── IBMPlexSans-Light.otf
│   ├── IBMPlexSans-LightItalic.otf
│   ├── IBMPlexSans-Medium.otf
│   ├── IBMPlexSans-MediumItalic.otf
│   ├── IBMPlexSans-Regular.otf
│   ├── IBMPlexSans-SemiBold.otf
│   ├── IBMPlexSans-SemiBoldItalic.otf
│   ├── IBMPlexSans-Text.otf
│   ├── IBMPlexSans-TextItalic.otf
│   ├── IBMPlexSans-Thin.otf
│   ├── IBMPlexSans-ThinItalic.otf
│   └── license.txt
├── IBM-Plex-Sans-Arabic
│   ├── IBMPlexSansArabic-Bold.otf
│   ├── IBMPlexSansArabic-ExtraLight.otf
│   ├── IBMPlexSansArabic-Light.otf
│   ├── IBMPlexSansArabic-Medium.otf
│   ├── IBMPlexSansArabic-Regular.otf
│   ├── IBMPlexSansArabic-SemiBold.otf
│   ├── IBMPlexSansArabic-Text.otf
│   ├── IBMPlexSansArabic-Thin.otf
│   └── license.txt
├── IBM-Plex-Sans-Condensed
│   ├── IBMPlexSansCondensed-Bold.otf
│   ├── IBMPlexSansCondensed-BoldItalic.otf
│   ├── IBMPlexSansCondensed-ExtraLight.otf
│   ├── IBMPlexSansCondensed-ExtraLightItalic.otf
│   ├── IBMPlexSansCondensed-Italic.otf
│   ├── IBMPlexSansCondensed-Light.otf
│   ├── IBMPlexSansCondensed-LightItalic.otf
│   ├── IBMPlexSansCondensed-Medium.otf
│   ├── IBMPlexSansCondensed-MediumItalic.otf
│   ├── IBMPlexSansCondensed-Regular.otf
│   ├── IBMPlexSansCondensed-SemiBold.otf
│   ├── IBMPlexSansCondensed-SemiBoldItalic.otf
│   ├── IBMPlexSansCondensed-Text.otf
│   ├── IBMPlexSansCondensed-TextItalic.otf
│   ├── IBMPlexSansCondensed-Thin.otf
│   ├── IBMPlexSansCondensed-ThinItalic.otf
│   └── license.txt
├── IBM-Plex-Sans-Devanagari
│   ├── IBMPlexSansDevanagari-Bold.otf
│   ├── IBMPlexSansDevanagari-ExtraLight.otf
│   ├── IBMPlexSansDevanagari-Light.otf
│   ├── IBMPlexSansDevanagari-Medium.otf
│   ├── IBMPlexSansDevanagari-Regular.otf
│   ├── IBMPlexSansDevanagari-SemiBold.otf
│   ├── IBMPlexSansDevanagari-Text.otf
│   ├── IBMPlexSansDevanagari-Thin.otf
│   └── license.txt
├── IBM-Plex-Sans-Hebrew
│   ├── IBMPlexSansHebrew-Bold.otf
│   ├── IBMPlexSansHebrew-ExtraLight.otf
│   ├── IBMPlexSansHebrew-Light.otf
│   ├── IBMPlexSansHebrew-Medium.otf
│   ├── IBMPlexSansHebrew-Regular.otf
│   ├── IBMPlexSansHebrew-SemiBold.otf
│   ├── IBMPlexSansHebrew-Text.otf
│   ├── IBMPlexSansHebrew-Thin.otf
│   └── license.txt
├── IBM-Plex-Sans-JP
│   ├── hinted
│   │   ├── IBMPlexSansJP-Bold.otf
│   │   ├── IBMPlexSansJP-ExtraLight.otf
│   │   ├── IBMPlexSansJP-Light.otf
│   │   ├── IBMPlexSansJP-Medium.otf
│   │   ├── IBMPlexSansJP-Regular.otf
│   │   ├── IBMPlexSansJP-SemiBold.otf
│   │   ├── IBMPlexSansJP-Text.otf
│   │   ├── IBMPlexSansJP-Thin.otf
│   │   └── license.txt
│   └── unhinted
│       ├── IBMPlexSansJP-Bold.otf
│       ├── IBMPlexSansJP-ExtraLight.otf
│       ├── IBMPlexSansJP-Light.otf
│       ├── IBMPlexSansJP-Medium.otf
│       ├── IBMPlexSansJP-Regular.otf
│       ├── IBMPlexSansJP-SemiBold.otf
│       ├── IBMPlexSansJP-Text.otf
│       ├── IBMPlexSansJP-Thin.otf
│       └── license.txt
├── IBM-Plex-Sans-KR
│   ├── IBMPlexSansKR-Bold.otf
│   ├── IBMPlexSansKR-ExtraLight.otf
│   ├── IBMPlexSansKR-Light.otf
│   ├── IBMPlexSansKR-Medium.otf
│   ├── IBMPlexSansKR-Regular.otf
│   ├── IBMPlexSansKR-SemiBold.otf
│   ├── IBMPlexSansKR-Text.otf
│   ├── IBMPlexSansKR-Thin.otf
│   └── license.txt
├── IBM-Plex-Sans-Thai
│   ├── IBMPlexSansThai-Bold.otf
│   ├── IBMPlexSansThai-ExtraLight.otf
│   ├── IBMPlexSansThai-Light.otf
│   ├── IBMPlexSansThai-Medium.otf
│   ├── IBMPlexSansThai-Regular.otf
│   ├── IBMPlexSansThai-SemiBold.otf
│   ├── IBMPlexSansThai-Text.otf
│   ├── IBMPlexSansThai-Thin.otf
│   └── license.txt
├── IBM-Plex-Sans-Thai-Looped
│   ├── IBMPlexSansThaiLooped-Bold.otf
│   ├── IBMPlexSansThaiLooped-ExtraLight.otf
│   ├── IBMPlexSansThaiLooped-Light.otf
│   ├── IBMPlexSansThaiLooped-Medium.otf
│   ├── IBMPlexSansThaiLooped-Regular.otf
│   ├── IBMPlexSansThaiLooped-SemiBold.otf
│   ├── IBMPlexSansThaiLooped-Text.otf
│   ├── IBMPlexSansThaiLooped-Thin.otf
│   └── license.txt
└── IBM-Plex-Serif
    ├── IBMPlexSerif-Bold.otf
    ├── IBMPlexSerif-BoldItalic.otf
    ├── IBMPlexSerif-ExtraLight.otf
    ├── IBMPlexSerif-ExtraLightItalic.otf
    ├── IBMPlexSerif-Italic.otf
    ├── IBMPlexSerif-Light.otf
    ├── IBMPlexSerif-LightItalic.otf
    ├── IBMPlexSerif-Medium.otf
    ├── IBMPlexSerif-MediumItalic.otf
    ├── IBMPlexSerif-Regular.otf
    ├── IBMPlexSerif-SemiBold.otf
    ├── IBMPlexSerif-SemiBoldItalic.otf
    ├── IBMPlexSerif-Text.otf
    ├── IBMPlexSerif-TextItalic.otf
    ├── IBMPlexSerif-Thin.otf
    ├── IBMPlexSerif-ThinItalic.otf
    └── license.txt

14 directories, 140 files

パッケージ作成用フォルダを作成します。


$ mkdir -p /tmp/plex-6.3/usr/share/fonts/OTF

フォントファイルだけを、インストール作成フォルダをコピーします。


$ find ./OpenType -name "*.otf" -exec cp {} /tmp/plex-6.3/usr/share/fonts/OTF/ \;

パッケージを作成します。


$ cd /tmp/plex-6.3
$ sudo makepkg --linkadd y --chown y ../plex-6.3-x86_64-1.txz

[中略]

Slackware package ../plex-6.3-x86_64-1.txz created.

あとは、パッケージをインストールすればOK♪


$ cd ..
$ sudo installpkg plex-6.3-x86_64-1.txz

フォントのキャッシュを再構築します。


$ sudo fc-cache -f