More Web Proxy on the site http://driver.im/
IPA フォント on Debian GNU/Linux
Aug 2008
Last modified: Tue Aug 19 11:54:33 JST 2008
It is just example.
At your own risk.
IPAフォントをGET
$ wget http://ossipedia.ipa.go.jp/ipafont/IPAfont00203.php
IPAフォントを展開
$ cd /usr/share/fonts/truetype/
$ sudo unzip IPAfont00203.zip
IPAフォントのhintsファイル作成
下記コマンド等でhintsファイルを作成する
$ defoma-hints -c --no-question truetype /usr/share/fonts/truetype/IPAfont00203/fontname.ttf > fontname.hints
インターネット上で公開されているhintsファイルを使用するのもよし。
下記に筆者使用のhintsファイルを示す(ipag.ttfをGothicBBB-Medium,ipam.ttfをRyumin-Lightのaliasに指定)。
category truetype
begin /usr/share/fonts/truetype/IPAfont00203/ipag.ttf
Family = IPAGothic
FontName = IPAGothic-Regular
Encoding = Unicode
Location = English Japanese
Charset = ISO8859-1 JISX0208 JISX0201 JISX0212
GeneralFamily = Gothic
Weight = Medium
Width = Fixed
Shape = Upright
Priority = 30
Alias = GothicBBB-Medium
X-Foundry = ipa
X-Family = gothic
X-Weight = medium
X-Slant = r
Transform = Slant Boldize
TTCap = halfwidth-bw=0.5
end
category truetype
begin /usr/share/fonts/truetype/IPAfont00203/ipagp.ttf
Family = IPAPGothic
FontName = IPAPGothic-Regular
Encoding = Unicode
Location = English Japanese
Charset = ISO8859-1 JISX0208 JISX0201 JISX0212
GeneralFamily = Gothic
Weight = Medium
Width = Variable
Shape = Upright
Priority = 20
Alias = GothicBBB-Medium
X-Foundry = ipa
X-Family = pgothic
X-Weight = medium
X-Slant = r
Transform = Slant Boldize
end
category truetype
begin /usr/share/fonts/truetype/IPAfont00203/ipagui.ttf
Family = IPAUIGothic
FontName = IPAUIGothic-Regular
Encoding = Unicode
Location = English Japanese
Charset = ISO8859-1 JISX0208 JISX0201 JISX0212
GeneralFamily = Gothic
Weight = Medium
Width = Variable
Shape = Upright
Priority = 20
X-Foundry = ipa
X-Family = uigothic
X-Weight = medium
X-Slant = r
Transform = Slant Boldize
end
category truetype
begin /usr/share/fonts/truetype/IPAfont00203/ipam.ttf
Family = IPAMincho
FontName = IPAMincho-Regular
Encoding = Unicode
Location = English Japanese
Charset = ISO8859-1 JISX0208 JISX0201 JISX0212
GeneralFamily = Mincho
Weight = Medium
Width = Fixed
Shape = Upright
Priority = 30
Alias = Ryumin-Light
X-Foundry = ipa
X-Family = mincho
X-Weight = medium
X-Slant = r
Transform = Slant Boldize
TTCap = halfwidth-bw=0.5
end
category truetype
begin /usr/share/fonts/truetype/IPAfont00203/ipamp.ttf
Family = IPAPMincho
FontName = IPAPMincho-Regular
Encoding = Unicode
Location = English Japanese
Charset = ISO8859-1 JISX0208 JISX0201 JISX0212
GeneralFamily = mincho
Weight = Medium
Width = Variable
Shape = Upright
Priority = 20
Alias = Ryumin-Light
X-Foundry = ipa
X-Family = pmincho
X-Weight = medium
X-Slant = r
Transform = Slant Boldize
end
IPAフォントを登録(demafo-font)
$ cd /etc/defoma/hints/
$ sudo defoma-font register-all ipa.hints
$ sudo update-vfontmap
I refered sites below.
Thanks for it's authors so match.