Fedora 資料一覧
IPAフォントの導入手順(GRASS国際化版同梱)
2006/7/12更新
対応バージョン: 6
まず必要なファイルをダウンロードし、以下の手順で導入する。
grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin.tar.gz
grass5_i686-pc-linux-i18n-ipafull-gnu_install.sh
# sh grass5_i686-pc-linux-i18n-ipafull-gnu_install.sh \ grass5.0.3_i686-pc-linux-i18n-ipafull-gnu_bin.tar.gz \ /tmp/grass5 /tmp/bin # mv /tmp/grass5/fonts/*.ttf /usr/share/fonts/japanese/TrueType/ # cd /usr/share/fonts/japanese/TrueType # mv sazanami-gothic.ttf sazanami-gothic.ttf.org # mv sazanami-mincho.ttf sazanami-mincho.ttf.org # ln -s ipam.ttf sazanami-mincho.ttf # ln -s ipag.ttf sazanami-gothic.ttf # mkfontdir # mkfontscale # cd /etc/fonts/conf.d # vi 25-no-hint-fedora.conf 40-generic-fedora.conf 64-nonlatin-fedora.conf 以下のフォント名を変更 Sazanami Mincho → IPAMincho Sazanami Gothic → IPAGothic
参考までに、M+フォントとIPAフォントの合成およびデフォルト化の手順も紹介する。
前もって以下のサイトよりM+フォント(mplus-TESTFLIGHT-xxx.tar.gz)を入手しておくこと。
# yum install fontforge # tar zxvf mplus-TESTFLIGHT-012.tar.gz # cd mplus-TESTFLIGHT-012 # cp /usr/share/fonts/japanese/TrueType/ipag.ttf . # fontforge -script m++ipa.pe # mv M*IPAG.ttf /usr/share/fonts/japanese/TrueType # cd /usr/share/fonts/japanese/TrueType # mkfontdir # mkfontscale # cd /etc/fonts/conf.d # vi 25-no-hint-fedora.conf 40-generic-fedora.conf 64-nonlatin-fedora.conf 以下のフォント名を変更 IPAGothic → M+2P+IPAG