Debian Codegraph @

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

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <!-- Created with AOLpress/2.0 -->
4 <!-- AP: Created on: 6-Dec-2000 -->
5 <!-- AP: Last modified: 8-May-2006 -->
6 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
7 <!--
8 <TITLE>FontForge -- An outline font editor for PostScript&reg;, TrueType
9 and OpenType fonts</TITLE>
10 -->
11 <TITLE>FontForge — PostScript&reg;, TrueType と OpenType フォントが編集できるアウトラインフォントエディタ</TITLE>
12 <LINK REL="icon" href="../../_static/fftype16.png">
13 <LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
14 </HEAD>
15 <BODY>
16 <DIV id="in">
17 <!--
18 <H1 Align=Center>
19 FontForge<BR>
20 <SMALL>An Outline Font Editor</SMALL><A HREF="ja/overview.html"><BR>
21 <IMG src="../../_images/Nisshoki-Japan.png" WIDTH="39" HEIGHT="26"></A>
22 </H1>
23 -->
24 <H1 Align=Center>
25 FontForge<BR>
26 <SMALL>アウトラインフォントエディタ</SMALL><A HREF="../../index.html"><BR>
27 <IMG src="../../_images/English.gif" WIDTH="39" HEIGHT="26"></A>
28 <A HREF="overview.html">
29 <IMG src="../../_images/Nisshoki-Japan.png" WIDTH="39" HEIGHT="26"></A>
30 </H1>
31 <!--
32 <H2>
33 <I><IMG src="../../_images/FontForgeSplash.png" WIDTH="379" HEIGHT="375" ALT="Gaudiamus ligature!"
34 ALIGN="Right"></I>Table of Contents
35 </H2>
36 -->
37 <H2>
38 <I><IMG src="../../_images/FontForgeSplash.png" WIDTH="379" HEIGHT="375" ALT="喜びに合字よう!"
39 ALIGN="Right"></I>目次
40 </H2>
41 <UL>
42 <LI>
43 <!-- <A HREF="#Overview">Overview</A> -->
44 <A HREF="#Overview">概要</A>
45 <UL>
46 <LI>
47 <!-- <A HREF="#Installing">Installing</A> -->
48 <A HREF="#Installing">インストール</A>
49 <LI>
50 <!-- <A HREF="#Starting">Starting the program</A> -->
51 <A HREF="#Starting">プログラムの起動法</A>
52 <LI>
53 <!-- <A HREF="#intro">Introductory concepts: fonts, splines, lines, points and
54 paths</A> -->
55 <A HREF="#intro">初歩的な概念: フォント、スプライン, 線分, 点とパス</A>
56 <LI>
57 <!-- <A HREF="#Hints">Hints</A> -->
58 <A HREF="#Hints">ヒント</A>
59 <LI>
60 <!-- <A HREF="#References">References</A> -->
61 <A HREF="#References">参照</A>
62 <LI>
63 <!-- <A HREF="#Scripts">Scripts</A> -->
64 <A HREF="#Scripts">用字系</A>
65 <LI>
66 <!-- <A HREF="overview.html#Glyph-names">Glyph names &amp; Namelists</A> -->
67 <A HREF="overview.html#Glyph-names">グリフ名と名前リスト</A>
68 <LI>
69 <!-- <A HREF="#Anchors">Anchor Points and Classes</A> -->
70 <A HREF="#Anchors">アンカーポイントとアンカークラス</A>
71 <LI>
72 <!-- <A HREF="#FontView">Font View</A> -->
73 <A HREF="#FontView">フォントビュー</A> <!-- 「フォント表示画面」のほうがいいか? -->
74 <LI>
75 <!-- <A HREF="#CharView">Outline glyph View</A> -->
76 <A HREF="#CharView">アウトライングリフビュー</A>
77 <LI>
78 <!-- <A HREF="#BitmapView">Bitmap Glyph View</A> -->
79 <A HREF="#BitmapView">ビットマップグリフビュー</A>
80 <LI>
81 <!-- <A HREF="#MetricsView">Metrics View</A> -->
82 <A HREF="#MetricsView">メトリックビュー</A>
83 </UL>
84 <LI>
85 <!-- <A HREF="editexample.html">Example</A> -->
86 <A HREF="editexample.html">例</A>
87 <UL>
88 <LI>
89 <!-- <A HREF="editexample.html">Tutorial</A> &amp; User Guide -->
90 <A HREF="editexample.html">チュートリアル</A>とユーザガイド
91 <LI>
92 <!-- <A HREF="scriptnotes.html#Special">Special thoughts for special scripts</A> -->
93 <A HREF="scriptnotes.html#Special">特別な用字系に対する特別な考慮点</A>
94 </UL>
95 <LI>
96 <!-- <A HREF="fontview.html">Font View</A> -->
97 <A HREF="fontview.html">フォントビュー</A>
98 <UL>
99 <LI>
100 <!-- <A HREF="fontview.html#Encodings">Encodings</A> -->
101 <A HREF="fontview.html#Encodings">エンコーディング</A>
102 <LI>
103 <A HREF="fontview.html#Unicode">Unicode</A>
104 <LI>
105 <!-- <A HREF="fontview.html#CID">CID keyed fonts</A> -->
106 <A HREF="fontview.html#CID">CID キー指定フォント</A>
107 <LI>
108 <!-- <A HREF="fontview.html#MM">Multiple Master fonts</A> -->
109 <A HREF="fontview.html#MM">マルチプルマスターフォント</A>
110 <LI>
111 <!-- <A HREF="fontview.html#Vertical-Metrics">Vertical Metrics</A> -->
112 <A HREF="fontview.html#Vertical-Metrics">縦書きメトリック</A>
113 <LI>
114 <!-- <A HREF="charview.html#Debugging">Debugging TrueType glyphs</A> -->
115 <A HREF="charview.html#Debugging">TrueType グリフのデバッグ方法</A>
116 </UL>
117 <LI>
118 <!-- <A HREF="charview.html">Outline Glyph View</A> -->
119 <A HREF="charview.html">アウトライングリフビュー</A>
120 <UL>
121 <LI>
122 <!-- <A HREF="charview.html#Layers">Layers</A> -->
123 <A HREF="charview.html#Layers">レイヤ</A>
124 <LI>
125 <!-- <A HREF="charview.html#Tools">Tools</A> -->
126 <A HREF="charview.html#Tools">ツール</A>
127 <LI>
128 <!-- <A HREF="charview.html#Vertical">Vertical view</A> -->
129 <A HREF="charview.html#Vertical">縦書きビュー</A>
130 <LI>
131 <!-- <A HREF="charview.html#MM">Multiple Master </A> -->
132 <A HREF="charview.html#MM">マルチプルマスター</A>
133 </UL>
134 <LI>
135 <!-- <A HREF="bitmapview.html">Bitmap Glyph View</A> -->
136 <A HREF="bitmapview.html">ビットマップグリフビュー</A>
137 <UL>
138 <LI>
139 <!-- <A HREF="bitmapview.html#Layers">Layers</A> -->
140 <A HREF="bitmapview.html#Layers">レイヤ</A>
141 <LI>
142 <!-- <A HREF="bitmapview.html#Tools">Tools</A> -->
143 <A HREF="bitmapview.html#Tools">ツール</A>
144 <LI>
145 <!-- <A HREF="bitmapview.html#AA">Anti-Aliased Glyphs</A> -->
146 <A HREF="bitmapview.html#AA">アンチエイリアス表示のグリフ</A>
147 <LI>
148 <!-- <A HREF="bitmapview.html#Shades">Shades</A> -->
149 <A HREF="bitmapview.html#Shades">階調</A>
150 </UL>
151 <LI>
152 <!-- <A HREF="metricsview.html">Metrics View</A> -->
153 <A HREF="metricsview.html">メトリックビュー</A>
154 <UL>
155 <LI>
156 <!-- <A HREF="metricsview.html#Entering">Entering non-ASCII characters</A> -->
157 <A HREF="metricsview.html#Entering">非 ASCII 文字の入力法</A>
158 </UL>
159 <LI>
160 <!-- <A HREF="filemenu.html">Menu Commands</A> -->
161 <A HREF="filemenu.html">メニューコマンド</A>
162 <UL>
163 <LI>
164 <!-- <A HREF="filemenu.html">File</A> -->
165 <A HREF="filemenu.html">ファイル</A>
166 <LI>
167 <!-- <A HREF="editmenu.html">Edit</A> -->
168 <A HREF="editmenu.html">編集</A>
169 <LI>
170 <!-- <A HREF="pointmenu.html">Points</A> -->
171 <A HREF="pointmenu.html">点</A>
172 <LI>
173 <!-- <A HREF="elementmenu.html">Element</A> -->
174 <A HREF="elementmenu.html">エレメント</A>
175 <LI>
176 <!-- <A HREF="hintsmenu.html">Hints</A> -->
177 <A HREF="hintsmenu.html">ヒント</A>
178 <LI>
179 <!-- <A HREF="encodingmenu.html">Encoding</A> -->
180 <A HREF="encodingmenu.html">エンコーディング</A>
181 <LI>
182 <!-- <A HREF="viewmenu.html">View</A> -->
183 <A HREF="viewmenu.html">表示</A>
184 <LI>
185 <!-- <A HREF="metricsmenu.html">Metrics</A> -->
186 <A HREF="metricsmenu.html">メトリック</A>
187 <LI>
188 <!-- <A HREF="cidmenu.html">CID</A> -->
189 <A HREF="cidmenu.html">CID</A>
190 <LI>
191 <!-- <A HREF="mmmenu.html">MM</A> -->
192 <A HREF="mmmenu.html">MM (マルチプルマスター)</A>
193 <LI>
194 <!-- <A HREF="windowmenu.html">Window</A> -->
195 <A HREF="windowmenu.html">ウィンドウ</A>
196 <LI>
197 <!-- <A HREF="helpmenu.html">Help</A> -->
198 <A HREF="helpmenu.html">ヘルプ</A>
199 <LI>
200 <!-- <A HREF="HotKeys.html">Hot Keys</A> -->
201 <A HREF="HotKeys.html">ホットキー</A>
202 </UL>
203 <LI>
204 <!-- <A HREF="scripting.html">Scripting</A> -->
205 <A HREF="scripting.html">スクリプト</A>
206 <LI>
207 <!-- Appendices... -->
208 付録…
209 <UL>
210 <LI>
211 <!-- <A HREF="PfaEdit-TeX.html">Using FontForge with TeX</A> -->
212 <A HREF="PfaEdit-TeX.html">FontForge を TeX で利用する方法</A>
213 <LI>
214 <!-- <A HREF="locale.html">Localization</A> -->
215 <A HREF="locale.html">地域化</A>
216 <LI>
217 <!-- <A HREF="errrecovery.html">Error Recovery</A> -->
218 <A HREF="errrecovery.html">エラー回復</A>
219 <LI>
220 <!-- <A HREF="xres.html">X Resources</A> -->
221 <A HREF="xres.html">X リソース</A>
222 <UL>
223 <LI>
224 <!-- <A HREF="xres.html#Keyboards">Keyboards and Mice</A> -->
225 <A HREF="xres.html#Keyboards">キーボードとマウス</A>
226 </UL>
227 <LI>
228 <!-- <A HREF="cliargs.html">Command line arguments</A> -->
229 <A HREF="cliargs.html">コマンドライン引数</A>
230 <UL>
231 <LI>
232 <!-- <A HREF="cliargs.html#Environment">Environment Variables</A> -->
233 <A HREF="cliargs.html#Environment">環境変数</A>
234 </UL>
235 <LI>
236 <!-- <A HREF="files.html">Files</A> -->
237 <A HREF="files.html">ファイル</A>
238 <LI>
239 <!-- Internals -->
240 内部構造
241 <UL>
242 <LI>
243 <!-- <A HREF="src.html">Source file overview</A> (out of date, but goes over the
244 basics) -->
245 <A HREF="src.html">ソースファイルの概要</A> (古びていますが基本は変わっていません)
246 <LI>
247 <!-- <A HREF="sfdformat.html">Spline Font Database File Format</A> (also out of
248 date) -->
249 <A HREF="sfdformat.html">Spline Font Database ファイルフォーマット</A> (これも時代遅れです)
250 <LI>
251 <!-- <A HREF="bezier.html">PostScript &lt;-&gt; TrueType Conversions</A> -->
252 <A HREF="bezier.html">PostScript から TrueType への変換</A>
253 <LI>
254 <!-- <A HREF="corpchar.html">FontForge's use of the Unicode Private Use Area</A> -->
255 <A HREF="corpchar.html">Unicode 私用領域の FontForge による使用法</A>
256 </UL>
257 <LI>
258 <!-- <A HREF="sfds/index.html">Font samples</A> -->
259 <A HREF="http://fontforge.sourceforge.net/sfds/index.html">フォントサンプル</A>
260 </UL>
261 <LI>
262 <!-- <A HREF="faqFS.html">Frequently Asked Questions</A> -->
263 <A HREF="faqFS.html">よくある質問</A>
264 <LI>
265 <!-- <A HREF="HotKeys.html">Hot Keys</A> -->
266 <A HREF="HotKeys.html">ホットキー一覧</A>
267 <LI>
268 <!-- <A HREF="GlossaryFS.html">Typographical glossary</A> -->
269 <A HREF="GlossaryFS.html">タイポグラフィ用語辞典</A>
270 <LI>
271 <!-- <A HREF="IndexFS.html">Index</A> -->
272 <A HREF="IndexFS.html">索引</A>
273 <LI>
274 <!-- <A HREF="nvd.html">File List</A>-->
275 <A HREF="nvd.html">ファイルリスト</A>
276 <LI>
277 <!-- <A HREF="bibliography.html">Bibliography</A> -->
278 <A HREF="bibliography.html">参照文献</A>
279 <LI>
280 <!-- <A HREF="license.html">License and Copyright</A> -->
281 <A HREF="license.html">ライセンスと著作権</A>
282 <LI>
283 <!-- <A HREF="nix-install.html">Download</A> -->
284 <A HREF="nix-install.html">ダウンロード</A>
285 </UL>
286 <H2>
287 <!--See Also-->
288 参照
289 </H2>
290 <UL>
291 <LI>
292 <!-- <A HREF="sfddiff.html">sfddiff man page</A> -->
293 <A HREF="sfddiff.html">sfddiff マニュアルページ</A>
294 <LI>
295 <!-- <A HREF="acorn2sfd.html">acorn2sfd man page</A> -->
296 <A HREF="acorn2sfd.html">acorn2sfd マニュアルページ</A>
297 </UL>
298 <P>
299 <BLOCKQUOTE ID="lit">
300 <!--Eeyore had <A NAME="three-sticks">three</A> sticks on the ground, and was
301 looking at them. Two of the sticks were touching at one end, but not at the
302 other, and the third stick was laid across them. Piglet thought that perhaps
303 it was a Trap of some kind. -->
304 イーヨーは、地面においてある<A NAME="three-sticks">三本</A>の棒をながめていました。二本は、かたほうのはしでぶつかっていて、もう一方のはしでは、はなれていました。そして、その二本の上に、もう一本の棒がのっていました。コブタは、きっとなにかの<b>わな</b>だろうと思いました。
305 <P>
306 <!--``Oh, Eeyore,'' he began again, ``just - - -'' -->
307 「あのイーヨー。」と、コブタはもういちどいいました。「ぼく、ちょっと——」
308 <P>
309 <!--``Is that little Piglet?'' said Eeyore, still looking hard at his
310 sticks. -->
311 「コブちゃんかな?」イーヨーは、まだ棒をながめながら、いいました。
312 <P>
313 <!--``Yes, Eeyore, and I- - -'' -->
314 「ええ。イーヨー。ぼくね——」
315 <P>
316 <!--``Do you know what this is?'' -->
317 「おまえ、これ、なんだか知っとるか?」
318 <P>
319 <!--``No,'' said Piglet. -->
320 「いいえ。」
321 <P>
322 <!--``It's an A.'' -->
323 「これは、A の字じゃ」
324 <P>
325 <!--``Oh,'' said Piglet. -->
326 「ああ。」と、コブタがいいました。
327 <P>
328 <!--``Not O, A,'' said Eeyore severely. -->
329 「アーじゃないぞ。エーじゃ。」イーヨーは、こわい声でいいました。
330 <P ALIGN=Right>
331 <!-- - - A. A. Milne, 1928<BR>
332 The House At Pooh Corner</TD> -->
333 — A. A. ミルン, 1928 年<BR>
334 『プー横丁にたった家』<BR>
335 (石井桃子訳)</TD>
336 </BLOCKQUOTE>
337 <P>
338 <!--
339 Font design can be a Trap, but I find it a rather pleasant one. Caveat utor. -->
340 フォントデザインは罠になることもありますが、かなり楽しいものであることを私は知っています。用心して遣ひませう。
341
342 <H2>
343 <!--<A NAME="Overview">Overview</A> -->
344 <A NAME="Overview">概要</A>
345 </H2>
346 <P>
347 <!--
348 FontForge allows you to create and modify postscript, truetype and opentype
349 fonts. You can save fonts in many different outline formats, and generate
350 bitmaps. -->
351 FontForge を使うと PostScript, TrueType および OpenType フォントの作成・編集ができます。さまざまな種類のアウトラインフォントのフォーマットでフォントを保存することができ、ビットマップの生成が可能です。
352 <H3>
353 <!--<A NAME="Installing">Installing</A> or building fontforge -->
354 FontForge の<A NAME="Installing">インストール</A>および構築方法
355 </H3>
356 <TABLE CELLSPACING="6" CELLPADDING="2">
357 <CAPTION>
358 <!-- System specific install procedures-->
359 各システム固有のインストール手順:
360 </CAPTION>
361 <TR>
362 <TD><P ALIGN=Center>
363 <A HREF="nix-install.html">Unix/Linux</A></TD>
364 <TD>&nbsp; &nbsp; &nbsp; <A HREF="mac-install.html">Mac</A></TD>
365 <TD>&nbsp; &nbsp; &nbsp; <A HREF="ms-install.html">MS/Windows</A></TD>
366 <TD>&nbsp; &nbsp; &nbsp; <A HREF="vms-install.html">VMS</A></TD>
367 <!-- <TD>&nbsp; &nbsp; &nbsp; <A HREF="source-build.html">from source</A></TD>-->
368 <TD>&nbsp; &nbsp; &nbsp; <A HREF="source-build.html">ソースからの構築方法</A></TD>
369 <!-- <TD>&nbsp; &nbsp; &nbsp; <A HREF="uninstall.html">Uninstalling</A></TD> -->
370 <TD>&nbsp; &nbsp; &nbsp; <A HREF="uninstall.html">削除方法</A></TD>
371 </TR>
372 </TABLE>
373 <P>
374 <!--
375 <A HREF="running.html">Running fontforge</A>-->
376 <A HREF="running.html">FontForge の起動方法</A>
377 <H3>
378 <!--<A NAME="intro">Introductory</A> concepts: Fonts, Splines, Lines, Points
379 and Paths and the em-unit -->
380 <A NAME="intro">初歩的な</A> 概念: フォント、スプライン、線、点、パスと em ユニット
381 </H3>
382 <P>
383 <!--
384 Most simply a font is a collection of glyphs. But computer fonts must contain
385 more than this, at the least they must also contain information on how to
386 map an input string of bytes into an output display of visual glyphs. This
387 mapping is called an encoding. Many fonts will also contain rules for how
388 adjacent glyphs should be arranged. For instance, in fonts for the latin
389 alphabet, there is often a rule saying that if "f" and "i" are adjacent then
390 a special glyph, a ligature of "f" and "i" should be used instead. Fonts
391 for latin letters generally do not require such rules (but can be enhanced
392 by them), fonts for other scripts like arabic require them. -->
393 単純化すると、フォントとはグリフを集めたものです。しかし、コンピュータフォントにはそれ以外の情報が必要です。最低でも、入力されたバイト列を目に見えるグリフ表示の出力に対応づけるための情報が必要です。この対応情報をエンコーディングと呼びます。多くのフォントには、隣接するグリフがどのように配置するかのルールも含まれています。例えば、ラテンアルファベットのフォントでは、“f”と“i”が隣接した時には、それらの代わりに特別なグリフである“f”と“i”の合字を出力するように指示するルールがしばしば含まれています。ラテンも時のフォントはそのようなルールを一般には必要としません (しかしそれらを含むように拡張することはできます) が、その他の用字系、例えばアラビア文字ではそれらは欠かせない物です。
394 <P>
395 <!--
396 What's the difference between a character and a glyph? -->
397 文字とグリフはどう違うのか?
398 <P>
399 <!--
400 A character is a concept and a glyph is a reification of that concept. The
401 letter "A" is a character, while<IMG src="../../_images/As.png" WIDTH="220" HEIGHT="33">
402 are all glyphs that represent an "A". In latin fonts there is often a single
403 glyph for every character and a single character for every glyph, but not
404 always - - in renaissance printing there were two glyphs for a lower-case
405 s, <IMG src="../../_images/short-long-s.png" WIDTH="17" HEIGHT="12">the short and the long
406 s. A ligature is an example of a glyph that represents two (or more) characters.
407 In arabic most of the letters (characters) have at least four different glyphs,
408 the appropriate glyph being determined by the letters around it. Here are
409 four forms of the arabic character "seen"
410 <IMG src="../../_images/arabic-seen.png" WIDTH="108" HEIGHT="17" ALIGN="Middle">. -->
411 文字というのは抽象的な概念であり、グリフはその概念を実体化した物です。“A”という字は 1 個の文字であり、その一方、<IMG src="../../_images/As.png" WIDTH="220" HEIGHT="33"> はすべてが、“A”を表現するグリフの一例です。ラテン文字のフォントでは、各文字ごとに 1 個のグリフが割り当てられていて、各グリフは 1 個の文字を表していますが、絶対にそうだとは限りません——ルネッサンス期の印刷では、小文字の s に短い s と 長い s の 2 つのグリフ <IMG src="../../_images/short-long-s.png" WIDTH="17" HEIGHT="12"> がありました。2 個 (以上) の文字を表現する 1 個のグリフの例としては、合字が挙げられます。アラビア文字では、ほとんどの文字は少なくとも 4 つの異なるグリフをおり、適切なグリフはその前後にある文字により決まります。アラビア文字の「シーン」という文字には 4 つの異なる形 <IMG src="../../_images/arabic-seen.png" WIDTH="108" HEIGHT="17" ALIGN="Middle"> があります。
412 <P>
413 <!--
414 What is an outline font? What is a bitmap font? -->
415 アウトラインフォントとは何か? ビットマップフォントとは何か?
416 <P>
417 <!--
418 Each glyph in a font has a shape and there are various ways of describing
419 that shape on a computer. Postscript and truetype fonts generally describe
420 the outline of the shape and then color in the interior of that outline,
421 this coloring process is called rasterizing. On the other hand a bitmap font
422 describes each glyph by drawing a picture of that character on a rectangular
423 grid of pixels. There is a third type, a stroked font, where each stem of
424 the glyph is represented by one line down the center of the stem, and the
425 line is later drawn with a certain width. Most of the time we will not deal
426 with stroked fonts directly (the <A HREF="elementmenu.html#Expand">Expand
427 Stroke</A> command can be used to turn them into outlines), but if you wish
428 to edit stroked fonts, see the section on
429 <A HREF="multilayer.html">multi-layered editing</A>. -->
430 フォント内の各グリフは 1 個の図形ですが、計算機上での図形の表現にはいろいろな方法があります。PostScript および TrueType 形式のフォントでは一般に、図形のアウトラインを描画してから、そのアウトラインの内部を塗りつぶします。この塗りつぶし処理のことを ラスタ化 (ラスタライズ) と言います。それに対して、ビットマップフォントはピクセル (画素) が長方形に並んだグリッドを塗りつぶして各グリフを表現しています。ストロークフォントという第 3 のタイプもあり、グリフの各ステム (画線) をその中心を通る線によって表現し、後でその線を所定の幅でなぞり描きします。ほとんどの場合、ストロークフォントを直接扱うことはしません (<A HREF="elementmenu.html#Expand"><CODE>輪郭を太らせる(<U>E</U>)...</CODE></A> コマンドを使うと、ストロークをアウトラインに変換することができます) が、ストロークフォントを編集したい場合には<A HREF="multilayer.html">複数レイヤ編集</A>のセクションを参照してください。
431 <TABLE BORDER CELLPADDING="2">
432 <TR VALIGN=Top>
433 <TD><P ALIGN=Center>
434 <I><IMG WIDTH="117" HEIGHT="201" src="../../_images/outlinechar.png"></I><BR>
435 <!-- A glyph's outline</TD> -->
436 グリフのアウトライン</TD>
437 <TD><P ALIGN=Center>
438 <IMG src="../../_images/bitmapchar.png" WIDTH="117" HEIGHT="201"><BR>
439 <!-- A glyph's bitmap</TD> -->
440 グリフのビットマップ</TD>
441 <TD><P ALIGN=Center>
442 <IMG src="../../_images/strokechar.png" WIDTH="208" HEIGHT="198"><BR>
443 <!-- A stroked glyph<BR> -->
444 ストロークで表したグリフ<BR>
445 <!-- (showing the equiv. outline in grey)</TD> -->
446 (灰色の線は等価なアウトライン)</TD>
447 </TR>
448 </TABLE>
449 <P>
450 <!--
451 An outline is composed of a set of contours or paths. In the picture on the
452 above left the letter A is described by three different paths. The main one
453 is on the outside and the two smaller ones are internal. Each of these paths
454 is composed of a series of splines and line segments. FontForge can handle
455 cubic and quadratic splines. PostScript fonts use cubic splines, TrueType
456 fonts use quadratic. -->
457 1 本のアウトラインは、1 組の輪郭線 (パス) から構築されています。左上の図では文字 A が 3 本に分かれたパスによって記述されています。主要な 1 本が外側にあり、その内側に小さな 2 本のパスを含んでいます。これらの各パスはスプラインと線分を連ねて構築されています。FontForge は 3 次および 2 次のスプラインを取り扱うことができます。PostScript フォントは 3 次スプラインを、 TrueType フォントは 2 次スプラインを使用します。
458 <P>
459 <!--
460 Each cubic <A NAME="spline">spline</A> is defined by four points, two of
461 which mark the end points of the spline and two more to describe the slope
462 of the spline at those end points. Here are <A HREF="bezier.html">two cubic
463 splines</A> with all their points shown: -->
464 各々の 3 次<A NAME="spline">スプライン</A>は、4 個の点によって定義され、そのうちの 2 個はスプラインの端点を示し、残りの 2 個はその端点におけるスプラインの傾きを示します。以下の例は、<A HREF="bezier.html">2 本の 3 次スプライン</A>とそのすべての点を表示したものです:
465 <P>
466 <IMG src="../../_images/splines.gif" WIDTH="172" HEIGHT="179" ALIGN="Left">
467 <P>
468 <!--
469 The points which describe the slope are called control points. They are
470 represented here (and in fontforge) by little colored x's. Moving a control
471 point will change the shape of the spline, but it will not alter where the
472 spline begins or ends. -->
473 傾きを指定するための点は制御点 (control points) と呼ばれます。
474 それらはこの図では (FontForge でも同様に) 色のついた小さな×印で表されます。
475 制御点を動かすと、スプラインの形は変わりますが、スプラインの始まりと終わりの位置は変わりません。
476 <P>
477 <!--
478 <IMG src="../../_images/pnts.gif" WIDTH="169" HEIGHT="165" ALIGN="Right">A series of splines
479 and lines are joined together to make a path. There are several possible
480 ways to make these joins as is shown in the example to the right. In each
481 case we have three points in approximately the same relative positions. The
482 three points are joined by splines or lines, but the type of joins alters
483 the appearance of the connections. -->
484 <IMG src="../../_images/pnts.gif" WIDTH="169" HEIGHT="165" ALIGN="Right">
485 スプラインと線分の列は、1 個のパスを構成するように順番に結合されます。
486 これらの結合を行うには、図に表したようないくつかの可能な方法があります。
487 これらのどの例でも、3 個の点の相対位置はほぼ同じになっています。
488 3 個の点はスプラインまたは直線によって結合していますが、そのタイプごとに結合部の形は変わります。
489 <P>
490 <!--
491 In the first case there are no control points and the result is two straight
492 lines, in the second case there is a line and a curved spline which are tangent
493 at their point of intersection, in the third case there are two splines which
494 are again tangent at their point of intersection. The point of intersection
495 in the first case is called a corner point, and the incoming and outgoing
496 splines or lines may be in any orientation with respect to each other. This
497 is represented in fontforge by a square box. In the second case the point
498 of intersection is called a tangent point, it is represented by a triangle.
499 The third case is a curved point and is represented by a circle. -->
500 最初の例では制御点は存在せず、その結果は 2 本の直線となります。2 番目の例では 1 本の直線と、そこに接する点において等しい傾きを持つ曲線片が描かれています。3 番目の例では、2 本のスプラインが交点において上と同様に傾きを等しくしています。最初の例の合流点は角の点 (corner point) と呼ばれ、そこから出るスプラインとそこに入るスプラインの角度は任意の方向を取ることができます。これは FontForge では四角い箱で表されます。2 番目の例では合流点は接点 (tangent point) と呼ばれ、1 個の三角形で表されます。3 番目の例では合流点は円形で表されます。
501 <P>
502 <!--
503 <IMG src="../../_images/quadraticspline.gif" WIDTH="127" HEIGHT="92" ALIGN="Left">FontForge
504 can also edit <A NAME="quadratic">quadratic</A> splines (the splines used
505 in truetype fonts), here there is only one control point and it controls
506 the slopes at both end-points. Because of this quadratic splines cannot bend
507 in as many ways as cubic splines (the first spline above left would need
508 at least two quadratic splines to draw), and you will often need more splines
509 to achieve the same curve. You can control whether a font contains cubic
510 or quadratic splines with the
511 <A HREF="fontinfo.html#PS-General">Element-&gt;Font Info </A>command.
512 -->
513 FontForge は (TrueType フォントで使用される) <A NAME="quadratic">2 次</A>のスプラインを編集することもできます。それには制御点は 1 個しかなく、両側の端点における傾きを制御します。2 次スプラインは 3 次スプラインほど自由に折り曲げることができないために (左上のスプラインを 2 次スプラインで表すには 2 本以上のスプラインに分ける必要があります) 同じ曲線を得るために、より多くのスプラインを必要とすることになるでしょう。フォントが 3 次スプラインを含むか、2 次スプラインを含むかは <A HREF="fontinfo.html#PS-General"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE></A> コマンドで制御することができます。
514 <IMG src="../../_images/quadraticspline.gif" WIDTH="127" HEIGHT="92" ALIGN="Left">
515 <P>
516 <!--
517 A path is closed when it comes back and joins its start. All paths in an
518 outline font should be closed. Once a path is closed in may be said to have
519 a direction, essentially this may be thought of as "Was the path created
520 in a clockwise or a counter-clockwise fashion?" (this is actually a little
521 simplistic, if a path intersects itself, as in a figure 8, then the direction
522 cannot be described as either clockwise or counter-clockwise, but most paths
523 do not self-intersect (and paths in a font SHOULD not self-intersect) and
524 we will simplify our life by pretending that we can call paths clockwise
525 or counter). -->
526 パスは、最初の点に戻って来て結合した時に閉じられます。アウトラインフォントに含まれるすべてのパスは閉じていなくてはなりません。パスが閉じられたとき、それは向きを持っていると呼ぶことができます。それは本質的には「パスは時計回りに作られたか、それとも反時計回りに作られたか?」と考えることができます (この見方は実際には少し単純すぎます。もしパスが自己交差していて 8 の字形になっていたならば、その方向は時計回りとも反時計回りとも言い切れません。しかし殆どのパスは自己交差しません (フォント内のパスは自己交差するのは望ましくありません) から、私達はパスを時計回りまたは反時計回りと呼ぶことによって人生を簡単にすることにしましょう)。
527 <P>
528 <!--
529 When time comes to draw our outline glyph we want to make dark everything
530 in the interior of the outline. But let's look at the outline of our A above.
531 We have two paths inside the main outline path, and we want the interior
532 of those two paths to be white rather than dark. How do we make this distinction?
533 We do it by the direction of the paths. Consider any point in the glyph.
534 If we draw an imaginary line from that point out to infinity (in any direction)
535 and count the number of times we cross a path, each time we cross a clockwise
536 path we add one to our count, each time we cross a counter clockwise path
537 we subtract one. If the result of our count is non-zero then we color the
538 point dark, otherwise we leave it white. So to make the A above work we make
539 the outer path be clockwise and the two inner ones be counter-clockwise (Things
540 could be done the other way around, but the convention is that the outer
541 path should be clockwise). -->
542 アウトライングリフを描画する時には、私たちはアウトラインの内側にある物すべてを黒く塗りたいわけです。でも上の A の字を見てください。主要なアウトラインパスの内側に 2 本のパスがあり、それら 2 本のパスの内側は黒ではなく白くしたいのです。どうやればこれらを区別することができるのでしょうか? パスの方向によって区別を行うのです。グリフ内の任意の点を考えましょう。その点から無限遠まで (任意の方向へ向けて) 想像上の直線を引き、その線がパスに交差する回数を数えるならば、時計回りのパスに交差するごとに回数に 1 を加え、反時計回りのパスに交差するごとに 1 を引きます。結果として得られた回数が 0 でなければその点を黒く塗り、そうでなければ白いままにしておきます。ですから、上の A の字がうまく動くようにするためには外側のパスを時計回りに、内側のパスを反時計回りに設定します (逆周りにしてもうまくいきますが、慣習として、外側のパスを時計回りにします)。
543 <P>
544 <!--
545 All of these points (both the end points and the control points) are described
546 mathematically. Each point is positioned on a cartesian coordinate system
547 which has its origin on the glyph's base line (the line on which letters
548 without descenders rest). Most font formats expect coordinates to be integers
549 between -32768 and 32767, FontForge uses real numbers internally but (usually)
550 rounds to the nearest integer when generating a font file. -->
551 これらの点はすべて (端点と制御点のどちらも) 数学的に表現されています。各点は、グリフのベースライン (ディセンダーを持たない文字が置かれている線) を原点とするデカルト座標上に置かれています。ほとんどのフォントフォーマットは、座標値が -32768 から 32767 の間の整数値であることを仮定しています。FontForge は内部的には実数を使用していますが、フォントファイルの生成時には (通常は) 最も近い整数への丸めを行います。
552 <P>
553 <!--
554 When displaying a font we use the word "<A NAME="em-unit">em</A>" to represent
555 the size of the font. If a font is displayed at 12points then 1em will be
556 12points. If the font is displayed at 18points then an em will be 18points.
557 (traditionally a 12 point font is one where the metal slugs are 12 points
558 tall - - or where the baseline to baseline spacing of unleaded text is 12
559 points, so an em was the size of the metal.). -->
560 私たちはフォントを表示するときには、フォントのサイズを表現するために“<A NAME="em-unit">em</A>”という単語を使います。あるフォントが 12 ポイントで表示されている場合、その時 1 em は 12 ポイントとなります。そのフォントが 18 ポイントで表示されると、em は 18 ポイントとなります。(伝統的には、12 ポイントのフォントは、字面の上下の高さが 12 ポイントある金属の塊を指していました——または、行間を空けずに組んだテキストのベースラインとベースラインの間隔が 12 ポイントのことを指していました。ですから、em は金物のサイズだったのです)。
561 <P>
562 <!--
563 When designing an outline font, you can no longer think in terms of points
564 - - these fonts are scalable and can be any point-size. You must think in
565 terms of the em and fractions of the em. When you create a font you choose
566 how many internal units (called "em-units") to use to represent 1 em. In
567 most PostScript fonts there are 1000 units to the em, TrueType fonts often
568 have either 1024 or 2048 units to the em (you can choose any number you like
569 (well, as long as it is less than 32767), the numbers above are conventions
570 not requirements). -->
571 アウトラインフォントをデザインするときには、もはやポイント単位で物を考えるわけにはいきません——それらのフォントはスケーラブルであり、どんなポイントサイズにも拡大・縮小できるのです。em と em の分数で考える必要があります。フォントを作成したとき、1 em が内部的なサイズの単位 (これを“em ユニット”といいます) で何ユニットにあたるかを設定しなければなりません。ほとんどの PostScript フォントでは、em を 1000 ユニットとしており、TrueType フォントでは em を 1024 または 2048 ユニットのどちらかとするのが割合よく見られます (いくつでも好きな数値 (ただし、32767 より小さくなくてはなりません) を選択することができます。上記の数値は習慣的な物であり、必須事項ではありません)。
572 <P>
573 <!--
574 Suppose you have a dash in a PostScript font, and that dash is 500 units
575 long, and the font has 1000 units to the em. Suppose a someone displays that
576 dash at 12 points. Then that dash will be drawn with a length of 500/1000
577 * 12 = 6 points. On a 72 dot per inch screen where a pixel is almost exactly
578 one point, the dash will be 6 pixels long. -->
579 ある PostScript フォントでダッシュ(‐) を作り、その幅を 500 ユニットに設定したときにそのフォントの em が 1000 ユニットだったとしましょう。誰かがそのダッシュを 12 ポイントで表示したときに、そのダッシュは 500/100 * 12 = 6 ポイントの長さをで描画されます。72 dpi, つまり 1 インチあたり 72 ドットの解像度をもつ画面では、1 ピクセルがほとんど正確に 1 ポイントとなるので、そのダッシュは 6 ピクセルの長さになるでしょう。
580 <P>
581 <!--
582 <IMG src="../../_images/sidebearings.png" WIDTH="111" HEIGHT="191" ALIGN="Right">Every
583 glyph has its own co&ouml;rdinate system. The font's baseline (the line upon
584 which most latin glyphs will rest) is 0 in the vertical direction. The horizontal
585 origin is where the glyph will start being drawn (what is "drawn" will usually
586 be empty space for a short while -- as there is usually some space between
587 the origin and the edge of the glyph). This horizontal distance between the
588 origin and the leftmost edge of the glyph is called the left side bearing
589 (it may be negative, positive or zero). All glyphs have a width (sometimes
590 called an advance width), this is the distance from the origin of the current
591 glyph to the origin of the next. The distance between the right edge of the
592 glyph and the width is called the right side bearing. -->
593 <IMG src="../../_images/sidebearings.png" WIDTH="111" HEIGHT="191" ALIGN="Right">あらゆるグリフはそれ自身の座標系をもっています。フォントのベースライン (ほとんどのラテン文字の下端となる線) が垂直座標が 0 となる位置です。水平方向の原点は、グリフの描画が始まる点です (まず始めは何も「描画」されないのが普通です——なぜかと言うと、通常は原点とグリフの端との間にある程度の空白があるからです)。原点からグリフの左端へ向かうこの水平距離のことを左サイドベアリングと呼びます (これは 0 より小さい場合も、大きい場合も、ちょうど 0 の場合もあります)。すべてのグリフは幅を持っています (時には送り幅 (advance width) と呼ぶこともあります)。これは、現在のグリフの原点から次のグリフの原点までの移動量です。グリフの右端と横幅の間の距離を右サイドベアリングと呼びます。
594 <P>
595 <!--
596 CJK text (Chinese, Japanese or Korean) can be written either vertically or
597 horizontally, and so CJK fonts usually have a vertical advance width as well
598 as the more common horizontal advance. -->
599 CJK (中国・日本・韓国) のテキストは縦にも横にも書くことができますので、CJK のフォントはほとんど常に備えている横書き用の送り幅に加えて、縦書き用の送り幅を含んでいるのが普通です。
600 <P>
601 <!--
602 A glyph like "g" or "y" extends below the baseline, this is called a descender,
603 while a glyph like "k" or "l" extends above the x-height, this is called
604 an ascender. Most latin (and greek and cyrillic) fonts have certain standard
605 heights: the height of a lower case letter (without an ascender) is called
606 the x-height, the height of a capital letter is called the cap-height, the
607 height of the ascenders is called the ascender height (some, but not all,
608 fonts have the ascenders and capitals at the same approximate height). Usually
609 these will not be exactly the same for all glyphs, the letter "O" is usually
610 slightly taller than the letter "I", but they both are within the range of
611 the cap height for the font. -->
612 “g”や“y”のような文字のグリフにはベースラインよりも下に延びる部分があり、これをディセンダと呼びます。同様に、“k”や“l”のような文字のグリフには x ハイトより上に延びる部分があり、これはアセンダと呼びます。ほとんどのラテン (並びにギリシャ及びキリル) アルファベットのフォントはいくつかの標準の高さを持っています: (アセンダを持たない) 小文字の高さは x ハイトと呼ばれ、大文字の高さはキャップハイトと呼ばれます。アセンダの高さはアセンダハイトと呼ばれます (すべてではありませんが、多くのフォントはアセンダと大文字がほぼ同じ高さに並びます)。通常はこれらはすべてのグリフに対して正確に同じ値ではなく、文字“O”は通例文字“I”よりもわずかに高くなっていますが、どちらの高さも、そのフォントのキャップハイトの範囲内に収まっています。
613 <P>
614 <!--
615 The font itself has an ascent and descent associated with it. In the old
616 days of metal type nothing could ascend above or descend below these values,
617 nowadays accents and ascenders may reach above the font-wide ascent and
618 descenders below the descent, but the concept is still a convenient one to
619 retain. It is true that in almost all cases the glyphs will not ascend above
620 or descend below the font-wide ascent and descent. The sum of the ascent
621 and descent is the size of the font. The point size of a piece of metal type
622 was determined by this value (essentially the height of the metal block holding
623 the glyph). In a postscript font the local coordinate system is independent
624 of the final size at which the font will be drawn. By convention in postscript
625 the sum of the ascent and descent is 1000 units, while in TrueType it is
626 usually a power of two, often 2048. -->
627 フォントそのものにも、それらに付随する高さ(アセント)と深さ(ディセント)が定められています。昔の金属活字では、あらゆる線はそれらの値より上や下にはみ出すことはできませんでした。現在ではアクセントやアセンダをフォントの高さより上に上げたり、ディセンダをフォントの深さよりも下に下げたりすることができますが、今でもこの概念を残しておくと便利です。ほとんどすべての場合、グリフはフォントの高さより上や深さより下にはみ出すことがないのは事実です。高さと深さの合計がフォントのサイズです。金属活字の一本のポイントサイズは、この値によって決まります (必然的に、字面を支えている金属のブロックの高さとなります)。PostScript フォントでは、フォント内部のローカル座標系は、フォントが描画される最終的なサイズに関係がありません。PostScript では慣習的に高さと深さの和を 1000 ユニットにすることになっています。TrueType では通常は 2 の冪乗の値 (多くは 2048) を使用します。
628 <H3>
629 <!--<A NAME="PT">TrueType</A> vs. PostScript vs OpenType vs SVG fonts -->
630 <A NAME="PT">TrueType</A> 対 PostScript 対 OpenType フォント 対 SVG フォント
631 </H3>
632 <P>
633 <!--
634 FontForge can produce many font types. What's the difference? -->
635 FontForge はさまざまなタイプのフォントを出力することができます。それらはどう違うのでしょうか?
636 <P>
637 <!--
638 PostScript is based on a <A HREF="bezier.html">cubic spline</A> technology,
639 while TrueType is based on a <A HREF="bezier.html">quadratic</A> technology.
640 Cubic splines are generally easier to edit (more shapes are possible with
641 them). Any quadratic spline can be converted to a cubic spline with essentially
642 no loss. A cubic spline can be converted to a quadratic with arbitrary precision,
643 but there will be a slight loss of accuracy in most cases. This means it
644 is easy to convert TrueType outlines to PostScript outlines, harder to convert
645 PostScript to TrueType. -->
646 PostScript は <A HREF="bezier.html">3 次スプライン</A> 技術に基づいていますが、TrueType は <A HREF="bezier.html">2 次スプライン</A> 技術に基づいています。一般に、編集が行いやすいのは 3 次スプラインのほうです (より多様な形を表現することができる)。任意の 2 次スプラインは本質的に損失なしに 3 次スプラインに変換することができます。3 次スプラインは任意の精度で変換することができますが、ほとんどの場合はわずかな精度の低下があります。これは、TrueType のアウトラインを PostScript アウトラインに変換することは容易であるが、PostScript から TrueType に変換するのはより困難であることを意味します。
647 <P>
648 <!--
649 Within FontForge a font may contain either cubic or quadratic splines. These
650 are converted to the appropriate format when a font is generated. -->
651 FontForge の内部では、フォントは 3 次または 2 次のスプラインを含むことができます。それらは、TrueType フォントが生成される時に適切なフォーマットに変換されます。
652 <P>
653 <!--
654 The other major difference between the two is how they solve the problem
655 of drawing nice images at small pointsizes. PostScript calls this "Hinting",
656 while TrueType calls it "Instructing" a font. -->
657 これら二つの違いで主なものはほかに、小さなポイントサイズの時に美しい字形を得るという問題の解決方法があります。
658 PostScript ではこれを「ヒントづけ」と呼び、TrueType ではフォントへの「命令」と呼びます。
659 <H4>
660 <!--What's OpenType? -->
661 OpenType とは何か?
662 </H4>
663 <P>
664 <!--
665 Unfortunately the word "OpenType" has come to have several meanings. -->
666 残念なことに“OpenType”という単語には 2 つの意味があります。
667 <P>
668 <!--
669 The first describes the spline format of the font. In this sense Open Type
670 is just a postscript font put into a truetype file format -- From the outside
671 it looks like a truetype font except that the outline descriptions are postscript
672 Type2 font descriptions rather than TrueType. -->
673 第 1 の意味としては、フォントのスプラインフォーマットのことです。この意味では、OpenType は単に PostScript フォントを TrueType フォントフォーマットに埋め込んだものにすぎません——外から見ると、アウトライン記述が TrueType で定められた方式でなく PostScript Type2 フォントを用いていることを除いては、TrueType フォントと同様に見えます。
674 <P>
675 <!--
676 In a second sense of the word OpenType refers to a set of tables containing
677 advanced typographic information. These tables may be added to either fonts
678 specified with quadratic splines (truetype) or fonts with cubic splines. -->
679 第 2 の意味としては、OpenType という単語は高度な組版に関する情報を含む一連のテーブルのことを指します。これらのテーブルは、2 次スプライン (TrueType) で記述されたフォントにも、3 次スプラインで記述されたフォントにも追加することができます。
680 <P>
681 <!--
682 Finally MS Windows uses an OpenType icon for a font if that font contains
683 a 'DSIG' (Digital Signature) table. -->
684 最後の意味として、MS Windows が OpenType アイコンを使って表示するのは &lsquo;DSIG&rsquo; (デジタル署名) テーブルを含むフォントの場合です。
685 <P>
686 <!--
687 To make things even more confusing the OpenType specification includes the
688 old TrueType specification, so technically any TrueType font can be called
689 an OpenType font. -->
690 話を更にややこしくさせることには、OpenType の仕様には昔の TrueType の仕様が含まれているので、技術的には任意の TrueType フォントを OpenType フォントと呼ぶことができるのです。
691 <H4>
692 <!--What's SVG? -->
693 SVG とは何か?
694 </H4>
695 <P>
696 <!--
697 SVG (Scalable Vector Graphics) provides a relatively new font format, written
698 in an xml dialect. SVG fonts can be either cubic or quadratic (or can use
699 both, but FontForge is limited and will force a font to be either all cubic
700 or all quadratic). SVG allows for two different types of fonts, one corresponds
701 roughly to PostScript Type1 fonts, and the other, roughly to PostScript Type3
702 fonts (except that images are not allowed in svg fonts - - or I haven't figured
703 them out if they are). -->
704 SVG (Scalable Vector Graphics) では、XML の一方言で描かれた比較的新しいフォントフォーマットを提供しています。SVG フォントでは 3 次か 2 次の曲線を使用することができます (または両方を使用することもできますが、FontForge の機能制限で、フォント全体を 3 次か 2 次のどちらかに揃える必要があります)。SVG では 2 種類の異なる型のフォントが可能です。片方はほぼ PostScript Type1 フォントと同じで、もう片方は、ほぼ PostScript Type3 フォントと同じです (SVG フォントでは画像が使用できない点が異なります——使用できるとしても、私にはそうは読み取れませんでした)。
705 <H4>
706 <!--What are Type3 fonts? -->
707 Type 3 フォントとは何か?
708 </H4>
709 <P>
710 <!--
711 Back in the early days of PostScript, the Type1 format was proprietary, only
712 Adobe could make Type1 fonts, but anyone could make Type3 fonts. Type3 fonts
713 were unhinted, but could include any postscript command and so could produce
714 a wider range of pictures (multi-colored glyphs, stroked glyphs, glyphs based
715 on scaled images, etc.). Most of the time these extensions are unnecessary,
716 and the disadvantage of being unhinted is onerous. If you compile FontForge
717 with multilayer set you will be able to create type3 fonts. -->
718 PostScript の初期の頃の話ですが、Type1 フォーマットは商用のものであり、Adobe だけが Type1 フォントを作成することができましたが、Type3 フォントは誰でも作成できました。Type3 フォントにはヒント機能がありませんでしたが、任意の PostScript コマンドを含めることができたので、より広い範囲の図形 (複数色のグリフ、ストローク表示のグリフ、画像の拡大縮小によるグリフなど) を生成することができました。ほとんどの場合はこれらの拡張は不要で、ヒントが無いという欠点は煩わしいものでした。FontForge を複数レイヤー機能つきでコンパイルした場合、Type3 フォントを作成することができます。
719 <H4>
720 <!--What are Type1 fonts? -->
721 Type 1 フォントとは何か?
722 </H4>
723 <P>
724 <!--
725 These are the standard PostScript fonts. -->
726 それらは標準の PostScript フォントです。
727 <H4>
728 <!--What are Type2 fonts? -->
729 Type 2 フォントとは何か?
730 </H4>
731 <P>
732 <!--
733 These use a slightly different internal format to express the same information
734 as type1. -->
735 それらは、Type1 と同じ情報を表現するのに、僅かに異なる内部フォーマットを使用します。
736 <H3>
737 <!--<A NAME="Hints">Hints</A>-->
738 <A NAME="Hints">ヒント</A>
739 </H3>
740 <P>
741 <!--
742 At small pixel sizes, the process of drawing the interior of an outline font
743 is quite difficult to do well. Postscript and TrueType have different approaches
744 to the problem of providing extra information to the rasterizer about how
745 to draw small fonts. -->
746 小さなピクセルサイズでは、アウトラインフォントの内部を描画するプロセスをうまく処理するのは非常に困難です。PostScript と TrueType では、小さなフォントをどのように描画するかに関する情報をラスタライザに与える問題に対して異なるアプローチをとっています。
747 <TABLE BORDER CELLPADDING="2" ALIGN="Center">
748 <CAPTION>
749 <!-- <SMALL>Rasterization improvements<BR>
750 from hinting TrueType.<BR>
751 18pt font rasterized by Windows<BR>
752 (scaled by a factor of 2)</SMALL> -->
753 <SMALL>TrueTypeへのヒント追加による<BR>
754 ラスタライズ処理の改良。<BR>
755 Windows でラスタライズした 18 ポイントの<BR>
756 フォント (拡大率 2 倍)
757 </CAPTION>
758 <TR>
759 <TD><P ALIGN=Center>
760 &nbsp;&nbsp;<IMG src="../../_images/HI.nohints.png" WIDTH="44" HEIGHT="28">&nbsp;&nbsp;<BR>
761 <!-- no hints</TD> -->
762 ヒントなし</TD>
763 <TD><P ALIGN=Center>
764 &nbsp;&nbsp;<IMG src="../../_images/HI.hints.png" WIDTH="44" HEIGHT="28">&nbsp;&nbsp;<BR>
765 <!-- hints</TD> -->
766 ヒントあり</TD>
767 </TR>
768 </TABLE>
769 <DL>
770 <DT>
771 <H4>
772 Postscript
773 </H4>
774 <DD>
775 <!--
776 Adobe incorporated several different ways of providing hints for the rasterizer
777 about how things should be treated. The most obvious of these are the horizontal
778 and vertical stem hints.Each glyph has its own set of hints to tell the
779 rasterizer where to find stems. FontForge can usually figure out a reasonable
780 set of stem hints (a process called
781 <A HREF="hintsmenu.html#AutoHint">autohinting</A>), but some glyphs are too
782 complex for it and it can make bad choices. It also provides a mode for you
783 to override its choices. -->
784 Adobe ははラスタライザに、処理をどう行うかに関するヒントを与えるためのいくつかの異なる方法を取り込みました。それらのうち最も分かりやすいのは水平と垂直のステムヒントです。各グリフは、どこにステムがあるかをラスタライザに教えるため、そのグリフ独自のヒントの組を持っています。通常、FontForge は妥当なステムヒントの組を検出します (<A HREF="hintsmenu.html#AutoHint">自動ヒントづけ</A>と呼ばれる処理) が、一部のグリフは複雑すぎて、良くない選択をすることがあります。この選択を上書きできるようなモードも提供されています。
785 <P>
786 <!-- Adobe also has a mechanism for handling dished serifs called flex hinting.
787 This means a curve that is only slightly deformed from the horizontal (or
788 vertical) will display as a line at small point sizes and as a curve at larger
789 ones. FontForge will use these when it seems appropriate. -->
790 Adobe の方式には、くぼんだセリフを扱う flex ヒントというものもあります。これは、水平線 (または垂直線) から僅かにずれているだけの曲線を、小さなポイントサイズでは直線として表示し、大きなサイズでは曲線として表示するというものです。FontForge は、適切だと判断した時にこれを使用します。
791 <P>
792 <!-- The original version of hints did not allow them to overlap, this meant that
793 most serifs could not be described, Adobe then developed a mechanism called
794 hint substitution which allows for different sets of non-overlapping hints
795 to exist in different parts of the glyph. There are still shapes which cannot
796 be fully hinted, but hint substitution is an improvement. The
797 Hints-&gt;AutoHint command will figure out what stems overlap and where to
798 change the current set of hints. The Hints-&gt;Hint Substitution Pts command
799 will also figure where hint changes should occur, and the Hint Mask pane
800 of the Point Info dialog gives the user direct control over this. -->
801 ヒントの最初のバージョンでは、ヒント同士が重なり合うことはできませんでした。つまり、ほとんどのセリフを記述することができなかったということです。Adobe はその後、グリフの異なる部分ごとに重なり合わないヒントのセットを使用可能にする、ヒント置換というメカニズムを開発しました。これでも完全にヒントづけられない図形は存在しますが、ヒント置換は 1 つの改良でした。<CODE>ヒント(<U>I</U>)</CODE>→<CODE>自動ヒント(<U>H</U>)</CODE> コマンドは、ステムの重なり合いを検出し、現在のヒントセットをどう変えるべきかを表示します。<CODE>ヒント(<U>I</U>)</CODE>→<CODE>ヒントが置換する点(<U>S</U>)</CODE> コマンドも、どこでヒントの変更が起こるかを表示し、<CODE>[点の情報]</CODE> ダイアログの <CODE>[ヒントマスク]</CODE> タブでユーザがそれを直接制御できるようにします。
802 <P>
803 <!-- Most recently Adobe has provide a means to control the counters, the spaces
804 between stems, in a glyph. The original Type1 description provided support
805 for the horizontal counters in "m" and the vertical counters in "E" but more
806 complex shapes could not be dealt with. Counter Hints (in a type1 font) may
807 only be used with non-latin (non-greek, non-cyrillic) glyph sets, in type2
808 (OpenType) things are a bit more complicated,. FontForge will generate counter
809 hints when appropriate. -->
810 だいぶ最近になって、Adobe はグリフ内のカウンタ (ステム間の空き) を制御する手段を提供しました。オリジナルの Type1 記法では、“m”の水平カウンタや“E”の垂直カウンタをサポートしていましたが、より複雑な形を取り扱うことはできませんでした。(Type1 フォントの) カウンタヒントは、非ラテン (ギリシャ・キリル) 文字のグリフセットでのみ使用することができます。Type2 (OpenType) フォントでは、事情はもう少し複雑です。FontForge は、適切だと判断した時にはカウンタヒントを生成します。
811 <P>
812 <!-- Adobe provides some font-wide hinting mechanisms. The two most obvious are
813 the BlueValues and StemSnap settings in the
814 <A HREF="fontinfo.html#Private">private dictionary</A>. BlueValues provides
815 a list of vertical zones in which interesting things happen (so in a latin
816 font this might include the ascender height, the cap-height, the x-height,
817 the baseline and the descender height. At small point sizes everything within
818 one of these zones will snap to the same height, while at larger point sizes
819 the heights will be slightly different (for instance an "o" and an "x" usually
820 have slightly different heights, but displaying that at a small point size
821 would be ugly). Similarly the StemSnap variables specify standard stem widths
822 for the font. FontForge will try to guess reasonable values for these. It
823 also allows you to override these guesses and
824 <A HREF="fontinfo.html#Private">specify your own values</A>. For a more
825 comprehensible description of the private dictionary and what it can do,
826 look at
827 <A HREF="http://partners.adobe.com/asn/developer/PDFS/TN/T1_SPEC.PDF">Adobe's
828 Type1 font specification</A>.<BR> -->
829 Adobe はフォント単位のヒントづけ機能をいくつか提供しています。いちばん分かりやすい 2 つは、<A HREF="fontinfo.html#Private">プライベート辞書</A>に含まれる BlueValues と StemSnap 設定です。BlueValues は、興味ある事柄が起こる高さの範囲のリスト (ラテン文字のフォントでは、これはアセンダハイト、キャップハイト、x ハイト、ベースラインおよびディセンダハイトが含んでいるはずです) を提供します。小さなポイントサイズでは、これらの範囲に入ったすべてのものが同じ高さに揃えられます。それに対して、より大きなポイントサイズでは、高さにはわずかな差がつけられます (例えば、“o”と“x”は、通常わずかに異なる高さを持っていますが、小さなポイントサイズでその違いを表示すると汚く見えます)。同様に、StemSnap 変数は、フォントの標準的ステム幅を指定します。FontForge は、これらの適切な値を推測します。<A HREF="fontinfo.html#Private">自分で値を設定</A>することもでき、その場合はこの推測よりも優先して用いられます。プライベート辞書とその機能に関するより包括的な説明については、<A HREF="http://partners.adobe.com/asn/developer/PDFS/TN/T1_SPEC.PDF">Adobe のType1 フォントの仕様書</A>を参照してください。<BR>
830 <!-- <A NAME="HintOrder">FontForge</A>'s
831 <A HREF="hintsmenu.html#AutoHint">AutoHint</A> command will work better if
832 the BlueValues have been set. So before running AutoHint go to
833 <A HREF="fontinfo.html#Private">Element-&gt; FontInfo-&gt; Private</A> to
834 set this array. After AutoHinting you should regenerate the StemSnaps (also
835 at Element-&gt; FontInfo-&gt; Private). -->
836 <A NAME="HintOrder">FontForge</A> の<A HREF="hintsmenu.html#AutoHint">自動ヒント</A>コマンドは、BlueValues が設定されているとより適切に動作します。ですから、自動ヒントづけを実行する前に、<A HREF="fontinfo.html#Private"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE>→<CODE>[PS Private辞書]</CODE></A>でこの配列に値を設定してください。
837 自動ヒントづけが終った後、StemSnap を再生成する必要があるでしょう (これも、<CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE>→<CODE>[PS Private辞書]</CODE>にあります)。
838 <DT>
839 <H4>
840 <!-- <A NAME="TrueType">True</A> Type -->
841 <A NAME="TrueType">TrueType</A>
842 </H4>
843 <DD>
844 <TABLE ALIGN=Right>
845 <TR>
846 <TD ALIGN=Center><IMG src="../../_images/GridFitM.png" WIDTH="246" HEIGHT="241"><BR>
847 <!-- Grid Fit M</TD> -->
848 M のグリッド合わせ</TD>
849 </TR>
850 </TABLE>
851 <P>
852 <!-- On the other hand, True Type says that figuring out what pixels to turn on
853 would be a lot simpler if only the points and the splines were in the right
854 place (ie. at pixel boundaries). And so True Type provides a set of instructions
855 that move points around until they are positioned appropriately for a given
856 size. -->
857 一方、TrueType では、どのピクセルが塗りつぶされるかを判定するのは、点とスプラインが正しい場所 (すなわちピクセル境界) だけに置かれたときにずっと単純になると言っています。
858 そのため、TrueType ではある与えられたサイズにおいて正しい位置になるまで点を移動するための命令のセットを用意しています。
859 <P>
860 <!-- FontForge's hinting of True Type (properly called "instructing") is very
861 primitive, and is based on the stem hints also used by PostScript. It uses
862 these hints to determine which points to move and where to move them. It
863 also supports the concept of diagonal stems and hints them so they will have
864 approximately the same width. It does a little extra work, trying to detect
865 serifs that are attached to vertical stems and providing hints for them as
866 well. It also uses the equivalent of the PostScript BlueValues to generate
867 cvt entries that force glyphs to have the same height at small pointsizes. -->
868 FontForge の TrueType ヒントづけ (厳密に言えば「命令づけ」) の機能は非常に原始的で、PostScript でも用いられているステムヒントに基づいています。これらのヒントは、どのポイントをどこに移動するか決定するのに使います。それは直角方向ステムの概念をサポートし、それらにヒントづけを行ってそれらのステムがほぼ同じ幅をとるようにします。それに加えいくつかの追加の作業として、垂直ステムに接合したセリフを検出し、それにも同様にヒントづけを行います。ヒントづけ機能には、PostScript の BlueValues の等価物を、小さなポイントサイズでグリフを同じ高さに強制的に揃える cvt エントリを生成するのに使います。
869 <P>
870 <!-- I am not happy with the instructions I generate for TrueType.-->
871 私は、TrueType 用に生成している命令の品質に満足していません。
872 <P>
873 <!-- When FontForge reads in a TrueType font it will store the instructions used,
874 and when it next generates that font it will use those instructions -- provided
875 no significant change has happened to a glyph. -->
876 FontForge が TrueType フォントを読み込むとき、使用されている命令を格納します。次にそのフォントを出力する時には、それらの命令を用います——ただしそのグリフに感知できる変更が行われていないときに限ります。
877 </DL>
878 <P>
879 <!--
880 Most of my <A HREF="hinting.html">hinting user interface</A> is designed
881 with PostScript fonts in mind. -->
882 私の作った<A HREF="hinting.html">ヒントづけのユーザインタフェース</A>は、PostScript フォントを念頭に置いて設計されています。
883 <H3>
884 <!--<A NAME="References">References</A>-->
885 <A NAME="References">参照</A>
886 </H3>
887 <P>
888 <!--
889 In addition to a set of outlines (splines) glyphs may be built out of references
890 to other glyphs. This is especially handy for the accented glyphs, "&agrave;"
891 can be made up of a reference to the "a" glyph and another reference to the
892 "`" glyph. This can result in significant space savings, and in ease of design
893 (if you change the "a" glyph after making a reference to it the "&agrave;"
894 glyph will automatically change to, whereas if you just copied the "a" you
895 would have to recopy it.-->
896 グリフは一組のアウトライン (スプライン) だけではなく、他のグリフへの参照によって組み立てることもできます。これによって特に、アクセントつきのグリフを手軽に作ることができます。例えば、“&agrave;”はグリフ“a”への参照と、別のグリフ“`”への参照から組み立てることができます。この結果として、大幅な容量の節約になり、デザイン作業が楽になります (グリフ“&agrave;”からグリフ“a”への参照を作成した後で“a”を変更した場合、その変更は自動的に反映されますが、“a”を単にコピーしただけだと、再コピーを行わなければなりません)。
897 <P>
898 <!--
899 FontForge has three commands for manipulating references, and one higher
900 level command for building accented glyphs. The
901 <CODE><A HREF="editmenu.html#Reference">Edit-&gt;Copy Reference</A></CODE>
902 command will put a reference to the current glyph into the clipboard, which
903 a subsequent
904 <CODE><A HREF="editmenu.html#Paste">Edit-&gt;Paste</A></CODE> command will
905 install as a reference. The
906 <CODE><A HREF="editmenu.html#Unlink">Edit-&gt;Unlink Reference</A>
907 </CODE>command will turn a reference in a glyph into it's component splines.
908 The <CODE><A HREF="elementmenu.html#Info">Element-&gt;Get Info</A>
909 </CODE>command (when applied to a reference) will bring up a dialog showing
910 you what glyph is referred to, and allowing you to bring up an editing window
911 on that glyph. Finally the
912 <CODE><A HREF="elementmenu.html#Accented">Element-&gt;Build-&gt;Accented
913 Glyphs</A></CODE> command will figure out what glyphs should be refered to
914 to build this composite glyph, and then will make those references and position
915 them appropriately. So if "&agrave;" were selected and you did a
916 <A HREF="elementmenu.html#Accented"><CODE>Element-&gt;Build-&gt;Accented
917 Glyphs</CODE> </A>command, FontForge would make a reference to "a" and another
918 to "`", and place the accent above the letter, and centered on it. -->
919 FontForge は参照を取り扱う 3 種類のコマンドを持っており、アクセントつきグリフを作成するための、より高水準のコマンドを 1 個備えています。<CODE>編集(<U>E</U>)</CODE>→<CODE>参照をコピー(<U>O</U>)</CODE> コマンドは、現在のグリフへの参照をクリップボードにコピーし、次に <CODE>編集(<U>E</U>)</CODE>→<CODE>貼り付け(<U>P</U>)</CODE> コマンドを使えば参照を貼り付けることができます。<CODE>編集(<U>E</U>)</CODE>→<CODE>参照を解除(<U>N</U>)</CODE>コマンドは、別のグリフへの参照を、そのグリフを構成するスプラインに変換します。<CODE>エレメント(<U>L</U>)</CODE>→<CODE>情報を見る(<U>I</U>)</CODE> コマンドは、(参照に適用されたときは)どのグリフが参照されているかを示すダイアログを表示し、そこから、そのグリフに対する編集ウィンドウを呼び出すことができます。そのグリフへの参照を部品となるスプラインとして別のグリフに張り付けることができます。<CODE>エレメント(<U>L</U>)</CODE>→<CODE>組み立て(<U>U</U>)</CODE>→<CODE>アクセントつきグリフを構築(<U>B</U>)</CODE>コマンドは、この複合グリフを構築するのにどのグリフを参照するべきかを検出し、それからそれらのグリフへの参照を作成し、適切な位置に配置します。もし仮に“&agrave;”を選択し、<CODE>エレメント(<U>L</U>)</CODE>→<CODE>組み立て(<U>U</U>)</CODE>→<CODE>アクセントつきグリフを構築(<U>B</U>)</CODE> コマンドを実行した場合、FontForge は“a”への参照と“`”への参照を作成し、アクセントをグリフの上に置き、中央に揃えることになります。
920 <P>
921 <!--
922 Sadly life is not quite that simple. The references FontForge uses internally
923 cannot always be converted into something equivalent in the output font.
924 Generally this causes no problems (it just makes the font a little bigger,
925 but it has implications for instructing TrueType, and, to a lesser extent,
926 hinting PostScript. Most people can ignore this, but if you are interested
927 <A HREF="ref-caveats.html">follow this link</A>.
928
929 Both PostScript and TrueType place
930 restrictions on what kinds of glyphs may be referenced, worse they make different
931 restrictions. About the only restriction FontForge makes is that it won't
932 let you put a reference to a glyph inside itself. When generating a font,
933 if it finds a situation where it can't use a refered glyph as a reference
934 it will fix it up somehow, usually this means replacing it with the equivalent
935 outlines. -->
936 悲しいことに、人生はそれほど単純ではありません。FontForge が内部的に使用している参照は、常に出力フォントにそれと等価な何らかのデータとして出力できるとは限りません。一般にこれは問題とはなりません (単にフォントが少し大きくなるだけです) が、TrueType に対するヒントづけと、それより問題は少ないものの、 PostScript フォントへのヒントづけとに影響を与えます。ほとんどの方はこれを無視されて結構ですが、興味をお持ちの方は<A HREF="ref-caveats.html">このリンク</A>先をお読みください。
937 <P>
938 <H3>
939 <!--<A NAME="Scripts">Scripts</A> -->
940 <A NAME="Scripts">用字系</A>
941 </H3>
942 <P>
943 <!--
944 A script is a collection of letter shapes and rules for putting letters together.
945 For instance latin is a script consisting for the letters A-Z, written left
946 to right, along with a transformation from upper to lower case (in writing
947 since the middle ages), a few ligatures and rules for generating accents.
948 Arabic is a script consisting of its own character set, written right to
949 left, along with transformations for initial, medial, final and isolated
950 forms, many ligatures and rules for placing vowel marks. -->
951 用字系 (script) とは、文字の形と、文字を相互に組み立てるルールからなる 1 つの組のことです。例えば、ラテン文字は文字 A から Z までから成り、左から右に書かれ、(中世以来の書字法では) 大文字から小文字への変換が定められていて、少数の合字およびアクセント文字を生成するルールが存在する用字系です。アラビア文字は独自の文字セットからなり、右から左に書かれ、語頭形、語中形、語尾形および独立形の変換が定められていて、多数の合字および母音記号を配置するルールが定められている用字系です。
952 <H3>
953 <!--<A NAME="Glyph-names">Glyph names &amp; Namelists</A> -->
954 <A NAME="Glyph-names">グリフ名と名前リスト</A>
955 </H3>
956 <P>
957 <!--
958 Within fontforge every glyph will have a name. Generally the glyph name will
959 be something that provides information about what the glyph looks like so
960 the name for the glyph representing "9" is "nine". Adobe has established
961 a
962 <A HREF="http://partners.adobe.com/public/developer/en/opentype/aglfn13.txt">standard
963 for what names may be assigned to what glyphs</A>, and when producing a font
964 for general use it is best to stick to that standard (Acrobat uses the glyph
965 names and recognizes the standard ones. If you try and use "neuf" for "nine"
966 Acrobat will not recognize it and surprising things will fail). -->
967 FontForge 内部では、各グリフに名前がつけられています。一般に、グリフ名はそのグリフがどのように見えるかを表す情報を提供するものとなっており、例えば&ldquo;9&rdquo;を表すグリフは&ldquo;nine&rdquo;という名前です。Adobe は、<A HREF="http://partners.adobe.com/public/developer/en/opentype/aglfn13.txt">各グリフにどのような名前を割り当てるかを定めた標準</a>を定めており、一般的な用途のフォントを出力する時にはその標準を厳守するのが最良の方法です (Acrobat はグリフ名を使用しており、標準の名前を認識します。もし&ldquo;nine&rdquo;の代わりに&ldquo;neuf&rdquo;とつけても、Acrobatはそれを認識せず、驚くような事が起こるでしょう)。
968 <P>
969 <!--
970 Adobe's standard provides reasonably mnemonic names for most latin and greek
971 glyphs (to English speakers anyway), some rather incomprehensible names for
972 cyrillic and hebrew (afiiXXXXX) and identifies most other glyphs by unicode
973 code point (uniXXXX). -->
974 Adobe の標準は、ほとんどのラテン文字とギリシャ文字のグリフにまあまあ覚えやすい名前をつけています (英語の話者にとっての話ではありますが) が、キリル文字とヘブライ文字に対してはほとんど訳の分からない名前 (afiiXXXXX) をつけており、その他のほとんどのグリフは Unicode の符合位置で識別 (uniXXXX) しています。
975 <P>
976 <!--
977 If you are an english speaker and you are working with latin glyphs this
978 is fine and dandy. But if you are French you might wish that "adieresis"
979 were named "atr&eacute;ma" - - for that matter even if you are an English
980 speaker you might prefer it to be named "aumlaut". No matter who you are
981 you might prefer more mnemonic names for the code block you are working on.
982 -->
983 あなたが英語の話者で、ラテン文字のグリフを作成しているなら、これは非常に便利でしょう。しかしあなたがフランス人で、&ldquo;adieresis&rdquo;には&ldquo;atr&eacute;ma&rdquo;という名前がついていてほしいのでしたら——この件に関しては、英語の話者でさえ、&ldquo;aumlaut&rdquo;という名前の方を好むかもしれません。あなたが何者であれ、自分が作業中のコードブロックにはより覚えやすい名前を好むことでしょう。
984 <P>
985 <!--
986 FontForge has a concept called a
987 <A HREF="encodingmenu.html#namelist">namelist</A> each of which is simply
988 a mapping from unicode code point to name. Several namelists may be defined,
989 different lists may apply to different fonts and a font may be have all its
990 glyphs renamed from one namelist to another. -->
991 FontForge には<A HREF="encodingmenu.html#namelist">名前リスト</A>という概念があます。このリストの各項目は、Unicode の符合位置から名前への単純な対応づけです。いくつかの名前リストを定義することができ、異なるフォントには異なるリストを適用することができ、ある名前リストから別のリストに切替えることによって、フォントに含まれるすべてのグリフを改名することができます。
992 <P>
993 <!--
994 Namelists can also help navigating in a font. Even if a list does not apply
995 to a given font its names may be used in the goto dialog to find glyphs.
996 So if you've loaded a french namelist you can search for "atr&eacute;ma"
997 and FontForge will show you the glyph "adieresis" or "uni00E4" or "aumlaut"
998 or whatever. -->
999 名前リストはフォント内を移動するのにも役立ちます。あるリストが現在のフォントに適用されていない場合でも、それに含まれる名前は、<CODE>移動(<U>G</U>)</CODE>ダイアログでグリフを探すのに使用することができます。ですから、フランス語の名前リストを読み込んであれば、グリフが&ldquo;adieresis&rdquo;と表示されていても、&ldquo;uni00E4&rdquo;または&ldquo;aumlaut&rdquo;でも、&ldquo;atr&eacute;ma&rdquo;を検索することができます。
1000 <P>
1001 <!--
1002 A few caveats: Adobe's glyph name standard expects all glyph names to be
1003 in ASCII characters. Syntactically postscript permits a wider range of glyph
1004 names, but if you use non-ASCII characters some rasterizers might have problems.
1005 Best to keep these within fontforge. -->
1006 2, 3 の警告: Adobe のグリフ名標準は、すべてのグリフ名が ASCII 文字であることを前提としています。構文的には PostScript はより広いグリフ名を受け付けることができますが、ASCII 以外の文字を使用した場合、いくつかのラスタライザでは問題が起こる可能性があります。
1007 <H3>
1008 <!--<A NAME="Anchors">Anchor Points and Classes</A>-->
1009 <A NAME="Anchors">アンカーポイントとアンカークラス</A>
1010 </H3>
1011 <P>
1012 <!--
1013 Anchor points allow fine control of the positioning of two (or several) glyphs.
1014 There are several different styles of attachment based on anchors: cursive,
1015 mark to base, mark to ligature and mark to mark positioning. The first style
1016 is used to join glyphs in flowing scripts (cursive) where the exit from one
1017 glyph joins the entry point of the next. In the second style one of the glyphs
1018 is the base glyph, and it will be positioned normally, the other glyph will
1019 often be a diacritic or vowel mark and it will be positioned so that the
1020 anchor points in each glyph are coincident. Mark to ligature behaves similarly
1021 to mark to base except that there may be more that one attachment point for
1022 the mark depending on which component of the ligature it is connected to.
1023 Finally, mark to mark allows you to position two marks with respect to each
1024 other (as you might need to do in vietnamese or hebrew where you may get
1025 several marks for one glyph). -->
1026 アンカーポイントを使うと 2 つ (またはそれ以上) のグリフの配置を細かく調節することができます。アンカーに基づいた接続のスタイルはいくつか異なるものがあります。筆記体、マークから基底グリフへ、マークから合字へ、そしてマークからマークへの位置指定です。最初のスタイルは、あるグリフから出る線が次のグリフの書き始めとなるような流麗な手書き文字 (筆記体) においてグリフ同士をつなぐためのものです。2 番目のスタイルでは、グリフ群の内の 1 つが基底グリフとなって通常通り配置され、残りのグリフが典型的にはダイアクリティックや母音記号として、各グリフのアンカーポイント同士が重なり合うように配置されます。マークから合字グリフへの接続は、マークから基底グリフへの接続と同様ですが、マークが接続するのが合字のどの要素かによってそれぞれ異なる複数のアンカーポイントをもつことができます。最後に、マークからマークへの位置指定を使用すると、2 個のマークを相互の位置関係によって指定することができます (ベトナム語やヘブライ文字など、複数のマークを 1 個のグリフに追加できる場合に必要となるでしょう)。
1027 <P>
1028 <!--
1029 That is badly said. Consider the following two glyphs and how they are joined
1030 to make the final result: -->
1031 以上の説明はあまり上手ではありません。ここで以下の 2 個のグリフを例に、それらが組み合わされてどのように最終的な結果をもたらすかを考えてみましょう:
1032 <TABLE>
1033 <TR>
1034 <TD><IMG src="../../_images/a_with_anchor.png" WIDTH=104 HEIGHT=208></TD>
1035 <TD>+</TD>
1036 <TD><IMG src="../../_images/grave_with_anchor.png" WIDTH=66 HEIGHT=208></TD>
1037 <TD>=&gt;</TD>
1038 <TD><IMG src="../../_images/agrave_anchored.png" WIDTH=104 HEIGHT=208></TD>
1039 </TR>
1040 </TABLE>
1041 <P>
1042 <!--
1043 The grave accent has been raised and moved to the right so that its anchor
1044 point is positioned where the anchor from "a" was. -->
1045 グレーブアクセントは上にずらされてから右に移動し、そのアンカーポイントは“a”にあるアンカーポイントの位置に合わせられます。
1046 <P>
1047 <!--
1048 FontForge does not compose these glyphs (well, it can, but that's a completely
1049 different area), instead it provides information with the
1050 <A HREF="gposgsub.html">font</A> to a text layout program so that it can
1051 do the composition. -->
1052 FontForge はこれらのグリフの合成を行いません (できるにはできますが、それは全く別問題です)。代わりに、テキストレイアウトプログラムがグリフの合成を実行できるようにするための情報を<A HREF="gposgsub.html">フォントに</A>追加します。
1053 <P>
1054 <!--
1055 The example above is unlikely to be very useful since most latin fonts contain
1056 pre-composed a-grave glyphs, but the same concepts apply to arabic and hebrew
1057 where the number of variants is larger and the precomposed glyphs fewer. -->
1058 ほとんどのラテン文字フォントは a グレーブの合成済みのグリフを含んでいるので上の例はあまり役に立たないでしょうが、同じ概念は、より多くの異体字グリフを含み、合成済みのグリフをあまり使わないアラビア文字やヘブライ文字のフォントにもあてはまります。
1059 <P>
1060 <!--
1061 That's roughly how anchor points are used. Now the mechanics. -->
1062 以上が、アンカーポイントがどう使われるかの簡単な解説です。その機構についてこれから解説します。
1063 <P>
1064 <!--
1065 A font may contain a list of Anchor Classes which may be specified with the
1066 <A HREF="fontinfo.html#Anchors">Element-&gt;Font Info dialog</A>. An anchor
1067 class consists of a name (in the above example the class was called "Top"),
1068 a tag, a set of scripts and languages to which it applies, and the type of
1069 anchor. The tag is meaningful in the context of the
1070 <A HREF="gposgsub.html">GPOS</A> table and unless you are working with indic
1071 languages should probably be left as 'mark' for mark to base or mark to ligature
1072 connections. For cursive connections, use the tag 'curs', and for mark to
1073 mark connections use 'mkmk'. -->
1074 フォントは、<A HREF="fontinfo.html#Anchors"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE></A>で指定可能なアンカークラスのリストを含むことができます。アンカークラスは名前 (上の例ではクラスは“Top”と呼ばれています)、タグ、スクリプトのセットとそれが適用される言語および、アンカーの型からなります。タグは <A HREF="gposgsub.html">GPOS</A> テーブルの文脈において意味を持ちます。インドの言語のフォントを作っているのでなければ、おそらくマークとして配置され、マークから基底文字またはマークから合字への接続位置の指定に用いられるでしょう。筆記体の接続のためには、タグ&lsquo;curs&rsquo;を使用し、マークからマークへの接続には&lsquo;mkmk&rsquo;を使用します。
1075 <P>
1076 <!--
1077 Cursive attachments are a little different from the other attachment types.
1078 Each glyph has two attachment points, an entry and an exit (instead of just
1079 the one shown in the mark to base example above). The text layout program
1080 will attach the exit point of one glyph to the entry point of the next. -->
1081 筆記体の接続は、その他の型の接続とは多少異なります。各グリフには開始と終了の 2 個の接続点があります (上記の、マークから基底グリフへの接続例で示したのとは異なります)。テキストレイアウトプログラムは、あるグリフの終了点をつぎのグリフの開始点に接続します。
1082 <P>
1083 <!--
1084 A glyph may contain several Anchor Points, but only one for each anchor class
1085 (ligatures may have more than one for a class, and 'curs' classes should
1086 have two). You may create a point with the
1087 <A HREF="pointmenu.html#AddAnchor">Point-&gt;Add Anchor command</A>. You
1088 must specify an anchor class, and whether this point is in a base glyph or
1089 in a mark glyph, and a location. So in the example above the anchor point
1090 in "a" has class "Top" and is a base glyph, while the anchor point in "grave"
1091 also has class "Top" but is a mark glyph. There may be many base glyphs with
1092 an anchor point named "Top" and many mark glyphs also with "Top" anchor points.
1093 Any base glyph with a "Top" anchor point maybe composed with any mark glyph
1094 with a "Top" anchor point. So instead of specifying the exact composed form
1095 for all possible combinations we specify far fewer anchor points for the
1096 same effect. -->
1097 1 個のグリフが複数のアンカーポイントを含むことは可能ですが、各アンカークラスについて 1 個に限られます (ただし、合字グリフは 1 クラスあたり 2 個以上を含むことができ、&lsquo;curs&rsquo;クラスは 2 個含んでいる必要があります)。アンカーポイントは <CODE>点(<U>P</U>)</CODE>→<CODE>アンカーを追加(<U>A</U>)</CODE> コマンドで作成できます。このときアンカークラスを選択し、このアンカーポイントが基底グリフに対するものなのかマークグリフに対するものなのかを指定し、位置を決める必要があります。例えば上の例では、“a”のアンカーポイントはクラス“Top”をもち、基底グリフに対する物であり、一方“grave”のアンカーポイントもクラス“Top”ですが、マークグリフに対する物です。“Top”アンカーポイントをもつ基底グリフはすべて、“Top”アンカーポイントをもつマークグリフと合成することができます。それにより、すべての可能な組合せに対して正確な組合せ形を指定する代わりに、ずっと少ない個数のアンカーポイントで同じ効果を得ることができます。
1098 <P>
1099 <!--
1100 But life is not really that simple. Ligatures may need several anchor points
1101 of the same class (one above each component for example). When you create
1102 your anchor point you may say that it is to be in a ligature, in which case
1103 you will also be asked for a ligature index -- a number running from 0 to
1104 the number of components -1. This allows you to position several anchor points
1105 with the same class. The text layout program will place the first mark over
1106 the first anchor point, the second mark over the second and so on (this is
1107 a gross simplification). -->
1108 しかし本当は人生はそんなに単純ではありません。合字は同じクラスに属するアンカークラスがいくつか (例えば、合字を構成する各文字に 1 個) 必要になるでしょう。合字内にアンカーポイントを作成したいと場合がありますが、その場合には合字インデックス—— 0 から (合字の要素数 - 1) までの数値——について訊かれます。番号を指定することにより、同じクラスに属するいくつかのアンカーポイントを配置することができます。テキストレイアウトプログラムは最初のマークを最初のアンカーポイントに、2 番目のマークを 2 番目のアンカーポイントに、という具合に配置を行います (この説明は極度に単純化しています)。
1109 <P>
1110 <!--
1111 Finally you may need to position two marks based on the same anchor point,
1112 for example the glyph <IMG src="../../_images/a_dieresis_macron.png" WIDTH=9 HEIGHT=14>
1113 has a diaeresis and a macron over it. Both of which might normally be positioned
1114 with the Top anchor class. Instead we define a special class for positioning
1115 one mark with respect to another. When creating the anchor class specify
1116 a tag of 'mkmk' (mark to mark) and call it something like "TopMark". When
1117 you create a new anchor point for diaeresis you specify that it is a <EM>base
1118 mark</EM> and you position it above the glyph, while the new anchor point
1119 in macron should be of type mark and should be positioned at the same place
1120 as the "Top" anchor point. Thus when given the sequence of glyphs "a diaeresis
1121 macron" the text layout program should position "a" normally, position
1122 "diaeresis" so that the its Top anchor point is where "a"'s is, and position
1123 macron so that its TopMark anchor point is where "diaeresis"'s is. -->
1124 最後に、2 個のマークを同じアンカーポイントに基づいて配置しなければならないこともあるでしょう。例えば、<IMG src="../../_images/a_dieresis_macron.png" WIDTH=9 HEIGHT=14> には、ダイエレシス(¨)とマクロン( ̄) のグリフが上についています。これらは両方とも、通常は Top アンカークラスとして配置されるマークです。これに対しては、1 個のマークから別のマークへの位置を指定する特別のクラスを定義します。アンカークラスを作成するときに、クラス&lsquo;mkmk&rsquo;(マークからマークへ) のタグを指定し、例えば“TopMark”のように名前をつけてください。ダイエレシスに対するアンカーポイントを作成する時に、それが<EM>基底マーク</EM>であると指定し、それをグリフの上に配置します。ここで、マクロンに追加する新しいアンカーポイントはタイプ mark とし、“Top”アンカーポイントと同じ場所に置きます。このようにすれば、グリフシーケンス“a diaeresis macron”が入力された時、テキストレイアウトプログラムは a を通常通りの位置に並べ、ダイエレシスを、その Top アンカーポイントが“a”の Top アンカーポイントと一致する場所に配置し、最後にマクロンを、その TopMark アンカーポイントがダイエレシスの TopMark アンカーポイントと一致する場所に配置します。
1125 <P>
1126 <!--
1127 Anchor points may be selected, dragged, transformed, cut, copied and pasted. -->
1128 アンカーポイントには選択、ドラッグ、座標変換、カット、コピーとペーストの操作を施すことができます。
1129 <H3>
1130 <!--<A NAME="FontView">Font View</A>-->
1131 <A NAME="FontView">フォントビュー</A>
1132 </H3>
1133 <P>
1134 <!--
1135 The <A HREF="fontview.html">font view</A> displays all the glyphs in the
1136 font (or all that will fit in the window). Every line has two parts, at the
1137 top is a label, often small clear letters, underneath that, somewhat larger
1138 is a 24 pixel rasterization of the font you have designed. As you edit a
1139 glyph in an <A HREF="#CharView">outline glyph view</A> its small version
1140 in the font view will change as you edit. -->
1141 フォントビューは、フォント内のすべてのグリフ (またはウィンドウに収まるかぎりのグリフ) を表示します。各行は 2 つの部分からなり、上にくっきりした文字が小さく表示され、その下にあるやや大きな文字は、あなたがデザインしたフォントを 24 ピクセルでラスタライズしたものです。<A HREF="#CharView">アウトライングリフビュー</A>で文字を編集すると、そのグリフのフォントビュー内の小さな表示も編集を行うにつれて変更されます。
1142 <P>
1143 <!--
1144 Double-clicking on a glyph will bring up an outline glyph view of that glyph
1145 which will allow you to edit it. -->
1146 グリフをダブルクリックすると、そのグリフを編集可能なアウトライングリフビューが画面に表れます。
1147 <P>
1148 <!--
1149 Selecting several glyphs will allow you to apply various operations to all
1150 of them, or to cut and paste them. -->
1151 複数のグリフをセレクトすると、それらのグリフすべてにさまざまな操作を適用したり、それらをカット&amp;ペーストしたりが可能になります。
1152 <P>
1153 <IMG SRC="AmbrosiaFV.png" WIDTH="423" HEIGHT="234">
1154 <P>
1155 <!--
1156 Fonts do not need to be for the latin alphabet alone. Below is a view of
1157 one of <A HREF="ftp://ftp.ipl.t.u-tokyo.ac.jp/Font/">Wadalab</A>'s public
1158 domain Kanji fonts... -->
1159 フォントは必ずしもラテンアルファベットだけを含むわけではありません。以下は、<A HREF="ftp://ftp.ipl.t.u-tokyo.ac.jp/Font/">和田研</A>のパブリックドメイン漢字フォントのうちの 1 つを表示したものです。
1160 <P>
1161 <IMG src="../../_images/kanjifont.png" WIDTH="423" HEIGHT="212">
1162 <P>
1163 <!--
1164 Another Wadalab font encapsulated in a CID keyed font -->
1165 CID キー指定フォントとして 1 つにまとめた別の和田研フォントです。
1166 <P>
1167 <IMG src="../../_images/fontview-cid.png" WIDTH="573" HEIGHT="226">
1168 <H3>
1169 <!--<A NAME="CharView">Outline Glyph View</A>-->
1170 <A NAME="CharView">アウトライングリフビュー</A>
1171 </H3>
1172 <P>
1173 <!--
1174 The <A HREF="charview.html">outline view</A> is probably the most complex
1175 view in FontForge. This is where you actually edit the splines
1176 (<A HREF="bezier.html">B&eacute;zier splines</A>) that make up your glyphs. -->
1177 <A HREF="charview.html">アウトラインビュー</A>は、おそらく FontForge の最も複雑なビュー (データ表示・編集ウィンドウ) でしょう。これが、グリフを構成する スプライン (<A HREF="bezier.html">B&eacute;zier スプライン</A>) を実際に編集できる場所です。
1178 <P>
1179 <!--
1180 You may have a background image loaded into the view to help you trace out
1181 the shape you are working on (it is displayed in grey). There are various
1182 grid lines visible, some created by default (the baseline, the ascent line,
1183 the descent line, and a line at x=0), you may add others yourself. -->
1184 作りたい形をトレースする助けとなるように、背景画像をビューに表示させることができます (灰色で表示されています)。多数の格子状の線が画面に見えますが、そのうち一部 (ベースライン、アセントライン、ディセントラインおよび x=0 を表す線) はデフォルトで作成されたもので、その他のものは自分で追加することができます。
1185 <P>
1186 <!--
1187 There is a layer showing the glyph's hints. -->
1188 グリフのヒントを表示するレイヤがあります。
1189 <P>
1190 <!--
1191 In the foreground are the splines and points of the glyph itself, and the
1192 width line (you may adjust the glyph's width by moving this line). If a point
1193 is selected then its control points will be displayed. -->
1194 前面にあるのはグリフそのもののスプラインと点、それにグリフの幅を示す線 (この線を動かすことにより、グリフの幅を調整できます) です。点を選択しているときは、その制御点が表示されます。
1195 <P>
1196 <!--
1197 To the left of the main window (the image below shows them on the right,
1198 that was just to keep them from crowding things, you can move them around)
1199 are two palettes, one a palette of tools, and the other a palette controlling
1200 what layers (foreground, background, grid, hints) are visible and editable. -->
1201 メインウィンドウの左側に (下の図では右側に表示しています。単に邪魔にならないようにするためで、これは動かすことができます) 2 個のパレットがあります。1 つはツールパレットで、もう一つのパレットは、どのレイヤ (前面、背面、グリッド、ヒント) を表示・編集可能にするかを調節するためのパレットです。
1202 <P>
1203 <IMG SRC="charview2.png" WIDTH="544" HEIGHT="656">
1204 <H3>
1205 <!--<A NAME="BitmapView">Bitmap View</A>-->
1206 <A NAME="BitmapView">ビットマップビュー</A>
1207 </H3>
1208 <P>
1209 <!--
1210 The <A HREF="bitmapview.html">bitmap view</A> is similar to the outline view
1211 above. It also has a tools and layer palette. -->
1212 <A HREF="bitmapview.html">ビットマップビュー</A>は、上記のアウトラインビューと似ています。ツールとレイヤパレットがある点も同様です。
1213 <P>
1214 <!--
1215 This allows you to edit bitmap versions of the outline glyphs you create
1216 above. -->
1217 これを使い、上で作成したアウトライングリフのビットマップ版を編集することができます。
1218 <P>
1219 <!--
1220 In the background is a small rendition of the outline, and in the foreground
1221 are the bits of the image. You may make the program calculate which bits
1222 should be set by pressing the "Recalculate button", the results usually need
1223 to be tweaked by hand. In the upper left corner is a full sized image of
1224 your bitmap glyph. -->
1225 背面にあるのは、アウトラインを小さくレンダリングしたもので、前面にあるのはビットマップ像です。<CODE>[ビットマップの再計算]</CODE> ボタンを押すことにより、どのビットを塗りつぶすかをプログラムに計算させることができます。左上の角にはビットマップグリフをフルサイズで表示した画像があります。
1226 <P>
1227 <IMG SRC="BitmapView.png" WIDTH="271" HEIGHT="319">
1228 <H3>
1229 <!--<A NAME="MetricsView">Metrics View</A>-->
1230 <A NAME="MetricsView">メトリックビュー</A>
1231 </H3>
1232 <P>
1233 <!--
1234 The <A HREF="metricsview.html">metrics view</A> allows you to see how the
1235 glyphs look together. -->
1236 <A HREF="metricsview.html">メトリックビュー</A>を使えば、グリフを並べたときにどうように見えるかを試すことができます。
1237 <P>
1238 <!--
1239 You can change the width and left/right bearings of glyph, either by dragging
1240 in the upper part of the window or by entering an appropriate number in the
1241 lower. -->
1242 グリフの左/右サイドベアリングを、ウィンドウの上部をドラッグするか下の欄に適切な数値を入力するかの方法で変更することができます。
1243 <P>
1244 <!--
1245 You can also provide kerning information for any two adjacent glyphs. -->
1246 隣接する任意の 2 個のグリフ間のカーニング情報を与えることもできます。
1247 <P>
1248 <IMG SRC="MetricsView.png" WIDTH="600" HEIGHT="331">
1249 <P>
1250 <!--
1251 <IMG SRC="VerticalMetrics.png" WIDTH="360" HEIGHT="700" ALIGN="Right">Note
1252 that in Hebrew, or Arabic (or any other right to left alphabet) the glyphs
1253 will start on the right and run to the left. While in CJK fonts you may want
1254 to see things arranged vertically. -->
1255 <IMG SRC="VerticalMetrics.png" WIDTH="360" HEIGHT="700" ALIGN="Right">ヘブル文字やアラビア文字 (その他すべての右から左へ表記するアルファベット) では、グリフは右から始まり左に向けて配置されることに注意してください。また、CJK フォントでは、グリフを縦に並べた時の表記を見たいと思うはずです。
1256 <P>
1257 <IMG src="../../_images/HebrewMetrics.png" WIDTH="511" HEIGHT="323">
1258 <P>
1259 <P>
1260 <P ALIGN=Center>
1261 — <A HREF="editexample.html">次</A> —
1262 </DIV>
1263 </BODY></HTML>