Debian Codegraph @

doc/sphinx/olddocs/old/ja/multiplemaster.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <!-- Created with AOLpress/2.0 -->
4 <!-- AP: Created on: 5-Feb-2004 -->
5 <!-- AP: Last modified: 16-Apr-2004 -->
6 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
7 <LINK REL="icon" href="../../_static/fftype16.png">
8 <!--<TITLE>Multiple Master Dialog</TITLE>-->
9 <TITLE>マルチプルマスターダイアログ</TITLE>
10 <LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
11 </HEAD>
12 <BODY>
13 <DIV id="in">
14 <H1 ALIGN=Center>
15 <!--Multiple Master Dialog-->
16 マルチプルマスターダイアログ
17 </H1>
18 <P>
19 <!--
20 Allows you to create or modify a multiple master font -->
21 マルチプルマスターフォントの作成・変更ができます。
22 <H2>
23 <!--<A NAME="MM">What is a multiple master font?</A>-->
24 <A NAME="MM">マルチプルマスターフォントとは何か?</A>
25 </H2>
26 <P>
27 <!--
28 A multiple master font is a
29 (<A HREF="http://partners.adobe.com/asn/developer/pdfs/tn/5015.Type1_Supp.pdf">PostScript
30 Type1</A>) font which contains, in one font description several extreme styles
31 of a font family and code for interpolating between them to produce intermediate
32 designs. Apple has a
33 <A HREF="http://developer.apple.com/fonts/TTRefMan/RM06/Chap6fvar.html">similar
34 concept </A>for TrueType -- The only name I've seen given to this is "Apple
35 Distortable Font" -- I call both multiple master. -->
36 マルチプルマスターフォントとは、(<A HREF="http://partners.adobe.com/asn/developer/pdfs/tn/5015.Type1_Supp.pdf">PostScript Type 1</A>) フォントの一種で、1 個のフォント記述の中に、共通のフォントファミリーに属する数個の極端なスタイルのフォントと、中間的なデザインを生成するためにそれらを補間するコードを含んだものです。Apple は<A HREF="http://developer.apple.com/fonts/TTRefMan/RM06/Chap6fvar.html">同様の概念</A>を TrueType に応用しています——管見に入る限りではどれも「Apple 変形可能フォント」と呼んでいますが——ここでは両方ともマルチプルマスターと呼ぶことにします。
37 <P>
38 <!--
39 A multiple master font has several axes along which variation may occur.
40 For example a font might allow variation along the Weight axis (everything
41 from Thin to Black), along the Width axis (Condensed to Extended) and along
42 the Optical Size axis (from 6pt to 72pt). The Type1 spec requires that there
43 be a design for every extreme combination along each axis. In the above example
44 there should be: -->
45 マルチプルマスターフォントは、変種を発生させることができる座標軸をいくつか持っています。例えば、あるフォントは Weight 軸 (Thin から Black までのすべて) の変種に加え、Width 軸 (Condensed から Extended) と、Optical Size 軸 (6pt から 72pt) を備えています。Type1 の仕様では、各軸ごとの極値のすべての組み合わせが存在する必要があります。上の例ではこうなるでしょう:
46 <UL>
47 <LI>
48 Thin Condensed 6pt
49 <LI>
50 Thin Condensed 72pt
51 <LI>
52 Thin Extended 6pt
53 <LI>
54 Thin Extended 72pt
55 <LI>
56 Black Condensed 6pt
57 <LI>
58 Black Condensed 72pt
59 <LI>
60 Black Extended 6pt
61 <LI>
62 Black Extended 72pt
63 </UL>
64 <P>
65 <!--
66 A font designer may also add intermediate designs as well. -->
67 フォントデザイナーは中間デザインを追加することもできます。
68 <P>
69 <!--
70 From these extreme designs PostScript is able to interpolate any intermediate
71 style desired (as Normal Normal 12pt). -->
72 これらの両極のデザインから、PostScript のラスタライザは欲しいスタイル (Normal Normal 12pt のような) を補間することができます。
73 <P>
74 <!--
75 Apple has a slightly different format, not only must the extreme designs
76 be specified but the default designs must be as well (so Apple requires 3
77 designs per axis as opposed to 2 for PostScript). In the above example there
78 would be 27 designs: -->
79 Apple はわずかに異なるフォーマットを使っており、極限のデザインだけでなく、デフォルトのデザインも指定する必要があります (ですから、PostScript では軸ごとに 2 種類のデザインを必要とするのに対し、Apple は 3 種類のデザインを必要とします)。上の例では 27 種類のデザインとなるでしょう:
80 <UL>
81 <LI>
82 Thin Condensed 6pt
83 <LI>
84 Thin Condensed 12pt
85 <LI>
86 Thin Condensed 72pt
87 <LI>
88 Thin 6pt
89 <LI>
90 Thin 12pt
91 <LI>
92 Thin 72pt
93 <LI>
94 Thin Extended 6pt
95 <LI>
96 Thin Extended 12pt
97 <LI>
98 Thin Extended 72pt
99 <LI>
100 Regular Condensed 6pt
101 <LI>
102 ...
103 <LI>
104 Black Extended 72pt
105 </UL>
106 <P>
107 <!--
108 Apple also allows for intermediate designs, but FontForge does not currently
109 support this. -->
110 Apple もまた、中間デザインを認めていますが、FontForge は現在これをサポートしていません。
111 <P>
112 <!--
113 A font designer first determines how many axes s/he will need. PostScript
114 allows a maximum of 4 axes in a Type1 font. FontForge only supports 4 axes
115 for Apple's fonts too. -->
116 フォントデザイナーは、最初にいくつの軸が必要か決定する必要があります。PostScript では、Type1 フォントに最大 4 個の軸を使うことができます。FontForge は Apple のフォントに対しても 4 軸までしかサポートしていません。
117 <P>
118 <!--
119 Then s/he provides information about each axis, specifically: -->
120 それから、各軸に関する情報を提供します。特に、
121 <UL>
122 <LI>
123 <!--The axis type (Weight, Width, Optical Size, etc) -->
124 軸のタイプ (ウェイト Weight、幅 Width、オプティカルサイズ Optical Size など)
125 <LI>
126 <!--The range of design values over which this axis will vary<BR>
127 Typically 1-999 for Weight and Width (1 being extremely thin or condensed,
128 999 being extremely black or extended) or 6-72 for Optical Size<BR>
129 Apple fonts seem to have a different default range, .05-2.0 -->
130 その軸のデザイン値が変動できる範囲<BR>
131 典型的にはウェイトと幅では 1〜999 (1 が極限の細さまたは幅狭、999 は極限の太さまたは幅広)、またはオプティカルサイズでは 6〜72です。<BR>
132 Apple のフォントは異なるデフォルト範囲、0.05〜2.0 を使用しているようです。
133 <LI>
134 <!--A mapping from the design value range to the range [0 1] called the normalized
135 range. (Apple maps to [-1,1] with the default design mapped to 0)<BR>
136 This mapping is piecewise linear. Generally it will just be the obvious
137 (1=&gt;0.0, 999=&gt;1.0) but it is possible to add intermediate points so
138 that 500=&gt;.3 which would give a different scaling between 1&amp;500 than
139 between 500&amp;999. -->
140 デザイン値の定義域から範囲 [0, 1] への変換は正規化された範囲と呼ばれます。(Apple は [-1,1] の範囲に変換し、デフォルトのデザインは 0 になります)<BR>
141 この対応づけは部分ごとの線形変換です。一般的な場合は対応は自明 (1⇒0.0, 999⇒1.0) ですが、中間の点を追加することもでき、例えば 500⇒0.3 とした場合は、1〜500 の変換と、500〜999 の変換には違いが生じます。
142 <LI>
143 <!--In an apple distortable font, each axis must be given a name which may be
144 translated into multiple languages. -->
145 Apple 変形可能フォントでは、各軸には複数の言語に変換できる名前がつけられていなければなりません。
146 </UL>
147 <P>
148 <!--
149 Then s/he determines the number of designs needed. In a Type1 font there
150 may be at most 16, and at least 2^axis-count. So in a 3 axis font there must
151 be at least 8 designs, one for each extreme. -->
152 次に、デザインの個数を選びます。Type 1 フォントでは最大 16 個で、最低 2^軸の個数 となります。そのため、3 軸のフォントでは最低 8 個のデザインが、各極限の値につき 1 個必要となります。
153 <P>
154 <!--
155 For Type1 fonts s/he needs to write two postscript functions -->
156 Type1 フォントを作る場合、2 個の PostScript 関数を書く必要があります。
157 <DL>
158 <DT>
159 NormalizeDesignVector
160 <DD>
161 <!--FontForge is always able to generate this function for the user (unless the
162 user wants something non-linear). This maps a vector of design values to
163 their normalized values (in our three axis case above it might map [400 500
164 12] to [.4 .5 .09]) -->
165 FontForge はユーザに代わってこの関数を常に生成できます (ユーザが何らかの非線形の処理を必要とする場合を除く)。この関数はデザイン値のベクトルを正規化された値に変換します (先ほどの 3 軸の例では、[400 500 12] を [0.4 0.5 0.09] に変換することになります)。
166 <DT>
167 ConvertDesignVector
168 <DD>
169 <!--In the usual cases FontForge is able to create this function for the user
170 (but in more complicated cases, with intermediate designs it is unable to
171 do so). This function takes a normalized vector (as produced above) and figures
172 out how much each weight to give each design in the final blend. -->
173 通常の場合は、FontForge はこの機能をユーザに代わって作成することができます (しかし、より複雑な、中間デザインが含まれる場合は自動作成できません)。この関数は正規化されたベクトル (上記のとおり生成されたもの) を取り、各デザインが、最終的な混ぜ合わせの結果にどれだけの重みを与えるかを返します。
174 </DL>
175 <P>
176 <!--
177 Finally s/he provides a default vector of design weights (one for each design).
178 This will be used when the multiple master font is used without any additional
179 information being provided. It should describe the normal variant of the
180 font. The sum of all the weights must be 1.0. In the above example, if we
181 take [400 500 12] as our definition of "normal" this vector might look like:
182 [.273 .027 .273 .027 .182 .018 .182 .018]. -->
183 最後に、デザインの重みづけのデフォルトベクトルを (各デザインごとに 1 つずつ) 提供しなければなりません。これは、マルチプルマスターフォントに何も追加情報を与えずに使用したときに用いられる重みづけです。ここにはフォントの通常版を記述するべきです。「通常」の定義として、[400 500 12] を取ったならば、このベクトルは [.273 .027 .273 .027 .182 .018 .182 .018] のようになるでしょう。
184 <P>
185 <!--
186 Apple distortable fonts do not need the postscript functions, nor the default
187 weight vector mentioned above. Instead they need a set of named styles which
188 map a particular coordinate in design space to a name (which may be provided
189 in several languages). -->
190 Apple 変形可能フォントは PostScript 関数を必要としませんし、上記のデフォルト重みづけベクトルも不要です。その代わり、デザイン空間に置ける特定の座標値を名前に対応づける、名前つきスタイルの組が必要になります (名前は複数の言語で指定することができます)。
191 <P>
192 <!--
193 Corresponding glyphs in each design must have certain similarities: -->
194 各デザインにおける対応するグリフには、ある程度の類似性が必要です:
195 <UL>
196 <LI>
197 <!--There must be the same number of contours (or references)-->
198 輪郭 (または参照) の個数が同じでなければならない
199 <LI>
200 <!--There must be the same number of points on each contour-->
201 各輪郭には同じ個数の点が無ければならない
202 <LI>
203 <!--Corresponding contours must be oriented in the same direction-->
204 対応する輪郭は同じ方向を向いていなければならない
205 <LI>
206 <!--In a Type1 fonts there must be corresponding hints, and hint substitution
207 points. -->
208 Type1 フォントでは、ヒントおよびヒントが置換する点は対応していなければならない。
209 <LI>
210 <!--In a TrueType font corresponding glyphs share the same instructions (and
211 'fpgm' and 'prep' tables), but may have different 'cvt ' tables. -->
212 TrueType フォントでは対応するグリフは同じ命令 (並びに&lsquo;fpgm&rsquo;および&lsquo;prep&rsquo;テーブル) を共有していなければならない。ただし、&lsquo;cvt &rsquo;テーブルは異なっていてもよい。
213 </UL>
214 <H2>
215 <!--The Dialog-->
216 ダイアログ
217 </H2>
218 <P>
219 <!--
220 This dialog is used for creating and modifying multiple master fonts. It
221 contains several sub-dialogs which must be processed in sequence, and follows
222 pretty closely to the process described above. I will first show the sequence
223 for Adobe's fonts, and then explain Apple's fonts. -->
224 このダイアログはマルチプルマスターフォントの作成と修正に用いられます。このダイアログは、順番に処理しなければならないいくつかのサブダイアログを含み、上で説明したプロセスに非常に密接に対応しています。まず最初に Adobe のフォントに対する手順を示し、次に Apple のフォントを説明します。
225 <P>
226 <IMG src="../../_images/mmcounts.png" WIDTH="476" HEIGHT="448" ALIGN="Right"><!--The first
227 screen allows you to choose the type of distortable font you wish to generate
228 (Adobe Multiple Master, or Apple), the number of axes in your font, and the
229 number of master designs, and a family name (which will be used for creating
230 new fonts, if you need any new ones).<BR CLEAR=ALL> -->
231 最初の画面では、作成したい変形可能フォントのタイプ (Adobe マルチプルマスターまたは Apple)、フォントに含まれる軸の数、マスターデザインの個数およびファミリー名 (これは、新しいフォントが必要なときにそれを作成するのに用いられます) を選択することができます。<BR CLEAR=ALL>
232 <P>
233 <IMG src="../../_images/mmaxes.png" WIDTH="476" HEIGHT="448" ALIGN="Right"><!--The second screen
234 gives you control of each axis. There are a few standard axis types defined
235 by Adobe (and by Apple), but you could define your own. Note that there are
236 fields which are disabled here, they only apply to Apple's fonts.<BR CLEAR=ALL> -->
237 2 番目の画面では、各軸の制御を行うことができます。Adobe (と Apple) によって定義された軸のタイプは 2, 3 種類しかありませんが、独自の軸を新しく定義することもできます。ここでは使用不可能になっている欄があることにご注意ください。それらは Apple のフォントでしか使用できません。<BR CLEAR=ALL>
238 <P>
239 <IMG src="../../_images/mmdesigns.png" WIDTH="476" HEIGHT="448" ALIGN="Right"><!-- Then you
240 must assign a font to each of the master designs. You can either have FontForge
241 create a new font for you (as here), or use an already loaded font, or browse
242 your disk for a font (don't try to use the same font twice). -->
243 次に、各マスターデザインに属するフォントを割り当てなければなりません。(この例のように) FontForge に新しいフォントを作成させることもできますし、既に読み込み済みのフォントを使用したり、ディスク上のフォントを使用するためにディレクトリを検索することもできます (同じフォントを 2 回使わないようにしてください)。
244 <P>
245 <!--
246 You must also specify the coordinates of this design along the axes. If you
247 use the minimum number of designs they will all be extremes and the coordinate
248 values will be either 0 or 1. Unless you are working with intermediate designs
249 it is best to let FontForge initialize this field for you.<BR CLEAR=ALL> -->
250 このデザインの軸上での座標値を指定することもできます。もしデザインの個数を最少に抑えるならば、それらはすべて極値でとなり、座標値は 0 か 1 のどちらかになります。中間デザインの作業をするのでなければ、FontForge がこのフィールドを初期化するのに任せるのが最善です。<BR CLEAR=ALL>
251 <P>
252 <IMG src="../../_images/mmfuncs.png" WIDTH="476" HEIGHT="448" ALIGN="Right"><!--This screen
253 shows the postscript functions needed to map a design vector to a weight
254 vector (ie. given positions on each of the design axes, these produce blending
255 coefficients for each master design). In most useful case FontForge is able
256 to generate these functions automatically, but if you use intermediate designs
257 things get too complicated for FontForge and you must enter the functions
258 manually.<BR CLEAR=ALL> -->
259 この画面に表示されているのは、デザインベクトルを重みベクトルに対応づけるのに必要な PostScript 関数です (言い替えれば、各デザイン軸での位置を指定したとき、これらは各マスターデザインからの混ぜ合わせの比率を生成します)。ほとんどの有益な場合では、FontForge はこれらの関数を自動生成しますが、中間デザインを使用したときには、FontForge で扱うには非常に複雑になるので、関数を手動で入力しなければなりません。<BR CLEAR=ALL>
260 <P>
261 <IMG src="../../_images/mmfinal.png" WIDTH="476" HEIGHT="448" ALIGN="Right"><!--The last screen
262 shows the default weights (which you may either enter directly or as coordinates
263 along the design axes), the ForceBoldThreshold private dictionary
264 entry).<BR CLEAR=ALL> -->
265 最後の画面が表示しているのは、デフォルトの重みづけ (これは直接入力することもできますし、デザイン軸に沿った座標値でも指定できます) および、プライベート辞書の項目 ForceBoldThreshold です。<BR CLEAR=ALL>
266 <H3>
267 <!--An Apple distortable font.-->
268 Apple 変形可能フォント
269 </H3>
270 <P>
271 <IMG src="../../_images/mmappleaxes.png" WIDTH="476" HEIGHT="448" ALIGN="Right"><!--The dialog
272 looks very similar, but there are a few differences. In the Axis pane of
273 the dlg, you must also specify a default value for the axis, and a translatable
274 name.<BR Clear=ALL>-->
275 ダイアログの見かけは非常によく似ていますが、2,3 の相違点があります。ダイアログの「軸」ペインで、その軸のデフォルト値と変換可能な名前を指定しなければなりません。<BR CLEAR=ALL>
276 <P>
277 <IMG src="../../_images/mmnamedstyles.png" WIDTH="476" HEIGHT="448" ALIGN="Right"><!--Apple
278 allows coordinates in design space to be named. Here the name "Black" is
279 given to the location where Weight=3.2 (the darkest value) and
280 <IMG src="../../_images/mmnamingastyle.png" WIDTH="368" HEIGHT="470" ALIGN="Left">Width=1
281 (the default value). Again these names can be translated into multiple
282 languages.<BR Clear=ALL>
283 Apple フォントではデザイン空間における座標位置に名前をつけることができます。ここでは名前 "Black" は、Weight=3.2 (最も黒みの強い値) かつ <IMG src="../../_images/mmnamingastyle.png" WIDTH="368" HEIGHT="470" ALIGN="Left">Width=1 (デフォルト値) につけた名前です。ここでもこれらの名前は複数の言語に翻訳することができます。<BR Clear=ALL>
284 <H2>
285 <!--A suggestion-->
286 提言
287 </H2>
288 <P>
289 <!--
290 Adobe's Type1 fonts require all the extreme designs to be specified, so that
291 for a 3 axis multiple master font, you need 8 designs. This is because Adobe
292 only seems to expect interpolation to be used. On the other hand in many
293 cases extrapolation can be used to generate some of these designs. In the
294 3 axis case you only need to produces 4 designs (one for the base, and one
295 each to express the variation on each axis). -->
296 Adobe の Type1 フォントは極限にあるデザインを全部指定する必要があるので、3 軸のマルチプルマスターフォントでは、8 種類のデザインが必要です。これは、Adobe が補間のみを使うことを想定しているからのようです。一方、多くの場合ではそれらのデザインのいくつを作成するのに補外を使用することができます。3 軸の場合、必要なデザインは 4 種類だけになります (基本デザインのために 1 個、および各軸のバリエーションを表すのに 1 個ずつ)。
297 <P>
298 <!--
299 I will describe the 2 axis case in detail (because it is easier to visualize):
300 Suppose you have a font which varies on the Weight axis from 50 to 900, and
301 on the Width axis from 100 to 1000. And suppose you have created fonts for
302 Weight=50,Width=100 &amp; Weight=50, Width=100 &amp; Weight=900,Width=100.
303 Call these designs 0, 1 and 2. We wish to produce a design, 3, with Weight=900,
304 Width=1000. -->
305 私は、2 軸の場合のみを詳しく説明するつもりです (視覚化が簡単なので): Weight 軸が 50〜900, Width 軸が 100〜1000 の範囲で変動するフォントがあるとします。そして、Weight=50,Width=100, Weight=50,Width=1000 と Weight=900,Width=100 のフォントが作成済みだとします。それらをデザイン 0, 1, 2 と呼びましょう。ここで作成したいのは Weight = 900, Width=1000 のデザイン 3 です。
306 <P ALIGN=Center>
307 <IMG src="../../_images/mmextrapolate2.png" WIDTH="132" HEIGHT="132">
308 <P>
309 <!--
310 First we must produce an intermediate design (which we will delete later),
311 call it "I". Use FontForge's Element-&gt;Interpolate Fonts command to produce
312 a design which is 50% of the way from design 1 to design 2 (This will be
313 Weight=475, Width=550). Then produce another design with is 200% of the way
314 from design 0 to design "I". This will be the desired extreme design. -->
315 最初に中間デザインを作成する必要があります (これは後で削除します)。これを“I”と呼ぶことにします。FontForge の <CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォントの補間(<U>L</U>)...</CODE> コマンドを使って、デザイン 1 から 2 の間の 50% に位置するデザインを生成してください (これは Weight=475, Width=550 となります)。それからデザイン 0 から デザイン“I”の延長上 200% に位置するもう一つのデザインを作成します。これが必要な極限のデザインとなります。
316 <P>
317 <!--
318 Adobe's Type2 designs appear to have been prepared to allow this approach,
319 but the multiple master operators were dropped from the Type2 spec, and the
320 question is moot. -->
321 Adobe の Type2 デザインはこのアプローチを可能にする準備があったように思いますが、Type2 の仕様からマルチプルマスター関連の演算子が削除されてしまったので、この疑問の答えは不明です。
322 <P>
323 <P ALIGN=Center>
324 — <A HREF="mmmenu.html">上</A> — <A HREF="overview.html">目次</A> —
325 <P>
326 </DIV>
327 </BODY></HTML>