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.