Debian Codegraph @

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

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <!-- Created with AOLpress/2.0 -->
4 <!-- AP: Created on: 27-Jan-2003 -->
5 <!-- AP: Last modified: 21-Apr-2006 -->
6 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
7 <!--<TITLE>Final cleanup</TITLE> -->
8 <TITLE>最終的な調整</TITLE>
9 <!-- AP: Last modified: 2-Mar-2004 -->
10 <LINK REL="icon" href="../../_static/fftype16.png">
11 <LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
12 </HEAD>
13 <BODY>
14 <DIV id="in">
15 <H1 ALIGN=Center>
16 <!--Tutorial #8 -->
17 チュートリアル (その 8)
18 </H1>
19 <UL>
20 <LI>
21 <!-- <A HREF="editexample.html#FontCreate">Font Creation</A>-->
22 <A HREF="editexample.html#FontCreate">フォントの作成</A>
23 <LI>
24 <!-- <A HREF="editexample.html#CharCreate">Creating a glyph (tracing outlines)</A>-->
25 <A HREF="editexample.html#CharCreate">グリフの作成 (アウトラインのトレース) 法</A>
26 <LI>
27 <!-- <A HREF="editexample2.html#Navigating">Navigating to other glyphs</A>-->
28 <A HREF="editexample2.html#Navigating">他のグリフの呼び出し方</A>
29 <LI>
30 <!-- <A HREF="editexample2.html#Creating-o">On to the next glyph (consistent
31 directions)</A>-->
32 <A HREF="editexample2.html#Creating-o">次のグリフに関して (矛盾のないパスの向き)</A>
33 <LI>
34 <!-- <A HREF="editexample3.html#consistent-stems">Consistent serifs and stem
35 widths</A>-->
36 <A HREF="editexample3.html#consistent-stems">統一のとれたセリフとステムの太さ</A>
37 <LI>
38 <!-- <A HREF="editexample4.html#accents">Building accented glyphs</A>
39 <A HREF="editexample4.html#accents">アクセントつきグリフの組み立て方</A>
40 <LI>
41 <!-- <A HREF="editexample4.html#ligature">Building a ligature</A>
42 <A HREF="editexample4.html#ligature">合字の組み立て方</A>
43 <LI>
44 <!-- <A HREF="editexample5.html#metrics">Examining metrics</A>-->
45 <A HREF="editexample5.html#metrics">メトリックの確認法</A>
46 <LI>
47 <!-- <A HREF="editexample5.html#Kerning">Kerning</A>-->
48 <A HREF="editexample5.html#Kerning">カーニング</A>
49 <LI>
50 <!-- <A HREF="editexample6.html#Variants">Glyph variants</A>-->
51 <A HREF="editexample6.html#Variants">異体関係にあるグリフ</A>
52 <LI>
53 <!-- <A HREF="editexample6.html#Marks">Anchoring marks</A>-->
54 <A HREF="editexample6.html#Marks">アンカーマーク</A>
55 <LI>
56 <!-- <A HREF="editexample6-5.html#Conditional">Conditional features</A>-->
57 <A HREF="editexample6-5.html#Conditional">条件つき機能</A>
58 <LI>
59 <!-- <A HREF="editexample7.html#checking">Checking your font</A>-->
60 <A HREF="editexample7.html#checking">フォントのチェック法</A>
61 <LI>
62 <!-- <A HREF="#Bitmaps">Bitmaps</A>-->
63 <A HREF="#Bitmaps">ビットマップ</A>
64 <LI>
65 <!-- <A HREF="editexample7.html#generating">Generating it</A>-->
66 <A HREF="editexample7.html#generating">フォントの出力方法</A>
67 <LI>
68 <!-- <A HREF="editexample7.html#Families">Font Families</A>-->
69 <A HREF="editexample7.html#Families">フォントファミリー</A>
70 <LI>
71 <!-- <A HREF="editexample7.html#summary">Final Summary</A>-->
72 <A HREF="editexample7.html#summary">最後のまとめ</A>
73 <LI>
74 <!-- <A HREF="scripting-tutorial.html">Scripting Tutorial</A> -->
75 <A HREF="scripting-tutorial.html">スクリプト処理のチュートリアル</A>
76 <LI>
77 <!-- <A HREF="scriptnotes.html#Special">Notes on various scripts</A>-->
78 <A HREF="scriptnotes.html#Special">各種の用字系における注意点</A>
79 </UL>
80 <H2>
81 <!--<A NAME="checking">Checking</A> a font-->
82 フォントの <A NAME="checking">チェック法</A>
83 </H2>
84 <P>
85 <!--
86 After you have finished making all the glyphs in your font you should check
87 it for inconsistencies. FontForge has a command,
88 <A HREF="problems.html">Element-&gt;Find Problems</A> which is designed to
89 find many common problems. -->
90 フォントに含まれるすべてのグリフの作成を終えた後に、矛盾点のチェックをするべきです。
91 FontForge には、多くのよくある問題を発見するために設計された <A HREF="problems.html"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>問題点を発見(<U>O</U>)...</CODE></A> コマンドがあります。
92 <P>
93 <!--
94 Simply select all the glyphs in the font and then bring up the Find Problems
95 dialog. Be warned though: Not everything it reports as a problem is a real
96 problem, some may be an element of the font's design that FontForge does
97 not expect. -->
98 単にフォント内のすべてのグリフを選択し、<CODE>問題点を発見</CODE> ダイアログを呼び出すだけです。
99 とはいえ、全ての実用上の不都合が問題点として報告されるわけでもなければ、FontForge が予期していなかったフォントのデザイン的要素が報告されただけかもしれないことにご注意ください。
100 <P>
101 <!--
102 The dialog can search for problems like:-->
103 このダイアログは以下のような問題点を探すことができます。
104 <UL>
105 <LI>
106 <!-- Stems which are close to but not exactly some standard value. -->
107 基準値のどれかに非常に近いが正確には一致しない幅をもつステム
108 <LI>
109 <!-- Points which are close to but not exactly some standard height -->
110 基準値のどれかに非常に近いが正確には一致しない高さに置かれた点
111 <LI>
112 <!-- Paths which are almost but not quite vertical or horizontal -->
113 水平または垂直にほとんど一致するがわずかにずれているパス
114 <LI>
115 <!-- Control points which are in unlikely places -->
116 通常ありえない位置に置かれた制御点
117 <LI>
118 <!-- Points which are almost but not quite on a hint -->
119 ヒント位置にほとんど一致するがわずかにずれている点
120 <LI>
121 <!-- ...-->
122 …
123 </UL>
124 <P>
125 <!--
126 I find it best just to check for a similar problems at a time, otherwise
127 switching between different kinds of problems can be distracting. -->
128 個人的経験では、いちどきには同種の問題点だけをチェックするのが最善です。
129 そうしないと種類の異なる問題点をあれこれ調べることになって気が散るのです。
130 <H2>
131 <!--<A NAME="Bitmaps">Bitmaps</A>-->
132 <A NAME="Bitmaps">ビットマップ</A>
133 </H2>
134 <P>
135 <!--
136 At this point you might want some bitmaps to go with the postscript (this
137 is not compulsory). Go to <CODE>Element-&gt;Bitmaps Available</CODE> and
138 select the pixel sizes you want bitmaps in (Note, that on X and MS windows
139 pixel sizes often do not correspond exactly to point sizes. You can then
140 use the bitmap editor (<CODE>Window-&gt;Open Bitmap</CODE>) to clean up the
141 bitmaps, or you can generate your bitmap fonts and then
142 <A HREF="http://math.nmsu.edu/~mleisher/Software/gbdfed/">use someone else's
143 bitmap editor to clean them up</A>. -->
144 この段階で、PostScript フォントに加えてビットマップも欲しくなるかも知れません (これは必須ではありません)。
145 <CODE>エレメント(<U>L</U>)</CODE>→<CODE>使用するビットマップ(<U>A</U>)...</CODE> を呼び出し、ビットマップを組み込みたいサイズを選択します (X と MS Windows ではピクセル数がポイントサイズと正確に一致しない場合があることにご注意ください)。
146 それからビットマップエディタ (<CODE>ウィンドウ(<U>W</U>)</CODE>→<CODE>ビットマップウィンドウを開く(<U>B</U>)</CODE> でビットマップを修整するか、ビットマップフォントを書き出してから<A HREF="http://math.nmsu.edu/~mleisher/Software/gbdfed/">誰か他の人のビットマップエディタ</A>を使用して修整することができます。
147 <P>
148 <IMG SRC="BitmapView.png" WIDTH="271" HEIGHT="319">
149 <H2>
150 <!--<A NAME="generating">Generating</A> a font-->
151 フォントの<A NAME="generating">出力方法</A>
152 </H2>
153 <P>
154 <!--
155 If you save your file it will be saved in a format that only FontForge
156 understands (as far as I know anyway). This is not very helpful if you want
157 to use the font. -->
158 作成したファイルを保存しても、(私の知る限り) FontForge だけが理解できるフォーマットで保存されるだけです。
159 フォントを使いたい時にはこれは役立たないでしょう。
160 <P>
161 <!--
162 <IMG SRC="generate.png" WIDTH="406" HEIGHT="411" ALIGN="Right">Instead you
163 must use <A HREF="generate.html">File-&gt;Generate</A> to convert your font
164 into one of the standard font formats. FontForge presents what looks like
165 a vast array of font formats, but in reality there are just several variants
166 on a few basic font formats: PostScript Type 1, TrueType, OpenType (and for
167 CJK fonts, also CID-keyed fonts). -->
168 <IMG src="../../_images/generate.png" WIDTH="406" HEIGHT="411" ALIGN="Right">
169 作成したフォントを標準的フォントフォーマットのどれかに変換したい場合は、<CODE>保存(<U>S</U>)</CODE> ではなくて <A HREF="generate.html"><CODE>ファイル(<U>F</U>)</CODE>→<CODE>フォントを出力(<U>G</U>)...</CODE></A> を使用しなければなりません。
170 FontForge が表示するのはフォントフォーマットの膨大な羅列のように見えますが、実際には数種類の基本的なフォントフォーマット: PostScript Type1, TrueType, OpenType の変種があるだけです (CJK フォントでは、CID フォントもあります)。
171 <P>
172 <!--
173 You also have a choice of bitmap formats. FontForge supports bdf (used by
174 X), mac NFNT (used by the Mac), Windows FNT (used by Windows 2.0 I think)
175 and storing bitmaps inside true (or open) type wrappers.<BR CLEAR=RIGHT> -->
176 ビットマップのフォーマットも選べます。
177 FontForge は BDF (X で使います), Mac NFNT (Mac で使います), Windows FNT (Windows 2.0 で使うと思います) および TrueType (か OpenType) のラッパの中への組み込みを選べます。<BR CLEAR=RIGHT>
178 <H2>
179 <!--Font <A NAME="Families">Families</A> -->
180 フォント<A NAME="Families">ファミリー</A>
181 </H2>
182 <P>
183 <!--
184 After you have generated a font, you probably want to generate a sequence
185 of similar fonts. In Latin, Greek and Cyrillic fonts italic (or oblique),
186 bold, condensed, expanded styles are fairly common. -->
187 フォントを生成した後、おそらく一連の類似したフォントを生成する必要が生じるでしょう。ラテン、ギリシャおよびキリル文字のフォントではイタリック (またはオブリーク), ボールド、コンデンスト、エキスパンデドの各スタイルは非常に一般的です。
188 <P>
189 <!--
190 Fonts with different styles in the same family should share the same Family
191 Name (in the <A HREF="fontinfo.html">Element-&gt;Font Info-&gt;Names</A>
192 dialog). The Font Name should be the Family Name with the style name(s) appended
193 to the end, often preceded by a hyphen. So in the font family "Helvetica"
194 all fonts should have the Family Name set to "Helvetica". The plain style
195 could be called simply "Helvetica" or "Helvetica-Regular", the bold style
196 "Helvetica-Bold", the oblique (Helvetica doesn't have a true italic)
197 "Helvetica-Oblique", etc. -->
198 同じファミリーに属する異なるスタイルのフォントは同じファミリー名を共有している必要があります (<A HREF="fontinfo.html"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE>→<CODE>[名前]</CODE></A> で設定します)。
199 フォント名はファミリー名の後ろに 1 個以上のスタイル名を、多くの場合はハイフンを挟んで付け加えたものです。
200 ですからフォントファミリー“Helvetica”に属するフォントは全て“Helvetica”というファミリー名が設定されていなければなりません。
201 通常の (plain) スタイルは単に“Helvetica”または“Helvetica-Regular”となり、ボールドスタイルは“Helvetica-Bold”、オブリーク (Helvetica には真のイタリックはありません) は“Helvetica-Oblique”という具合に命名されることになります。
202 <P>
203 <!--
204 FontForge has a command (which doesn't work well yet, but I hope to improve
205 eventually) <A HREF="MetaFont.html">Element-&gt;MetaFont</A> which is designed
206 to help you create a bold (condensed, expanded, etc.) style from a plain
207 one. -->
208 FontForge にはコマンド (現在はまだよく動きませんが、そのうち改良するつもりです) <A HREF="MetaFont.html"><CODE>エレメント(<U>L</U>)</CODE>→<CODE><U>M</U>eta Font...</CODE></A> があり、これはボールド (コンデンスト、エキスパンデド等) のスタイルを通常のフォントから作成するのを助けるように設計されています。
209 <P>
210 <!--
211 The
212 <A HREF="transform.html">Element-&gt;Transform-&gt;Transform-&gt;Skew</A>
213 command can turn a plain font into an Oblique one. Creating a true italic
214 font is generally a bit more complex, the shape of the "a" changes dramatically
215 to "<I>a</I>", the "f" gains a descender as "<I>f</I>", the serifs on "ilm"
216 etc. become rounded as "<I>ilm</I>" and there will probably be other subtle
217 differences. Also, after having skewed a font you should
218 <A HREF="elementmenu.html#Add-Extrema">Element-&gt;Add Extrema</A>. -->
219 <A HREF="transform.html"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>変形(<U>T</U>)</CODE>→<CODE>変形(<U>T</U>)...</CODE>→<CODE>傾き</CODE></A> コマンドは通常のフォントをオブリークのものに変換します。
220 真のイタリックの作成は一般的にはもうすこし複雑で、“a”の形が“<I>a</I>”へと劇的に変わったり“f”にディセンダがついて“<I>f</I>”となったり,“ilm”のセリフが“<I>ilm</I>”のように丸められたりし、通常は他にも微妙な違いが生じます。
221 また、フォントを傾けた後は <A HREF="elementmenu.html#Add-Extrema"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>極大点の追加(<U>X</U>)</CODE></A> を行うべきでしょう。
222 <P>
223 <!--
224 If you already have a "Bold" and a "Plain" style of a font (and each glyph
225 has the same number of points in the same order), you can use the
226 <A HREF="elementmenu.html#Interpolate">Element-&gt;Interpolate Font </A>command
227 to generate a "DemiBold" style. -->
228 あるフォントの“Bold" と“Plain”の両スタイルが既に揃っているならば (また、各グリフが同じ順番で同じ個数の点を含むならば)、
229 <A HREF="elementmenu.html#Interpolate"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォントの補間(<U>L</U>)...</CODE></A> コマンドを使って“DemiBold”スタイルを生成することができます。
230 <P>
231 <!--
232 TrueType fonts (and Windows) support a very fine gradation of stem thicknesses
233 (the Mac really only understands Plain and Bold). If you go to
234 <A HREF="fontinfo.html#TTF-Values">Element-&gt;Font Info-&gt;OS/2</A> you
235 can set the weight to be any value between 0 and 999 (with plain generally
236 being at 400 or 500, and Bold at 700). TrueType fonts also support a range
237 of widths (while the Mac only supports condensed, plain and expanded). -->
238 TrueType フォント (と Windows) はステムの太さに関する非常に細かいグラデーションをサポートしています (Mac は Plain と Bold の 2 種類しか理解しません)。
239 <A HREF="fontinfo.html#TTF-Values"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE>→<CODE>[OS/2]</CODE></A> を選ぶと、0 から 999 までの任意の値を太さとして設定することができます (通常フォントは一般的に 400 から 500 の間で、Bold は 700 くらいです)。
240 TrueType は、幅の値も広範囲にサポートしています (Mac では condensed, plain と expanded しかサポートされてないのですが)。
241 <P>
242 <!--
243 <IMG SRC="GenerateFamily.png" WIDTH="414" HEIGHT="552" ALT="Dialog for Generate Mac Family"
244 ALIGN="Right">On Windows machines, as long as you get the names right, the
245 system should be able to figure out what fonts go into what families. But
246 on the Mac the situation is (or was, it is changing and I don't understand
247 all the new extensions yet) more complicated. The Mac supports a limited
248 range of styles (plain, italic, bold, outline, condensed, expanded and
249 combinations of these) anything outside these must go into a separate family.
250 Then a special table needs to be constructed (called the FOND) which holds
251 pointers to the various fonts in the family. If you open all the fonts you
252 want to be in a given family (and if they have been given the proper names)
253 and then from the plain font select
254 <A HREF="filemenu.html#GenerateMac">File-&gt;Generate Family</A>. This will
255 list all the fonts that FontForge thinks belong to the same family as the
256 current font and will allow you to generate a FOND structure as well as font
257 files for all family members (sometimes all the fonts live in one file, sometimes
258 they don't, it depends on the font format chosen). -->
259 <IMG src="../../_images/GenerateFamily.png" WIDTH="414" HEIGHT="552" ALT="Mac ファミリーを生成するためのダイアログ"
260 ALIGN="Right">Windows 機では、名前が正しければ、システムはフォントがどのファミリーに属するかを導き出すすることができます。
261 しかし Mac では現状は (これはもう過去の話かもしれません。現状は変化しつつあり新しい拡張について筆者はまだ理解していません) より複雑です。
262 Mac は限られた範囲のスタイル (plain, italic, bold, outline, condensed, expanded とこれらの組み合わせ) のみをサポートし、これから外れる全ての物は別個のファミリーに分けられてしまいます。
263 そのため、あるファミリーに属するさまざまなフォントへのポインタを保持する特別なテーブル (FOND といいます) を構築する必要があります。
264 あるファミリーに含めたいすべてのフォントを開いてあれば (そしてそれらに正しい名前がついていれば) 通常フォントから <A HREF="filemenu.html#GenerateMac"><CODE>ファイル(<U>F</U>)</CODE>→<CODE>Macファミリーを出力(<U>F</U>)...</CODE></A> を選択することができます。
265 これにより、現在のフォントと同じファミリーに属すると FontForge が認識した全てのフォントを列挙し、ファミリーに属する全てのフォントファイルと一緒に FOND 構造体を書き出せるようにします (場合によっては全てのフォントは同じファイルに含まれ、場合によっては個別のファイルに書き出されます。これは選んだフォーマットによります)。
266 <H2>
267 <!--<A NAME="summary">Final</A> Summary -->
268 <A NAME="summary">最後の</A>まとめ
269 </H2>
270 <P>
271 <!--
272 So you have made a new font. But it does you no good just sitting on your
273 disk, you must install it on your machine. On some systems this is as simple
274 as just dragging the new font into your system Fonts folder, but on other
275 systems there is a fair amount work involved still. See the
276 <A HREF="faq.html#font-install">Installing fonts FAQ</A>. -->
277 これで新しいフォントが完成しました。
278 しかしディスクに置いておくだけでは役に立ちません。マシンにインストールする必要があります。
279 フォントをシステムの Fonts フォルダにドラッグするだけで簡単にインストールできるシステムもありますが、システムによっては関連する多くの作業を必要とする物もあります。
280 <A HREF="faq.html#font-install">フォントのインストールに関する FAQ</A> を参照してください。
281 <P>
282 <!--
283 For a tutorial about <A HREF="scripting-tutorial.html">FontForge's scripting
284 mechanism click here</A>. -->
285 <A HREF="scripting-tutorial.html">FontForge のスクリプト処理の仕組みに関するチュートリアルを読むには、ここをクリックしてください</A>。
286 <P>
287 <P ALIGN=Center>
288 — <A HREF="editexample6-5.html">前</A> — <A HREF="overview.html">目次</A>
289 — <A HREF="scriptnotes.html">次</A> —
290 </DIV>
291 </BODY></HTML>