TenForward

技術ブログ。はてなダイアリーから移転しました

ヒラギノフォント用 fonts.dir

emacs なんかでもヒラギノを使うために fonts.dir を作成.

ai=0.0:fn=1:bw=0.5:eb=y:ds=n:dshirkg3.ttc -screen-HiraginoGothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
ai=0.0:fn=1:bw=0.5:eb=y:ds=y:dshirkg7.ttc -screen-HiraginoGothic-bold-r-normal--0-0-0-0-c-0-iso8859-1
ai=0.2:fn=1:bw=0.5:eb=y:ds=n:dshirkg3.ttc -screen-HiraginoGothic-medium-i-normal--0-0-0-0-c-0-iso8859-1
ai=0.2:fn=1:bw=0.5:eb=y:ds=y:dshirkg7.ttc -screen-HiraginoGothic-bold-i-normal--0-0-0-0-c-0-iso8859-1

ai=0.0:fn=1:bw=0.5:eb=y:ds=n:dshirkg3.ttc -screen-HiraginoGothic-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0
ai=0.0:fn=1:bw=0.5:eb=y:ds=y:dshirkg7.ttc -screen-HiraginoGothic-bold-r-normal--0-0-0-0-c-0-jisx0201.1976-0
ai=0.2:fn=1:bw=0.5:eb=y:ds=n:dshirkg3.ttc -screen-HiraginoGothic-medium-i-normal--0-0-0-0-c-0-jisx0201.1976-0
ai=0.2:fn=1:bw=0.5:eb=y:ds=y:dshirkg7.ttc -screen-HiraginoGothic-bold-i-normal--0-0-0-0-c-0-jisx0201.1976-0

ai=0.0:fn=1:ds=n:eb=y:dshirkg3.ttc -screen-HiraginoGothic-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
ai=0.0:fn=1:ds=y:eb=y:dshirkg7.ttc -screen-HiraginoGothic-bold-r-normal--0-0-0-0-c-0-jisx0208.1983-0
ai=0.2:fn=1:ds=n:eb=y:dshirkg3.ttc -screen-HiraginoGothic-medium-i-normal--0-0-0-0-c-0-jisx0208.1983-0
ai=0.2:fn=1:ds=y:eb=y:dshirkg7.ttc -screen-HiraginoGothic-bold-i-normal--0-0-0-0-c-0-jisx0208.1983-0

こんな感じ.あとは同様にプロポーショナルを作成.fn=0 になるのと fs=p になります.