Created
September 20, 2011 03:41
-
-
Save tell-k/1228270 to your computer and use it in GitHub Desktop.
install Ricty Font for MacOSX(Liion)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################## | |
# easy install Ricty Font for MacOSX(Lion) | |
# | |
# filename: install_ricty.sh | |
# | |
# dependencies | |
# - homebrew | |
# | |
# see also | |
# - http://knagayama.net/blog/2011/07/27/generate-ricty-font/ | |
# - https://plus.google.com/105960594957780769715/posts/RxkHGBhSHq1 | |
# | |
# author: tell-k | |
# url: http://d.hatena.ne.jp/tell-k/ | |
######################################## | |
VERSION="3.1.1" | |
sudo cp -pr /usr/bin/python /usr/bin/python_back | |
sudo cp -pr /usr/bin/python2.6 /usr/bin/python | |
brew install --use-gcc fontforge | |
curl -LO http://levien.com/type/myfonts/Inconsolata.otf | |
curl -Lo Migu-1M-20110825.zip "http://sourceforge.jp/frs/redir.php?m=globalbase&f=%2Fmix-mplus-ipa%2F53034%2FMigu-1M-20110825.zip" | |
curl -LO http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty/Ricty-$VERSION.tar.gz | |
unzip Migu-1M-20110825.zip | |
tar xvzf Ricty-$VERSION.tar.gz | |
mv Inconsolata.otf Ricty/ | |
mv Migu-1M-20110825/Migu-1M-bold.ttf Ricty/ | |
mv Migu-1M-20110825/Migu-1M-regular.ttf Ricty/ | |
cd Ricty/ | |
sh ricty_generator.sh Inconsolata.otf Migu-1M-regular.ttf Migu-1M-bold.ttf | |
cd ../ | |
cp -pr Ricty/*.ttf /Library/Fonts/ | |
ls -la /Library/Fonts | grep Ricty | |
rm -fr Migu-1M-20110825 | |
rm -fr Migu-1M-20110825.zip | |
rm -fr Ricty-$VERSION.tar.gz | |
rm -fr Ricty | |
sudo mv /usr/bin/python_back /usr/bin/python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment