Skip to content

Instantly share code, notes, and snippets.

@ishtaka
Created October 10, 2013 06:24
Show Gist options
  • Save ishtaka/6913913 to your computer and use it in GitHub Desktop.
Save ishtaka/6913913 to your computer and use it in GitHub Desktop.
Ricty導入(Ubuntu12.04LTS)
# fontforgeコマンドをインストールする。
apt-get install fontforge
# 生成スクリプトをGitを用いて取得する
cd /tmp
git clone git://github.com/yascentur/Ricty.git
# Inconsolataから、「OpenType file」をダウンロードする。
wget http://levien.com/type/myfonts/Inconsolata.otf
mv /tmp/Inconsolata.otf /tmp/Ricty
# Migu(ミグ)フォントからMigu 1Mフォントをダウンロードする。/tmp/migu-1m-20121030.zip
unzip /tmp/migu-1m-20121030.zip
mv /tmp/migu-1m-20121030/migu-1m-*.ttf /tmp/Ricty
# フォント生成
cd /tmp/Ricty
sh ricty_generator.sh Inconsolata.otf migu-1m-regular.ttf migu-1m-bold.ttf
# フォント設置
sudo mkdir -p /usr/share/fonts/truetype/ttf-ricty
sudo mv /tmp/Ricty-*.ttf /usr/share/fonts/truetype/ttf-ricty
sudo fc-cache -fv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment