らんだむな記憶

blogというものを体験してみようか!的なー

Type 1 フォント (6)

T1_SPEC.pdf p.25 の

/FontMatrix [0.001 0 0 0.001 0 0] def

は、文字空間の 1000 units をユーザー空間の 1em に移す変換行列だ、ということを言っていると思う。こうすれば文字空間で座標として整数値を使いながら柔軟にデザインできるでしょ?と。

とりあえず超駆け足で(特に興味がないとか、実際に見たことがなさすぎるものを除いて)最後まで読んでみた。疲れた・・・。

真面目にやるなら聖典の付属である 5015.Type1_Supp.pdf も読むべきなのだが、こっちはあまり読み込んだことがないなぁ・・・。ま、所謂 Counter Control hint mechanism と Multiple Master Extension (Variable Fonts の旧版みたいなやつ) のお話ですわな・・・。
っと・・・p.8 の

To use Counter Control hints, the LanguageGroup and RndStemUp entries (see page 44 of the Adobe Type 1 Format Book for more details) must be defined as follows in the Private directory of the font program:

/LanguageGroup 1 def
/RndStemUp false def

はなんとなくそんな感じっぽいという程度の理解で、あまり意識してなかった・・・。
後は p.9 の

Counter Control hinst are specified using the callothersubr charstring operator and OtherSubrs number 12 and 13. These calls must immediately follow the hsbw or sbw operators, and must only occur once in the charstring procedure. All other hints and hint substitution is done in the usual manner.

という登場位置と回数だけ押さえておけば良いんじゃないかな。

p.14 から始まる Multiple Master Font Extensions はもう Variable Fonts に取って代わられているので、歴史的興味以外で読む価値もないんだろうなぁ。

ってことで、5015.Type1_Supp.pdf も読んだことにする・・・。