| 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>Examining and controling metrics and kerning</TITLE>--> |
| 8 | <TITLE>メトリックとカーニングの検査法と調整法</TITLE> |
| 9 | <LINK REL="icon" href="../../_static/fftype16.png"> |
| 10 | <LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css"> |
| 11 | </HEAD> |
| 12 | <BODY> |
| 13 | <DIV id="in"> |
| 14 | <H1 ALIGN=Center> |
| 15 | <!-- Tutorial #5 --> |
| 16 | チュートリアル (その 5) |
| 17 | </H1> |
| 18 | <UL> |
| 19 | <LI> |
| 20 | <!-- <A HREF="editexample.html#FontCreate">Font Creation</A>--> |
| 21 | <A HREF="editexample.html#FontCreate">フォントの作成</A> |
| 22 | <LI> |
| 23 | <!-- <A HREF="editexample.html#CharCreate">Creating a glyph (tracing outlines)</A>--> |
| 24 | <A HREF="editexample.html#CharCreate">グリフの作成 (アウトラインのトレース) 法</A> |
| 25 | <LI> |
| 26 | <!-- <A HREF="editexample2.html#Navigating">Navigating to other glyphs</A>--> |
| 27 | <A HREF="editexample2.html#Navigating">他のグリフの呼び出し方</A> |
| 28 | <LI> |
| 29 | <!-- <A HREF="editexample2.html#Creating-o">On to the next glyph (consistent |
| 30 | directions)</A>--> |
| 31 | <A HREF="editexample2.html#Creating-o">次のグリフに関して (矛盾のないパスの向き)</A> |
| 32 | <LI> |
| 33 | <!-- <A HREF="editexample3.html#consistent-stems">Consistent serifs and stem |
| 34 | widths</A>--> |
| 35 | <A HREF="editexample3.html#consistent-stems">統一のとれたセリフとステムの太さ</A> |
| 36 | <LI> |
| 37 | <!-- <A HREF="editexample4.html#accents">Building accented glyphs</A>--> |
| 38 | <A HREF="editexample4.html#accents">アクセントつきグリフの組み立て方</A> |
| 39 | <LI> |
| 40 | <!-- <A HREF="editexample4.html#ligature">Building a ligature</A>--> |
| 41 | <A HREF="editexample4.html#ligature">合字の組み立て方</A> |
| 42 | <LI> |
| 43 | <!-- <A HREF="editexample5.html#metrics">Examining metrics</A>--> |
| 44 | <A HREF="editexample5.html#metrics">メトリックの確認法</A> |
| 45 | <UL> |
| 46 | <LI> |
| 47 | <!-- <A HREF="#Vertical">Vertical metrics</A> --> |
| 48 | <A HREF="#Vertical">縦書きメトリック</A> |
| 49 | <LI> |
| 50 | <!-- <A HREF="editexample5.html#baseline">Setting the baseline to baseline spacing |
| 51 | of a font</A> --> |
| 52 | <A HREF="editexample5.html#baseline">フォントのベースラインとベースラインの間隔の設定方法</A> |
| 53 | </UL> |
| 54 | <LI> |
| 55 | <!-- <A HREF="editexample5.html#Kerning">Kerning</A>--> |
| 56 | <A HREF="editexample5.html#Kerning">カーニング</A> |
| 57 | <LI> |
| 58 | <!-- <A HREF="editexample6.html#Variants">Glyph variants</A>--> |
| 59 | <A HREF="editexample6.html#Variants">異体関係にあるグリフ</A> |
| 60 | <LI> |
| 61 | <!-- <A HREF="editexample6.html#Marks">Anchoring marks</A>--> |
| 62 | <A HREF="editexample6.html#Marks">アンカーマーク</A> |
| 63 | <LI> |
| 64 | <!-- <A HREF="editexample6-5.html#Conditional">Conditional features</A>--> |
| 65 | <A HREF="editexample6-5.html#Conditional">条件つき機能</A> |
| 66 | <LI> |
| 67 | <!-- <A HREF="editexample7.html#checking">Checking your font</A>--> |
| 68 | <A HREF="editexample7.html#checking">フォントのチェック法</A> |
| 69 | <LI> |
| 70 | <!-- <A HREF="editexample7.html#generating">Generating it</A>--> |
| 71 | <A HREF="editexample7.html#generating">フォントの出力方法</A> |
| 72 | <LI> |
| 73 | <!-- <A HREF="editexample7.html#Families">Font Families</A>--> |
| 74 | <A HREF="editexample7.html#Families">フォントファミリー</A> |
| 75 | <LI> |
| 76 | <!-- <A HREF="editexample7.html#summary">Final Summary</A>--> |
| 77 | <A HREF="editexample7.html#summary">最後のまとめ</A> |
| 78 | <LI> |
| 79 | <!-- <A HREF="scripting-tutorial.html">Scripting Tutorial</A> --> |
| 80 | <A HREF="scripting-tutorial.html">スクリプト処理のチュートリアル</A> |
| 81 | <LI> |
| 82 | <!-- <A HREF="scriptnotes.html#Special">Notes on various scripts</A>--> |
| 83 | <A HREF="scriptnotes.html#Special">各種の用字系における注意点</A> |
| 84 | </UL> |
| 85 | <H2> |
| 86 | <!--<A NAME="metrics">Examining</A> and controlling metrics--> |
| 87 | メトリックの<A NAME="metrics">検査</A>と制御 |
| 88 | </H2> |
| 89 | <P> |
| 90 | <IMG src="../../_images/sidebearings.png" WIDTH="111" HEIGHT="191" ALIGN="Right"> <!-- After |
| 91 | you have created the shapes of your glyphs you must next figure out the spacing |
| 92 | between glyphs. The space between any two glyph has two components, the space |
| 93 | after the first glyph, and the space before the second glyph. In a left to |
| 94 | right world these two are called the right side bearing and the left side |
| 95 | bearing respectively. --> |
| 96 | グリフの形を設計してから、次にする必要があるのはグリフの間の空間を正しく設定することです。 |
| 97 | 2 個のグリフの間の間隔はすべて、最初のグリフの後の空白と次のグリフの前の空白の 2 つの構成要素からなります。 |
| 98 | 左から右に文字を書く世界では、これらはそれぞれ右サイドベアリングと左サイドベアリングと呼ばれます。 |
| 99 | <P> |
| 100 | <!-- |
| 101 | The left side bearing may be changed by the simple expedient of |
| 102 | <CODE>Edit->Select All</CODE> (in the outline view) and then dragging |
| 103 | the selected objects to the appropriate place. The right side bearing may |
| 104 | be changed by selecting the advance width line and adjusting it |
| 105 | appropriately.<BR CLEAR=ALL> --> |
| 106 | 左サイドベアリングは、簡単な操作で変更することができます。 |
| 107 | <CODE>編集(<U>E</U>)</CODE>→<CODE>選択(<U>S</U>)</CODE>→<CODE>すべて選択(<U>A</U>)</CODE> を (アウトラインビューで) 行い、選択されたオブジェクトを適切な場所に移動します。右サイドベアリングは送り幅を表す線を選択し、適切な位置に調整することによって変更できます。<BR CLEAR=ALL> |
| 108 | <P> |
| 109 | <!-- |
| 110 | However it is generally better not to set the metrics of a single glyph in |
| 111 | isolation, you should see the glyph in the context of other glyphs and set |
| 112 | it from that perspective. Use the <CODE>Window->Open |
| 113 | <A HREF="metricsview.html">Metrics Window </A></CODE>command.<BR> --> |
| 114 | しかしながら、一般的には個別のグリフのメトリックを単独で設定するのではなく、他のグリフの間に囲まれた文脈の中で眺め、その観点から設定したほうがいいのです。 |
| 115 | <CODE>ウィンドウ(<U>W</U>)</CODE>→<CODE><A HREF="metricsview.html">メトリックウィンドウを開く(M)</A></CODE> コマンドを使用してください。 |
| 116 | <IMG SRC="MetricsView.png" WIDTH="600" HEIGHT="331"><BR> |
| 117 | <!-- |
| 118 | Any glyphs selected in the fontview (when you invoke the metrics view) will |
| 119 | be displayed in the metrics view. You may change which glyphs are displayed |
| 120 | by either typing new ones in to the text field at the top of the view, or |
| 121 | by dragging a glyph from the fontview. --> |
| 122 | フォントビュー内で選択された任意のグリフは (メトリックビューを呼び出したとき) メトリックビューの中に表示されます。表示されるグリフの並びは、新しくウィンドウの最上部のテキストフィールドに文字列をタイプするか、またはフォントビューからグリフをドラッグすることによって変更することができます。 |
| 123 | <P> |
| 124 | <!-- |
| 125 | From here you may adjust any glyph's metrics by typing into the textfields |
| 126 | below it, or you may select a glyph (by clicking on its image) and drag it |
| 127 | around (to adjust the left side bearing), or drag its width line (to adjust |
| 128 | its right side bearing). --> |
| 129 | この画面から任意のグリフのメトリックを、その下のテキストフィールドに文字をタイプするか、グリフを (その画像をクリックして) 選択してから (左サイドベアリングを調整するために) 動かしたり (右サイドベアリングを調整するために) グリフの幅を表す線をドラッグしたりすることによって調整することができます。 |
| 130 | <P> |
| 131 | <!-- |
| 132 | If you want to generate a "typewriter" style font (where all glyphs have |
| 133 | the same width) execute an <CODE>Edit->Select All</CODE> from the fontview |
| 134 | and then <CODE>Metrics->Set Width</CODE>. This will set the widths of |
| 135 | all glyphs to the same value. After doing that you might also want to execute |
| 136 | <CODE>Metrics->Center in Width</CODE> to even out the left and right spacing |
| 137 | on each glyph. --> |
| 138 | 「タイプライタ」スタイル (全てのグリフの幅が同じ) のフォントを生成したい場合、<CODE>編集(<U>E</U>)</CODE>→<CODE>選択(<U>S</U>)</CODE>→<CODE>すべて選択(<U>A</U>)</CODE> をフォントビューから実行し、次に <CODE>メトリック(<U>M</U>)</CODE>→<CODE>幅を設定(<U>W</U>)...</CODE> を実行します。これにより、すべてのグリフの幅が同じ値に設定されます。これを行った後、<CODE>メトリック(<U>M</U>)</CODE>→<CODE>幅の中央に(<U>C</U>)</CODE> を実行して各グリフの左と右の空きを均等にしたほうがいいでしょう。 |
| 139 | <P> |
| 140 | <I><IMG src="../../_images/autowidth.png" WIDTH="276" HEIGHT="268" ALIGN="Right"></I> <!-- If |
| 141 | all this manual operation seems too complicated, try |
| 142 | <CODE><A HREF="autowidth.html#AutoWidth">Metrics->Auto Width</A></CODE>. |
| 143 | This will automagically assign widths to characters. These widths are not |
| 144 | up to professional standards, but they are generally reasonable approximations. |
| 145 | --> |
| 146 | この手動動作が複雑すぎると思う人は、 |
| 147 | <A HREF="autowidth.html#AutoWidth"><CODE>メトリック(<U>M</U>)</CODE>→<CODE>幅の自動設定(<U>A</U>)...</CODE></A> を試してみてください。 |
| 148 | これは全自動で各文字の幅を設定します。この幅はプロの水準には達していませんが、一般人が見てまあまあの近似です。 |
| 149 | <H3> |
| 150 | <!--<A NAME="Vertical">Vertical</A> Metrics --> |
| 151 | <A NAME="Vertical">縦書き</A>用メトリック |
| 152 | </H3> |
| 153 | <P> |
| 154 | <!-- |
| 155 | FontForge provides some support for the vertical metrics needed for CJK fonts. |
| 156 | First you must tell FontForge that this font should contain vertical metrics, |
| 157 | do this with <CODE>Element->Font Info->General->Has Vertical |
| 158 | Metrics</CODE>. Then in each outline glyph enable VMetrics in the Layers |
| 159 | palette. --> |
| 160 | FontForge は CJK フォントに必要な縦書きメトリックをある程度サポートしています。まず、FontForge に、このフォントが縦書きメトリックを含むように指示する必要があります。これを行うには <CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE>→<CODE>[一般情報]</CODE>→<CODE>[ ]縦書きメトリックが存在(<U>V</U>)</CODE> を使用します。それからレイヤパレットで各アウトライングリフの縦書きメトリックを有効にします。 |
| 161 | <P> |
| 162 | <!-- |
| 163 | You should now see a vertical advance line somewhere underneath your glyph. |
| 164 | You may drag this line just as you would the horizontal advance (width) line. |
| 165 | --> |
| 166 | 縦書きの字送りの高さを示す線がグリフの下のほうに見えるはずです。この線を、横書きの送り幅の線と同様にドラッグすることができます。 |
| 167 | <H3> |
| 168 | <!--Setting the <A NAME="baseline">baseline</A> to baseline spacing of a font. --> |
| 169 | フォントの<A NAME="baseline">ベースライン</A>とベースラインの間隔の設定方法 |
| 170 | </H3> |
| 171 | <P> |
| 172 | <!-- |
| 173 | You might imagine that there would be an easy way to set this seemingly important |
| 174 | quantity. Unfortunately there is not. --> |
| 175 | この、外観上重要な意味をもつ量を設定する簡単な方法があるとお考えになるかもしれません。残念ながら無いのです。 |
| 176 | <DL> |
| 177 | <DT> |
| 178 | <!-- In a PostScript Type1 font (or bare CFF font) --> |
| 179 | PostScript Type1 フォント (または裸の CFF フォント) における方法 |
| 180 | <DD> |
| 181 | <!-- There is no way to set this value.<BR> |
| 182 | At all, ever.<BR> |
| 183 | In traditional typography the inter-line spacing is 1em (which in FontForge |
| 184 | is the ascent+descent of a font). Some applications will use this. Other |
| 185 | applications will use the font's bounding box (summing the maximum ascender |
| 186 | height with the minimum descender depth) - - a very bad, but very common approach. --> |
| 187 | この値を設定する方法はありません。<BR> |
| 188 | 本当に、まったく無いのです。</BR> |
| 189 | 伝統的な活版印刷では行と行の間隔は 1em です (これは、FontForge ではフォントの高さ+深さに相当します)。いくつかのアプリケーションはこの値を使用するでしょう。他のアプリケーションはフォントのバウンディングボックス (アセンダの最大高さとディセンダの最小深さを足した数値) を使用するでしょう——非常に問題のある、しかしながら非常によく使われているアプローチです。 |
| 190 | <DT> |
| 191 | <!-- In a TrueType or OpenType font--> |
| 192 | TrueType または OpenType フォントにおける方法 |
| 193 | <DD> |
| 194 | <!-- Unfortunately this depends on the platform--> |
| 195 | 残念ながらこれはプラットフォームに依存します。 |
| 196 | <DL> |
| 197 | <DT> |
| 198 | Mac |
| 199 | <DD> |
| 200 | <!-- On a mac the baseline to baseline spacing is determined again by the bounding |
| 201 | box values of the font, specified in the 'hhea' table, possibly modified |
| 202 | by a linegap (Which you can set in FontForge with |
| 203 | <A HREF="fontinfo.html">Element->FontInfo->OS/2</A>. --> |
| 204 | Mac では、ベースラインとベースラインの間隔は、ここでも‘hhea’テーブルで指定されているフォントのバウンディングボックスの値によって決まり、この値は行間 (FontForge では <A HREF="fontinfo.html"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE>→<CODE>[OS/2]</CODE></A> で設定できます。 |
| 205 | <DT> |
| 206 | <!-- On Windows --> |
| 207 | Windows では |
| 208 | <DD> |
| 209 | <!-- According to the OpenType spec, the baseline to baseline distance is set |
| 210 | by the values of Typographic Ascent and Descent of the 'OS/2' table. These |
| 211 | can be set with |
| 212 | <A HREF="fontinfo.html">Element->FontInfo->OS/2</A>, but are usually |
| 213 | allowed to default to the Ascent and Descent values of FontForge -- they |
| 214 | generally sum to 1em and are equivalent to the traditional unleaded |
| 215 | default.<BR> --> |
| 216 | OpenType の仕様書によると、ベースライン間の距離は‘OS/2’テーブルの Typpographic Ascent と Descent の値によって設定されます。これらは<A HREF="fontinfo.html"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE>→<CODE>[OS/2]</CODE></A> によって設定できますが、一般には FontForge のデフォルト値のままにしておくことが広く行われています——それらの値の合計は一般に 1 em になり、伝統的な行間アキ無しのときのときのデフォルトと等価です。<BR> |
| 217 | <!-- Again this may be modified by a linegap field.<BR> --> |
| 218 | この値も行間 (linegap) フィールドで補正できます。 |
| 219 | <!-- Unfortunately Windows programs rarely follow the standard (which I expect |
| 220 | doesn't supprise anyone), and generally they will use the font's bounding |
| 221 | box as specified in the Win Ascent/Descent fields of the 'OS/2' table. --> |
| 222 | 残念ながら Windows のプログラムはほとんど標準に従わず (今さら誰も驚かないとは思いますが)、一般にフォントのバウンディングボックスを‘OS/2’テーブルの Win Ascent/Descent フィールドで指定されたものとして使用するでしょう。 |
| 223 | <DT> |
| 224 | <!-- On linux/unix --> |
| 225 | Linux/Unix では |
| 226 | <DD> |
| 227 | <!-- I doubt there is any standard behavior. Unix apps will probably choose one |
| 228 | of the above. --> |
| 229 | 標準的な振舞いが存在するのか疑問に思います。Unix のアプリケーションはおそらくこれらのどれか 1 つを選ぶでしょう。 |
| 230 | </DL> |
| 231 | </DL> |
| 232 | <P> |
| 233 | <!-- |
| 234 | Typographically ept applications will allow users to adjust baseline to baseline |
| 235 | spacing, so the default value may not be all that relevant. --> |
| 236 | タイポグラフィ上の機能が豊富なアプリケーションは、ユーザがベースライン間のスペーシングを調整できるようにしていますので、デフォルト値がどんな値でも無関係です。 |
| 237 | <H2> |
| 238 | <!--<A NAME="Kerning">Kerning</A>--> |
| 239 | <A NAME="Kerning">カーニング</A> |
| 240 | </H2> |
| 241 | <P> |
| 242 | <!-- |
| 243 | If you are careful in setting the left and right side-bearings you can design |
| 244 | your font so that the spacing looks nice in almost all cases. But there are |
| 245 | always some cases which confound simple solutions. --> |
| 246 | 左右のサイドベアリングを注意深く設定していれば、ほとんどの場合に字間が美しく見えるようにフォントをデザインすることができるでしょう。 |
| 247 | しかし、常にいくつかは単純に解決できない場合が存在します。 |
| 248 | <P> |
| 249 | <!-- |
| 250 | Consider "<FONT FACE="helvetica">To</FONT>" or |
| 251 | "<FONT FACE="helvetica">Av</FONT>" here the standard choices are inappropriate. |
| 252 | The "<FONT FACE="helvetica">o</FONT>" will look better if it can slide more |
| 253 | to the left and snuggle under the top bar of the |
| 254 | "<FONT FACE="helvetica">T</FONT>". This is called kerning, and it is used |
| 255 | to control inter-glyph spacing on a pair-by-pair basis. --> |
| 256 | ここでは“<FONT FACE="helvetica">To</FONT>”や“<FONT FACE="helvetica">Av</FONT>”などの標準的設定が不適切だった場合を考えましょう。文字“<FONT FACE="helvetica">o</FONT>”は、より左にずらして“<FONT FACE="helvetica">T</FONT>" のトップバーの下にもぐり込むようにしたほうが美しく見えるでしょう。これはカーニングと呼ばれ、グリフ間の空きを各文字対に基づいて制御します。 |
| 257 | <TABLE BORDER CELLPADDING="2"> |
| 258 | <CAPTION> |
| 259 | <!-- Kerning--> |
| 260 | カーニング |
| 261 | </CAPTION> |
| 262 | <TR> |
| 263 | <TD><IMG src="../../_images/To-unkerned.png" WIDTH="204" HEIGHT="323"></TD> |
| 264 | <TD><IMG src="../../_images/To-kerned.png" WIDTH="204" HEIGHT="323"></TD> |
| 265 | </TR> |
| 266 | </TABLE> |
| 267 | <P> |
| 268 | <!-- |
| 269 | In the above example the left image shows the unkerned text, the right shows |
| 270 | the kerned text. To create a kerned pair, simply click on the right glyph |
| 271 | of the pair, the line (normally the horizontal advance) between the two should |
| 272 | go green (and becomes the kerned advance). Drag this line around until the |
| 273 | spacing looks nice. --> |
| 274 | 上の例では左の画像はカーニング無しのテキストを、右はカーニング有りのテキストを示しています。 |
| 275 | カーニングのペアを作成するのは簡単です: 右のグリフをクリックすると、2 つのグリフの間の線 (通常は横書きの送り幅) が緑色になります。これを、空きの量が美しく見えるようになるまでドラッグしてください。 |
| 276 | <P> |
| 277 | <!-- |
| 278 | (Some glyph combinations are better treated by |
| 279 | <A HREF="editexample4.html#ligature">creating a ligature </A>than by kerning |
| 280 | the letters) --> |
| 281 | (ある種のグリフの組み合わせは、カーニングを設定するよりも<A HREF="editexample4.html#ligature">合字を作成</A>したほうが適切に扱えます) |
| 282 | <H3> |
| 283 | <!--Kerning classes --> |
| 284 | カーニングクラス |
| 285 | </H3> |
| 286 | <P> |
| 287 | <!-- |
| 288 | If you have many glyphs which have similar kerning features you might instead |
| 289 | wish to create a set of <A HREF="metricsview.html#kernclass">kerning |
| 290 | classes</A> (which might say that A, À, Á, Â, Â, |
| 291 | Ã and Ä all kern alike). --> |
| 292 | 同じようなカーニング機能をもつグリフがたくさんある場合には、それらの代わりに 1 組の<A HREF="metricsview.html#kernclass">カーニングクラスを作成</A>したほうが楽でしょう (これにより A と À, Á, Â, Â, Ã, Ä などがカーニングの上ですべて同じ物として扱われます)。 |
| 293 | <H3> |
| 294 | <!--<A NAME="VKern">Vertical</A> Kerning --> |
| 295 | <A NAME="VKern">縦書き</A>カーニング |
| 296 | </H3> |
| 297 | <P> |
| 298 | <!-- |
| 299 | FontForge has equivalent support for vertical kerning. It can read and write |
| 300 | vertical kerning information from and to truetype, opentype and svg fonts. |
| 301 | It allows you to create vertical kerning classes. The metrics window has |
| 302 | a vertical mode in which you can set vertical kerning pairs. Finally it has |
| 303 | a command which will copy horizontal kerning information to the vertically |
| 304 | rotated glyphs (That is, if the combination "A" "V" is horizontally kerned |
| 305 | by -200, then "A.vert" "V.vert" should be vertically kerned by -200. --> |
| 306 | FontForge は縦書きカーニングについても横書き同様にサポートしています。TrueType, OpenType および SVG フォントから縦書きカーニングを読み込んだり書き出したりすることができます。縦書きカーニングを作成することも可能です。メトリックウィンドウには、縦書きカーニングペアを設定できる縦書きモードがあります。そして最後に、横書きのカーニング情報を縦向きに回転したグリフにコピーするコマンドがあります (つまり、“A”と“V”の組合せが横書きで -200 だけ詰められている場合、“A.vert”と“V.vert”は -200 だけ縦に詰められるということです)。 |
| 307 | <P> |
| 308 | <!-- |
| 309 | (Vertical kerning is only available if the font has vertical metrics) --> |
| 310 | (縦書きカーニングは、フォントに縦書きメトリックが存在するときにかぎり利用可能です) |
| 311 | <P> |
| 312 | <P> |
| 313 | <P ALIGN=Center> |
| 314 | — <A HREF="editexample4.html">前</A> — <A HREF="overview.html">目次</A> |
| 315 | — <A HREF="editexample6.html">次</A> — |
| 316 | </DIV> |
| 317 | </BODY></HTML> |
| 318 |