| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <!-- Created with AOLpress/2.0 --> |
| 4 | <!-- AP: Created on: 6-Dec-2000 --> |
| 5 | <!-- AP: Last modified: 17-Jun-2006 --> |
| 6 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> |
| 7 | <!--<TITLE>The Font View</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 | <!-- Font View --> |
| 16 | フォントビュー |
| 17 | </H1> |
| 18 | <P> |
| 19 | <IMG SRC="AmbrosiaFV.png" WIDTH="423" HEIGHT="234"> |
| 20 | <P> |
| 21 | <!-- |
| 22 | The font view is a list of all the glyph available in the given font. --> |
| 23 | フォントビューは、あるフォントに含まれる全てのグリフをアクセスできるリストです。 |
| 24 | <P> |
| 25 | <!-- |
| 26 | You may chose to display it at various sizes, by default it will be displayed |
| 27 | with the outline font rasterized on a 24 pixel em square. You may display |
| 28 | it at 36, 48, 72 and 96 pixel sizes as well. You may also choose to look |
| 29 | at an anti-aliased greymap (the above image is anti-aliased). These are slower |
| 30 | to generate but look nicer (<A HREF="AA-Comparison.html">Comparison</A>). --> |
| 31 | 文字表示をさまざまなサイズから選択できます。 |
| 32 | デフォルトでは、em 正方形を24 ピクセルでラスタライズします。 |
| 33 | 36, 48, 72 および 96 ピクセルを選ぶこともできます。 |
| 34 | 文字をアンチエイリアスされたグレイマップで表示するかを選ぶこともできます (上の図は、アンチエイリアス表示されています)。 |
| 35 | アンチエイリアスを行うと表示は遅くなりますが、見栄えは良くなります (<A HREF="AA-Comparison.html">比較</A>)。 |
| 36 | <P> |
| 37 | <!-- |
| 38 | If you have an encoding slot which has nothing in it (as opposed to an encoding |
| 39 | which maps to a space glyph) then that will be shown by a faint red X drawn |
| 40 | across the box. --> |
| 41 | ある符号位置に何も割り当てられていない場合、(空白文字に割り当てられた文字符号と異なり) 鈍い赤色の×字形がマスの中央に表示されます。 |
| 42 | <P> |
| 43 | <!-- |
| 44 | Above each image of the glyphs in the font is a label indicating the glyph |
| 45 | in some conventional format. Usually this is just a small image of the glyph |
| 46 | in a standard font (as it is above), but you can change it to show the glyph's |
| 47 | name, unicode code point or encoding (in hex). In small views (24 pixel view |
| 48 | for instance) there may not be room for the entire label, and it will appear |
| 49 | truncated. --> |
| 50 | フォント内の各グリフの画像の上には、グリフをある伝統的な書式で表示しているラベルがあります。通常はこれは単に、標準フォントで表示した小さなグリフの画像です (上の図のように) が、グリフ名や Unicode のコードポイントまたはエンコーディングを (16 進数で) 表示するように変更することができます。小さなビューでは (例えば 24 ピクセル表示では)ラベル全体を表示する余地がないので、それらは切り詰められるでしょう。 |
| 51 | <P> |
| 52 | <!-- |
| 53 | <IMG src="../../_images/fvOutOfDateHinting.png" WIDTH="99" HEIGHT="66" ALIGN="Left">If |
| 54 | a glyph has been changed since it was last hinted (PostScript), or if a glyph |
| 55 | contains contours but has no instructions (TrueType), then its label will |
| 56 | be edged with blue bars. If the glyph has out of date instructions (TrueType), |
| 57 | then its label will be edged with red. --> |
| 58 | <IMG src="../../_images/fvOutOfDateHinting.png" WIDTH="99" HEIGHT="66" ALIGN="Left">あるグリフに最後の (PostScript) ヒントを付け加えた後にグリフを変更しているか、グリフに輪郭が含まれているのに (TrueType) 命令が含まれていないならば、そのラベルは青い枠線で縁取り表示されます。グリフの (TrueType) ヒントが今のアウトラインよりも古いものであれば、ラベルは赤い枠線で縁取り表示されます。 |
| 59 | <P> |
| 60 | <!-- |
| 61 | If one of your glyphs has something in its background layer then this will |
| 62 | be indicated visually (currently by darkening the background of the glyph |
| 63 | label). --> |
| 64 | グリフが何らかの背景レイヤを持っている場合、それは視覚的に表されます (現在はグリフラベルの背景を暗くすることによって表しています) |
| 65 | <P> |
| 66 | <!-- |
| 67 | You may also display any of the bitmap fonts you have generated from the |
| 68 | outline glyph. Simply go to the View menu and select the one you want. --> |
| 69 | また、グリフアウトラインから生成した全てのビットマップフォントを表示することができます。<CODE>表示(<U>V</U>)</CODE> メニューから見たいサイズのビットマップを選んでください。 |
| 70 | <P> |
| 71 | <!-- |
| 72 | If you look at a bitmap version of the font, and it does not contain a glyph |
| 73 | for which there is an outline glyph (ie. the font needs its bitmaps regenerated) |
| 74 | then the missing glyph will be outlined in red to bring it to your attention |
| 75 | more easily. --> |
| 76 | フォントのビットマップ版を見るとき、グリフアウトラインがあるのにビットマップが含まれていない (つまり、ビットマップを再生成する必要がある) とき、存在しないビットマップグリフは、注意をひきやすくするために赤い枠で囲んで表示されます。 |
| 77 | <P> |
| 78 | <!-- |
| 79 | Small bitmap fonts will be magnified. If the pixelsize of the font is less |
| 80 | than 10 it will be shown 3 times normal size, if less than 20 twice normal |
| 81 | size. --> |
| 82 | 小さなビットマップフォントは拡大表示されます。 |
| 83 | フォントのピクセルサイズが 10 未満のときは通常サイズの 3 倍で、20 未満のときは通常サイズの 2 倍で表示されます。 |
| 84 | <P> |
| 85 | <!-- |
| 86 | Underneath the menu bar is some information on the last glyph selected. First |
| 87 | is the encoding of the glyph in the current font expressed in decimal. Next |
| 88 | is the unicode code point for the glyph (or ???? if it is not a unicode |
| 89 | character). Next the postscript name for the glyph, and finally the unicode |
| 90 | name. Not all unicode characters will have unicode names (the CJK characters |
| 91 | do not for example) --> |
| 92 | メニューバーの直下には、最後に選択したグリフに関連する情報が表示されます。 |
| 93 | まず現在のフォントにおけるグリフのエンコーディングが 10 進数で表示されます。 |
| 94 | 次はそのグリフの Unicode のコードポイントです (Unicode 文字でない場合、???? と表示されます)。 |
| 95 | その次はそのグリフの PostScript 名で、最後が Unicode 名です。 |
| 96 | 全ての Unicode 文字が Unicode 名を持つわけではありません (例えば、CJK 文字は持っていません)。 |
| 97 | <P> |
| 98 | <!-- |
| 99 | If you move the cursor to a glyph and let it rest there a small popup window |
| 100 | will appear containing information about that glyph. If you depress the control |
| 101 | key then this window is locked in place until you move the mouse. --> |
| 102 | カーソルをあるグリフの上に持って行ってしばらく待つと、そのグリフに関する情報を含む小さなポップアップウィンドウが表示されます。 |
| 103 | Control キーを押しておくと、マウスを移動するまでそのウィンドウはその場に固定されます。 |
| 104 | <P> |
| 105 | <!-- |
| 106 | You may display <A NAME="metrics">metrics</A> lines (baseline, origin and |
| 107 | advance width) in the font view. (View -> Show H Metrics). If you do so, |
| 108 | I suggest viewing the font at a large pixel size, otherwise the window looks |
| 109 | too confusing. --> |
| 110 | フォントビューで、<A NAME="metrics">メトリック</A>の補助線 (ベースライン, 原点と送り幅) を表示することができます (<CODE>表示(<U>V</U>)</CODE>→<CODE>横書きメトリックの表示法(<U>H</U>)...</CODE>)。 |
| 111 | これを行うときには、フォントを大きなピクセルサイズで表示することをお勧めします。さもないとウィンドウはごてごてして見にくくなります。 |
| 112 | <TABLE BORDER CELLPADDING="2"> |
| 113 | <TR> |
| 114 | <TD><P ALIGN=Center> |
| 115 | <IMG src="../../_images/FVHMetrics.png" WIDTH="100" HEIGHT="116"></TD> |
| 116 | <TD><P ALIGN=Center> |
| 117 | <IMG src="../../_images/FVVMetrics.png" WIDTH="100" HEIGHT="116"></TD> |
| 118 | </TR> |
| 119 | <TR VALIGN="Top"> |
| 120 | <!-- <TD>A 96 pixel display showing the various horizontal metric lines.<BR> |
| 121 | The blue line is the baseline<BR> |
| 122 | The small red tick on the left marks the glyph origin.<BR> |
| 123 | The green line on the right shows where the advance width is while the |
| 124 | bottom green line shows how long it is. (normally you will not display |
| 125 | both at once)<BR> |
| 126 | The glyph is centered horizontally, and the font ascent is the top of the |
| 127 | box displaying it, while the descent is the bottom.</TD> |
| 128 | --> |
| 129 | <TD>横書きメトリックの各種の補助線を 96 ピクセルで表示しているところ。<BR> |
| 130 | 青い線はベースライン。<BR> |
| 131 | 左にある赤い小さな縦棒はグリフの原点を表す。<BR> |
| 132 | 右側にある緑色の線は字送りの位置を表し、画面下の緑色の線は送り幅を表す。<BR> |
| 133 | (ふつうは両方同時に表示する必要はないはず)<BR> |
| 134 | グリフは幅の中央に配置されており、このフォントの高さは表示枠の上端に、<BR> |
| 135 | 深さは表示枠の下端に相当する。</TD> |
| 136 | <!-- <TD>A 96 pixel display showing the various vertical metric lines.<BR> |
| 137 | The blue line down the center is the vertical baseline.<BR> |
| 138 | The red bar at the top (over writing the ascent line) is the vertical |
| 139 | origin.<BR> |
| 140 | The green line at the bottom shows where the vertical advance is while |
| 141 | the green line on the right shows how long it is. (normally you will |
| 142 | not display both at once)</TD> --> |
| 143 | <TD>縦書きメトリックの各種の補助線を 96 ピクセルで表示しているところ。<BR> |
| 144 | 中央に引かれた青い垂直線は縦書きのベースライン。<BR> |
| 145 | 上の小さな赤い横棒 (高さを表す線に重なる) はグリフの原点を表す。<BR> |
| 146 | 下にある緑色の線は字送りの位置を、右にある緑色の線は送り幅を表す。<BR> |
| 147 | (ふつうは両方同時に表示する必要はないはず)</TD> |
| 148 | </TR> |
| 149 | </TABLE> |
| 150 | <P> |
| 151 | <!-- |
| 152 | You may select any number of glyphs in the font by dragging through them. |
| 153 | You may use shift-click to select (or deselect) additional glyphs. You may |
| 154 | also use the arrow keys to move around (and shift-arrow to select). To some |
| 155 | extent the order you select glyphs in will be remembered and a few commands |
| 156 | will make use of that. --> |
| 157 | フォントビューの上でドラッグすることにより、フォント内のグリフをいくらでも同時に選択することができます。Shift キーを押しながらクリックすることによりグリフを追加選択 (または選択解除) することができます。矢印キーを選択グリフの移動に使うことも可能です (範囲指定には Shift+矢印キーが使えます)。グリフを選択した順番はある程度記録され、いくつかのコマンドは操作の時にそれを使用します。 |
| 158 | <P> |
| 159 | <!-- |
| 160 | You may drag and drop selected glyphs into --> |
| 161 | 選択したグリフは、以下の場所にドラッグ&ドロップすることができます。 |
| 162 | <DL> |
| 163 | <DT> |
| 164 | <!-- The metrics view--> |
| 165 | メトリックビュー |
| 166 | <DD> |
| 167 | <!-- Where they will be inserted into the display before the selected glyph (selected |
| 168 | in the metrics view) in the order in which you selected them in the font |
| 169 | view.--> |
| 170 | この場合、グリフはフォントビューで選択された順番を保って、画面上の選択されたグリフ (メトリックビューでの選択グリフ) の前の位置に挿入されます。 |
| 171 | <DT> |
| 172 | <!-- The outline view--> |
| 173 | アウトラインビュー |
| 174 | <DD> |
| 175 | <!-- Where they will appear as references--> |
| 176 | この場合、それらの文字は参照として表示されます。 |
| 177 | <DT> |
| 178 | <!-- The glyph info substitutions/ligature dlg--> |
| 179 | グリフ情報ウィンドウの <CODE>[置換]</CODE>/<CODE>[合字]</CODE> ダイアログ |
| 180 | <DD> |
| 181 | <!-- Where they will appear as a substitution or ligature.--> |
| 182 | この場合、それらの文字は置換または合字として表示されます。 |
| 183 | </DL> |
| 184 | <P> |
| 185 | <!-- |
| 186 | The [Tab] key will move to the next glyph with something in it, and Shift-[Tab] |
| 187 | will move to the previous glyph with something interesting. --> |
| 188 | [Tab] キーを押すと、何らかのデータが含まれている次のグリフに移動し、Shift + [Tab] キーで、有効なデータのある前のグリフに移動します。 |
| 189 | <P> |
| 190 | <!-- |
| 191 | You can perform various operations on the selected glyphs: --> |
| 192 | 選択されたグリフに対し、以下のような様々な操作を行うことができます。 |
| 193 | <UL> |
| 194 | <LI> |
| 195 | <!-- Apply a general transformation (ie. move 20 units right and then rotate |
| 196 | 180°) --> |
| 197 | 一般的な変換操作を適用する (例: 20 ユニット右に移動してから180°回転する) |
| 198 | <LI> |
| 199 | <!-- Expand all paths to be stroked paths--> |
| 200 | 全てのパスをペンで描いた線に変換する |
| 201 | <LI> |
| 202 | <!-- Clean up areas where several paths intersect--> |
| 203 | いくつかのパスが交差する領域を整理する |
| 204 | <LI> |
| 205 | <!-- Simplify paths--> |
| 206 | パスを単純化する |
| 207 | <LI> |
| 208 | <!-- Build Accented Characters--> |
| 209 | アクセントつき文字を構築する |
| 210 | <LI> |
| 211 | <!-- Regenerate bitmaps--> |
| 212 | ビットマップを再生成する |
| 213 | <LI> |
| 214 | <!-- Autohint--> |
| 215 | 自動ヒントづけを行う |
| 216 | <LI> |
| 217 | <!-- Control various metrics settings--> |
| 218 | 各種のメトリック設定を制御する |
| 219 | </UL> |
| 220 | <P> |
| 221 | <!-- |
| 222 | And, of course, you can cut and paste. Normally copying a glyph will copy |
| 223 | that glyph and any bitmaps associated with it, but you can use the |
| 224 | Edit->Copy From menu item to change this so that only entries from the |
| 225 | currently displayed font are copied. So if a 12 pixel font is being displayed |
| 226 | then only the bitmaps from the 12 pixel bitmap font will be copied in this |
| 227 | mode. Cut and Clear will clear those things which would be copied. --> |
| 228 | もちろん、それに加えて、カット&ペーストを行うことができます。通常、あるグリフをコピーするとそのグリフおよび付随するビットマップを全てコピーしますが、<CODE>編集(<U>E</U>)</CODE>→<CODE>コピー元の指定(<U>F</U>)</CODE> の項目選択で、現在表示されているフォントだけをコピーするように変更することができます。それにより、例えば 12 ピクセルフォントが表示されているときは、そのモードでは 12 ピクセルのビットマップフォントだけがコピーされます。<CODE>切り取り(<U>T</U>)</CODE> と <CODE>クリア(<U>L</U>)</CODE> は、コピーの対象となるデータを取り除きます。 |
| 229 | <P> |
| 230 | <!-- |
| 231 | Paste is a little more complicated. In general it will paste whatever is |
| 232 | in the clipboard, regardless of the copy mode. So if the clipboard contains |
| 233 | a 12pixel bitmap and the font view is displaying outlines, then pasting it |
| 234 | will paste it into the 12pixel font none the less. There is one exception |
| 235 | to this. If the clipboard contains a 12 pixel bitmap and the font view is |
| 236 | currently display a 17pixel bitmap then the paste will go into the displayed |
| 237 | bitmap. --> |
| 238 | <CODE>貼り付け(<U>P</U>)</CODE> はやや複雑です。一般的に、クリップボードにある物はコピーモードに関係なくすべて貼り付けられます。そのため、クリップボードに 12 ピクセルのビットマップが含まれている場合、フォントビューがアウトラインを表示していたとしても、貼り付けを行うと 12 ピクセルフォントのデータが書き換えられます。この動作には一つ例外があります。クリップボードに 12 ピクセルのビットマップフォントが含まれていて、フォントビューが現在 17 ピクセルのビットマップを表示しているような場合、貼り付けられたデータは現在表示中のビットマップに置かれます。 |
| 239 | <P> |
| 240 | <!-- |
| 241 | A Paste from the font view will delete whatever splines were in the glyph |
| 242 | beforehand (while a paste in the outline glyph view will merge the new set |
| 243 | of splines with the old). Paste from the font view will also set the width |
| 244 | of the glyph.--> |
| 245 | フォントビューへの貼り付けを行うと、そのグリフに以前含まれていたスプラインは完全に削除されます (アウトライングリフビューへの貼り付けでは以前あったスプラインデータへの追加を行う点が異なります)。フォントビューへの貼り付けでは、グリフの幅もコピーの対象になります。 |
| 246 | <P> |
| 247 | <!-- |
| 248 | You can scroll the display to any particular character by typing that character. |
| 249 | There is also a dialog which allows a slightly more general way of jumping |
| 250 | around. You may type in the glyph's name (all glyphs in a font will be named), |
| 251 | its encoding value, its unicode encoding value, or (for 2 byte fonts) its |
| 252 | ku ten specification. --> |
| 253 | 任意の文字をキー入力することにより、その文字へスクロールして移動することができます。ダイアログを使って、それよりわずかに汎用的な方法でビュー内を飛び回ることもできます。グリフの名前 (フォント内に含まれる全てのグリフには名前がついています)、エンコーディングの値、Unicode エンコーディングでの値、または (2 バイトフォントでは) 区点番号を入力することができます。 |
| 254 | <P> |
| 255 | <!-- |
| 256 | Pressing the right mouse button invokes a popup menu. --> |
| 257 | マウスの右ボタンを押すとポップアップメニューが出て来ます。 |
| 258 | <H2> |
| 259 | <!-- <A NAME="Encodings">Encodings and Character Sets</A>--> |
| 260 | <A NAME="Encodings">エンコーディングと文字集合</A> |
| 261 | </H2> |
| 262 | <P> |
| 263 | <!-- |
| 264 | A Character Set is a set of characters (for example all the letters of the |
| 265 | alphabet would be one character set). An encoding is a function that takes |
| 266 | a number (often between 0 and 255) and maps it to a character. Often these |
| 267 | two are used synonymously as an encoding generally implies a given character |
| 268 | set. (strictly speaking a character set is an unordered collection with no |
| 269 | implied encoding, and some encodings work with multiple character sets). --> |
| 270 | 文字集合 (character set) は、一定の文字の集まりのことです (例えば、アルファベットに含まれる全ての文字は 1 個の文字集合となるでしょう)。エンコーディング (符号化方式) は、与えられた数値 (しばしば 0 から 255) を文字に対応づける関数です。しばしばこれら 2 つは同義的に用いられ、一般的には、あるエンコーディングにはある特定の文字集合が結びついているものと暗黙に前提されます。(厳密に言えば、文字集合は順序づけられていない集合であり、何らエンコーディングを暗示するものではありませんし、一部のエンコーディングは複数の文字集合に適用されて使用されます)。 |
| 271 | <P> |
| 272 | <!-- |
| 273 | All fonts in fontforge have both a character set and an encoding. The character |
| 274 | set is just the set of characters in the font. The encoding is the way those |
| 275 | characters are ordered (or sometimes, the way the first 256 are ordered). |
| 276 | The font info dialog allows you to chose the encoding (and character set) |
| 277 | you wish for a font. Often a font will have a few extra glyphs that don't |
| 278 | fit into the character set specified by the encoding, these glyphs will be |
| 279 | placed at the end of the font and when the font is output (ie. postscript |
| 280 | is generated, or a bitmap font created) the glyphs will be included in the |
| 281 | font but they will not be encoded (this can be useful, especially in postscript |
| 282 | where it is possible to reencode a font at run time. Thus a font might have |
| 283 | all the glyphs needed both for a cyrillic character set and for a latin one, |
| 284 | but only one character set at a time would be encoded).--> |
| 285 | FontForge 内の全てのフォントは、文字集合とエンコーディングの両方を備えています。ここで文字集合は、単純にフォントの含む文字の集合のことです。エンコーディングは、それらの文字が並んでいる順番です (時には、最初の 256 文字が並んでいる順番のことを指すこともあります)。<CODE>フォント情報</CODE> ダイアログにより、フォントのエンコーディング (および文字集合) を選択することができます。1 個のフォントの中には、エンコーディングによって指定された文字集合に当てはまらない若干の追加グリフが含まれることがしばしばあります。それらのグリフはフォントの最後に配置され、フォントが出力される時 (例えば PostScript が生成される時やビットマップフォントが作成される時)、それらのグリフはフォント内に含まれますが符号化されません。(これは役に立つことがあります。特に、PostScript では実行時にフォントのエンコーディングを切り替えることができるので、1 個のフォントにキリル文字集合とラテン文字集合の両方がそれぞれ必要とするグリフを全て収録することができます。ただし、一度には 1 個の文字集合しか符号化することができません)。 |
| 286 | <P> |
| 287 | <!-- |
| 288 | It is possible for an encoding not to be one-to-one. That is there may be |
| 289 | several characters that might lead to the same underlying glyph (the classic |
| 290 | example is the non-breaking space which often uses the same glyph as the |
| 291 | breaking space). When FontForge encounters such an encoding it will create |
| 292 | a character structure for each entry, one of those structures will contain |
| 293 | the data for drawing the glyph, the other(s) will contain a reference to |
| 294 | the one real character. All characters will have the same name. When FontForge |
| 295 | generates a font it looks for this case and turns it into a font whose encoding |
| 296 | vector contains multiple references to a glyph. --> |
| 297 | エンコーディングによって、1 対 1 でない対応づけを行うことも可能です。というのも、文字に伴うグリフを二、三の文字が共有することも可能だからです (古典的な例としては、改行不能の空白がしばしば改行可能の空白と同じグリフを共有していることがあります)。FontForge がこのようなエンコーディングに出会ったときは、それぞれの項目に対して文字の構造体を作成し、それらの構造体の一つにグリフを描画するためのデータを格納し、その他の文字には文字の実体に対する参照を格納します。それら全ての文字は同じ名前を持つことになります。FontForge がフォントを生成する時はこのような場合を探し出し、1 個のグリフに対して複数の参照を含むエンコーディングベクタをもつフォントに変換します。 |
| 298 | <P> |
| 299 | <!-- It is also possible to have an encoding where a single character can lead |
| 300 | to several different glyphs depending on the context. In arabic, for example, |
| 301 | most characters have at least four different glyphs depending on whether |
| 302 | the character is found initially, medially or finally in a word, or if it |
| 303 | appears by itself (isolated). --> |
| 304 | 1 個の文字が複数の異なるグリフに対応するような符号位置が存在することも可能です。例えば、アラビア文字ではほとんどの文字が単語の最初・中間または最後のどこに位置するか、または単体で (孤立して) 表れるかによって最低 4 種類の異なるグリフを使用します。 |
| 305 | <P> |
| 306 | <!-- |
| 307 | You may also create a custom encoding. (Generally, only the first 256 entries |
| 308 | of a Custom encodings will actually be part of a font's encoding vector). |
| 309 | You may change the name of any glyph in the font with the Element->Char |
| 310 | Info command. This will force the font to have a custom encoding. --> |
| 311 | カスタムエンコーディングを作成することもできます。一般的に、フォントのエンコーディングベクタの一部分として含まれるのは、カスタムエンコーディングのうちの先頭 256 項目だけです)。<CODE>エレメント(<U>L</U>)</CODE>→<CODE>グリフ情報(<U>I</U>)...</CODE> コマンドを使用して、フォント内の任意のグリフの名前を変更することができます。これを行うと、フォントは強制的にカスタムエンコーディングに変換されます。 |
| 312 | <P> |
| 313 | <!-- |
| 314 | There are many standard encodings built in to the program. There are 14 ISO |
| 315 | 8859 encodings, the encoding used by the Macintosh for the US and Western |
| 316 | Europe, the encoding used by MS Windows for the US and Europe (which is a |
| 317 | slight extension of ISO 8859-1). There are also several 2-byte encodings |
| 318 | built in. Several of these are subsets of unicode (whose goal is to specify |
| 319 | every character currently used by humans). There are many large CJK (Chinese, |
| 320 | Japanese, Korean) two byte encodings. You can also add your own encodings |
| 321 | with the <A HREF="fontinfo.html">Element->Font Info</A> dialog. A brief |
| 322 | description of what's in the encodings also appears |
| 323 | <A HREF="fontinfo.html#Encodings">on that page</A>. --> |
| 324 | たくさんの標準エンコーディングがプログラムに組み込まれています。ISO 8859 で定義されたエンコーディングが 14 種類、米国と西ヨーロッパの Macintosh で使用されるエンコーディング、米国と西ヨーロッパの MS Windows で使用されているエンコーディング (ISO 8859-1 を少しだけ拡張したものです) があります。組み込みの 2 バイトエンコーディングもいくつかあります。それらのいくつかは、現在人間が用いている世界の全ての文字を指定することを目標にしている Unicode のサブセットです。多数の CJK (中国・日本・韓国) の 2 バイト文字集合が存在します。<A HREF="fontinfo.html"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>グリフ情報(<U>I</U>)...</CODE></A> ダイアログで、独自のエンコーディングを追加することができます。何がエンコーディングに含まれているかも<a href="fontinfo.html#Encodings">このページ</a>で簡単に説明しています。 |
| 325 | <P> |
| 326 | <!-- |
| 327 | There may be some slight differences between one vendor's definition of an |
| 328 | encoding and another. I try to follow those encodings specified by the Unicode |
| 329 | consortium. I notice that the Symbol encoding used by Microsoft differs from |
| 330 | the Unicode one (usually just be substituting synonyms, Omega for Ohm sign |
| 331 | for instance). --> |
| 332 | あるベンダによる特定のエンコーディングの定義が他のベンダによるものと微妙に異なることがあり得ます。 |
| 333 | それらのエンコーディングについては、Unicode Consortium が指定する定義に従ったつもりです。 |
| 334 | Microsoft が使用する Symbol エンコーディングは Unicode の定義と異なることが判明しています (通常は、例えばオメガがオーム記号になっているような単に同義の文字に置き換わっているだけです)。 |
| 335 | <P> |
| 336 | <!-- |
| 337 | Adobe did not choose their naming conventions very well for Greek letters. |
| 338 | They assigned the name "mu" to Micro Sign, "Delta" to Increment and "Omega" |
| 339 | to Ohm Sign. So the Greek alphabet has ugly nameless holes in it. --> |
| 340 | Adobe は、ギリシャ文字の名前づけに関してまずい方針を採用してしまいました。 |
| 341 | マイクロ記号に“mu", 増分記号に“Delta", オーム記号に“Omega" という名前を割り振っています。 |
| 342 | そのためギリシャアルファベットには醜い名無しの穴が空いています。 |
| 343 | <P> |
| 344 | <!-- |
| 345 | CID fonts (see <A HREF="#CID">below</A>) have no encodings. Instead they |
| 346 | are designed to be associated with one or several cmap files which provide |
| 347 | encodings in a general way. cmap files are beyond the scope of FontForge. |
| 348 | Adobe has defined many which are freely |
| 349 | <A HREF="http://www.adobe.com/products/acrobat/acrrasianfontpack.html">available</A>. --> |
| 350 | CIDフォント (<a href="#CID">下記</a>参照) にはエンコーディングがありません。 |
| 351 | その代わり、エンコーディングを一般的なやり方で供給する、1 種類ないし数種類の CMap ファイルと一緒に使用するように設計されています。 |
| 352 | CMap ファイルは FontForge のスコープ外です。 |
| 353 | Adobe は、無料で<A HREF="http://www.adobe.com/products/acrobat/acrrasianfontpack.html">入手可能</a>なファイルを数多く提供しています。 |
| 354 | <P> |
| 355 | <!-- |
| 356 | There is one final encoding called "Compacted". This encoding is just a |
| 357 | contiguous list of glyphs with no empty slots in it. It is often easier to |
| 358 | look at a CJK or unicode font without having to wade through thousands of |
| 359 | unused code points. --> |
| 360 | 最後にもう一つ、“Compacted”と呼ばれるエンコーディングがあります。このエンコーディングは単なる連続したグリフのリストで、空のスロットを含まない物です。CJK または Unicode のフォントを見るには、何千もの使用されていない符号位置を渡り歩く必要がないので、ふつうはこの方が便利です。 |
| 361 | <H3> |
| 362 | <A NAME="Unicode">Unicode</A> (ISO 10646) |
| 363 | </H3> |
| 364 | <P> |
| 365 | <!-- |
| 366 | PostScript® assigns a name to every unicode character. Some of these |
| 367 | names are fairly obvious like "A" for the first letter of the latin alphabet, |
| 368 | others are more obscure like "afii57664" for hebrew alef, while others are |
| 369 | just "uni8765" for the unicode character at 0x8765. --> |
| 370 | PostScript® は全ての Unicode 文字に名前を割り当てています。それらの文字の一部は非常に明瞭で、例えばラテンアルファベットの文字は“A”という名前です。一部はもっと分かりにくく、ヘブライ文字のアレフは“afii57664”という名前で、その他の物は Unicode の 0x8765 に位置する文字を単に“uni8765”のようにしています。 |
| 371 | <P> |
| 372 | <!-- |
| 373 | PostScript Unicode encoding does not quite mesh with the unicode standard. |
| 374 | This is probably because PostScript deals in glyphs and Unicode deals with |
| 375 | characters so PostScript sees no distinction between space and nobreak space |
| 376 | (and so does not encode the latter) while Unicode does. --> |
| 377 | PostScript の Unicode エンコーディングは Unicode 標準とうまく咬み合っていません。おそらく、これは PostScript がグリフを扱うのに対して Unicode は文字を扱っているため、PostScript では Unicode が区別しているスペースとノーブレークスペースの区別がない (そして後者に符号を割り当てていない) のが原因でしょう。 |
| 378 | <P> |
| 379 | <!-- |
| 380 | According to the <A HREF="http://www.unicode.org/">unicode website</A> the |
| 381 | first 256 character positions of unicode and ISO 8859-1 (ISO Latin1) are |
| 382 | the same. However the PostScript encoding of ISOLatin1 is slightly different |
| 383 | from that specified for unicode. I cannot explain the reasoning behind this. |
| 384 | FontForge does not use PostScript's ISOLatin1 Encoding vector, instead it |
| 385 | uses the first 256 code positions of the unicode encoding vector (slightly |
| 386 | modified by me to conform to Unicode conventions rather than PostScript. |
| 387 | So I include nobreak space and the soft-hyphen). --> |
| 388 | <A HREF="http://www.unicode.org/">Unicode の Web サイト</A>によると、Unicode の最初 256 文字は ISO 8859-1 (ISO ラテン 1) と同じです。しかしながら、PostScript の ISOLatin1 エンコーディングは、Unicode で指定されている物とわずかな差があります。私はこの背景にある理由を説明できません。FontForge は PostScript の ISOLatin1 エンコーディングベクターを使わず、その代わりに Unicode エンコーディングベクターの最初の 256 個のコード位置を使用します (PostScript ではなく Unicode の習慣に適合するようにわずかに変更してあります。そういうわけで、私はノーブレークスペースとソフトハイフンを含めています。 |
| 389 | <P> |
| 390 | <!-- |
| 391 | FontForge supports two slightly different unicode encodings. The first contains |
| 392 | only the first 65536 characters of unicode (those in the |
| 393 | <A HREF="http://www.unicode.org/roadmaps/bmp.html">Basic Multilingual |
| 394 | Plane</A>, or BMP), while the second can contain as many characters as you |
| 395 | have memory for. Character definitions are still sparse outside of the BMP |
| 396 | so at the moment you probably want to use just the BMP. Currently there are |
| 397 | only definitions for plane 0 (BMP, U+0000-U+ffff), Plane 1 |
| 398 | (<A HREF="http://www.unicode.org/roadmaps/smp.html">SMP, Secondary Multilingual |
| 399 | Plane</A>, U+10000-U+1ffff), Plane 2 |
| 400 | (<A HREF="http://www.unicode.org/roadmaps/sip.html">SIP, Supplementary |
| 401 | Ideographic Plane</A>, U+20000-U+2ffff), and Plane 14 |
| 402 | (<A HREF="http://www.unicode.org/roadmaps/ssp.html">SSP Supplementary |
| 403 | Special-purpose Plane</A>, U+e0000-U+effff). --> |
| 404 | FontForge は 2 つの微妙に異なる Unicode のエンコーディングをサポートしています。第 1 は、Unicode の最初の 65536 文字 (<A HREF="http://www.unicode.org/roadmaps/bmp.html">基本多言語面 (BMP)</A>) のみを含み、2 番目はメモリの許す限り多くの文字を含むことができます。BMP の外側では文字定義は非常に疎らなので、さしあたり BMP だけしか使いたいと思わないでしょう。今のところ、文字が定義されているのは、第 0 面 (BMP, U+0000〜U+FFFF), 第 1 面 (SMP, 第二多言語面, U+1000〜U+1FFFF)、第 2 面 (SIP, 補助漢字面、U+20000〜U+2FFF) および第 14 面 (SSP, 補助特殊用途面, U+E0000〜U+EFFFF) だけです。 |
| 405 | <H2> |
| 406 | <!-- <A NAME="CID">CID keyed fonts</A> --> |
| 407 | <A NAME="CID">CID キー指定フォント</A> |
| 408 | </H2> |
| 409 | <P> |
| 410 | <!-- |
| 411 | The standard mechanisms that postscript provides work reasonably well for |
| 412 | alphabets and syllabaries, but the massive number of characters needed for |
| 413 | CJK (Chinese, Japanese or Korean) fonts require more complex machinations. |
| 414 | Adobe's current solution is the <A HREF="cidmenu.html#CID">CID-keyed font</A>, |
| 415 | a font consisting of several subfonts each a collection of glyph descriptions |
| 416 | with no encoding imposed on them and no names given to them. --> |
| 417 | PostScript の標準のメカニズムはアルファベットと音節文字に対しては割合うまく働きますが、CJK (中国語・日本語・韓国語) フォントは、厖大な文字数を必要とするため、より複雑なたくらみを必要とします。Adobe の現在の解決法は <A HREF="cidmenu.html#CID">CID キー指定フォント</A>と呼ばれ、それぞれがグリフ記述の集合体であるいくつかのサブフォントからなる 1 個のフォントで、それらのグリフにはエンコーディングも定められておらず名前もついていません。 |
| 418 | <P> |
| 419 | <!-- |
| 420 | If FontForge loads in a CID keyed font it will enable a special menu called |
| 421 | <A HREF="cidmenu.html">CID</A> which (among other things) displays the list |
| 422 | of all the sub-fonts in the font. When it starts up FontForge will pick |
| 423 | (practically at random) a sub-font to display in the font view. You may change |
| 424 | which font is displayed by the CID menu. --> |
| 425 | FontForge が CID フォントを読み込むと、<A HREF="cidmenu.html">CID</A>という名の特殊メニューを表示し、そこには (他の項目に加えて) フォント内に含まれる全てのサブフォントのリストを表示します。起動時には、FontForge は (事実上ランダムな) 1 個のサブフォントを選んでフォントビューに表示します。CID メニューによってどのフォントが表示されているかを変更することができます。 |
| 426 | <P> |
| 427 | <!-- |
| 428 | The CID menu also allows you to turn a normal font into a CID keyed font. |
| 429 | It creates a collection containing just the original font (you may add other |
| 430 | fonts, or blank fonts, later). But before it can create a collection FontForge |
| 431 | needs to know what glyph set you will be using. A glyph set is just a collection |
| 432 | of glyphs, and you may define your own if you wish (but if you do you have |
| 433 | to define your own cmap files, etc and it's probably not worth it). Adobe |
| 434 | has defined glyph sets for Japanese (actually there are two, one corresponding |
| 435 | to JIS208 and one to JIS212), Korean (Wansung & Johab), Traditional Chinese |
| 436 | (Big5) and Simplified Chinese (GB2312). Although these glyph sets are based |
| 437 | on the standards mentioned, they each have many additional glyphs. Adobe |
| 438 | also defines a glyph set that works for Unicode, but it is called "Identity" |
| 439 | instead. FontForge does not have these glyph sets built in to it, each must |
| 440 | be loaded the first time it is used. I provide one file for each of the above |
| 441 | glyph sets, they have an extension of ".cidmap", and you may download them |
| 442 | all <A HREF="cidmaps.tgz">from here</A>. |
| 443 | --> |
| 444 | CID メニューでは、通常のフォントを CID キー指定フォントに変換することもできます。それはオリジナルフォント 1 個のみを含むコレクションを作成します (後で他のフォントを追加したり、空のフォントを挿入したりできます)。しかし、コレクションを作成する前に、FontForge はどのグリフセットを使うのか知っていなければなりません。グリフセットは単なるグリフの集まりで、もし新しいセットを定義したいならそうすることもできます (ただし、その場合は自分自身の CMap ファイル等を定義する必要があり、恐らくそうするだけの価値はないでしょう)。Adobe は日本語用のグリフセット (実際には 2 種類あります。一つは JIS X 0208 に対応し、もう一つは JIS X 0212 です)、韓国語用 (Wansung と Johab)、繁体字中国語 (Big5) と簡体字中国語 (GB2312) を既に定義しています。これらのグリフセットは上に挙げた規格に基づいていますが、それぞれのセットには追加のグリフがたくさんあります。Adobe は Unicode 用に動作するグリフセットも定義していますが、ただしそれは“Identity”と呼ばれています。FontForge はこれらのグリフセットを組み込んでいないので、それを最初に使用するときに読み込まなければなりません。 |
| 445 | 以上のグリフセットのそれぞれに 1 個ずつの定義ファイルが用意されていて、“.cidmap”という拡張子が付けられています。これらは全部<A HREF="cidmaps.tgz">ここから</A>ダウンロードすることができます。 |
| 446 | <P> |
| 447 | <!-- |
| 448 | (There are also many other character sets floating around but they aren't |
| 449 | in the public domain and I haven't been able to get my hands on them). --> |
| 450 | その他たくさんの文字セットがそこら中にありますが、それはパブリックドメインではなく、それを自分の手元に入手することはできませんでした。 |
| 451 | <P> |
| 452 | <!-- |
| 453 | Adobe identifies each glyph set by a three values: a registry, an ordering |
| 454 | and a supplement. The registry is the name of the organization that is defining |
| 455 | the glyph set (Adobe calls itself Adobe), an ordering identifies the glyph |
| 456 | set (Japan1, Korea1, etc.) and the supplement indicates how many times the |
| 457 | ordering has been revised. Glyphs may only be added to an ordering, never |
| 458 | removed, so an old font will be perfectly described by a newer glyph set, |
| 459 | while a new font described by an old glyph set will have some unavailable |
| 460 | glyphs. So a full cidmap name will look like:<BR> --> |
| 461 | Adobe は各グリフセットを 3 個の値で識別しています: 登録者 (registry)、順序づけ (ordering) および補遺番号 (supplement) です。登録者はグリフセットを定義する組織の名前で (Adobe は自分自身を Adobe と呼んでいます)、順序づけはグリフセット (Japan1, Korea1 等) を識別し、補遺番号は、順序づけが何度更新されたかを示します。グリフは順序づけに追加することだけが許され、決して削除されません。それにより、古いフォントを完全に新しいグリフセットで記述することができますが、古いグリフセットで新しいフォントを表現した物は、いくつかアクセスできない文字が出る結果となります。そういうわけで、完全な cidmap 名は以下のようになります:<BR> |
| 462 | |
| 463 | Adobe-Japan1-4.cidmap<BR> |
| 464 | Adobe-Korea1-2.cidmap |
| 465 | <P> |
| 466 | <!-- |
| 467 | <FONT COLOR="Red"><STRONG><BIG>Warning:</BIG></STRONG></FONT> CID keyed fonts |
| 468 | (actually any CJK font) use massive amounts of memory in FontForge. I am |
| 469 | able to work on many of them on my 256M machine with 384M of swap space. --> |
| 470 | <FONT COLOR="Red"><STRONG><BIG>警告:</BIG></STRONG></FONT> CID フォント |
| 471 | (実際には全ての CJK フォント) を FontForge で編集するには厖大な量のメモリを必要とします。 |
| 472 | 多くの物が 256MB のメモリと 384MB のスワップ容量をもつマシンで編集できるのを確認しています。 |
| 473 | <P> |
| 474 | <!-- |
| 475 | The <A HREF="editmenu.html#Remove-Undoes">Remove Undoes </A>command will |
| 476 | allow you to free up memory if you think you may be running short. FontForge |
| 477 | is not always able to protect itself against running out of memory, sometimes |
| 478 | the OS just sends it a SIGKILL signal. --> |
| 479 | メモリが不足しそうなときには、<A HREF="editmenu.html#Remove-Undoes"><CODE>アンドゥ履歴のクリア(<U>V</U>)</CODE></A> コマンドを使えばメモリを開放することができます。FontForge はメモリを使い果たしてしまう危険から常に守られているわけではなく、場合によっては OS からいきなり SIGKILL シグナルを送られてしまうことがあります。 |
| 480 | <H2> |
| 481 | <!-- <A NAME="MM">Multiple Master Fonts</A> --> |
| 482 | <A NAME="MM">マルチプルマスターフォント</A> |
| 483 | </H2> |
| 484 | <P> |
| 485 | <!-- |
| 486 | If the font is a <A HREF="multiplemaster.html#MM">Multiple Master </A>Font |
| 487 | there will again be several subfonts only this time all the subfonts contain |
| 488 | the same glyph set. Each subfont provides glyphs for one style of the font |
| 489 | family. The <A HREF="mmmenu.html">MM</A> menu allows you to control which |
| 490 | style of the family is visible in the font view, and provides a few other |
| 491 | commands for manipulating multiple masters.--> |
| 492 | フォントが<A HREF="multiplemaster.html#MM">マルチプルマスター</A>フォントである場合も、いくつかのサブフォントが存在しますが、この場合は全てのサブフォントが同じグリフセットを持っています。各サブフォントは、あるフォントファミリーの 1 スタイルにあたるグリフを提供します。<A HREF="mmmenu.html">MM</A> メニューでは、フォントビューでどのスタイルのファミリーが見えるかを制御できるほかに、その他いくつかのマルチプルマスターフォントを扱うフォントが存在します。 |
| 493 | <H2> |
| 494 | <!-- <A NAME="Vertical-Metrics">Vertical Metrics</A> --> |
| 495 | <A NAME="Vertical-Metrics">縦書きメトリック</A> |
| 496 | </H2> |
| 497 | <P> |
| 498 | <!-- |
| 499 | CJK fonts generally should have vertical metrics. Latin (Cyrillic, Greek) |
| 500 | fonts generally should not. If FontForge reads in a font with vertical metrics |
| 501 | it will retain those metrics, but when FontForge creates a new font then |
| 502 | that font will not have vertical metrics enabled. --> |
| 503 | CJK フォントは通常縦書き用のメトリックを備えている必要があります。ラテン文字 (やキリル文字、ギリシャ文字) のフォントは一般的にそれを含んでいてはなりません。FontForge が縦書きメトリックを含むフォントを読み込むと、それらのメトリックを保持しますが、FontForge が新しいフォントを作成した時には、そのフォントでは縦書きのメトリックが使用可能にはなっていません。 |
| 504 | <P> |
| 505 | <!-- |
| 506 | To enable vertical metrics for a font go to |
| 507 | <CODE><A HREF="fontinfo.html#vertical">Element->Font Info</A></CODE> and |
| 508 | select the <CODE>General</CODE> tab and check the <CODE>[*] Has Vertical |
| 509 | Metrics </CODE>checkbox. This will allow you to set the vertical origin for |
| 510 | the font and it will give every glyph a default vertical advance of the emsize |
| 511 | of the font (ascent+descent). --> |
| 512 | あるフォントで縦書きのメトリックを使用可能にするためには、<A HREF="fontinfo.html#vertical"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE></A> から <CODE>[一般情報]</CODE> タブを選択し、<CODE>[*] 縦書きメトリックが存在</CODE> チェックボックスにチェックを入れます。これを使うと、そのフォントの縦書きの原点を設定し、各グリフに縦書きの字送りのデフォルト値 (高さ+深さ) を EM サイズ単位でセットします。 |
| 513 | <P> |
| 514 | <!-- |
| 515 | The vertical origin is the y height (in the design coordinate system) of |
| 516 | the origin for vertical metrics. --> |
| 517 | 縦書きの原点は、縦書きメトリックの Y 軸方向の高さ (デザイン座標系で) と一致します。 |
| 518 | <P> |
| 519 | <!-- |
| 520 | In the outline glyph view you will be able to adjust the vertical metrics |
| 521 | just as you adjust the horizontal metrics. --> |
| 522 | アウトライングリフビューでは、横書きメトリックを調整するのと同様の方法で縦書きメトリックを調整することができます。 |
| 523 | <P> |
| 524 | <!-- |
| 525 | You can view the vertical metrics in the font view just as you can the horizontal |
| 526 | metrics with View->Show V Metrics. --> |
| 527 | フォントビューで縦書きのメトリックを表示させるには、横書きメトリックと同様に、<CODE>表示(<U>V</U>)</CODE>→<CODE>縦書きメトリックの表示法(<U>V</U>)...</CODE> を使用します。 |
| 528 | <P> |
| 529 | <P ALIGN=Center> |
| 530 | — <A HREF="editexample.html">前</A> — <A HREF="overview.html">目次</A> |
| 531 | — <A HREF="charview.html">次</A> — |
| 532 | </DIV> |
| 533 | </BODY></HTML> |