Skip to content

Instantly share code, notes, and snippets.

@yoppi
Last active December 10, 2015 01:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save yoppi/4362210 to your computer and use it in GitHub Desktop.
Save yoppi/4362210 to your computer and use it in GitHub Desktop.
Rictyインストーラー
#!/bin/sh
#
# Ricty Installer for Mac OS X
#
# require: Homebrew, git
#
FONT_DIR=~/Library/Fonts
# Migu1M フォントをインストール
curl -L -o migu-1m-20121030.zip 'http://sourceforge.jp/frs/redir.php?m=iij&f=%2Fmix-mplus-ipa%2F57240%2Fmigu-1m-20121030.zip'
unzip migu-1m-20121030.zip
cp migu-1m-20121030/*.ttf $FONT_DIR
# Inconsolata フォントをインストール
curl -L -o Inconsolata.otf 'http://levien.com/type/myfonts/Inconsolata.otf'
cp Inconsolata.otf $FONT_DIR
# Homebrew経由で fontfoge をインストール
brew update
brew install fontforge
# Ricty をビルド
git clone https://github.com/yascentur/Ricty.git
cd Ricty
sh ricty_generator.sh auto
cp *.ttf $FONT_DIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment