| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <!-- Created with AOLpress/2.0 --> |
| 4 | <!-- AP: Created on: 28-Jun-2001 --> |
| 5 | <!-- AP: Last modified: 12-Jun-2006 --> |
| 6 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> |
| 7 | <!--<TITLE>Finding common font problems automagically</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 | <!--Finding common font problems automagically--> |
| 16 | よくあるフォントの問題点を自動的に検出する方法 |
| 17 | </H1> |
| 18 | <P> |
| 19 | <!-- |
| 20 | Nobody is perfect. --> |
| 21 | 誰しも完璧ではありません。 |
| 22 | <P> |
| 23 | <!-- |
| 24 | Well, I'm not. --> |
| 25 | もちろん、私もです。 |
| 26 | <P> |
| 27 | <!-- |
| 28 | When you draw your glyphs you are likely to make some minor errors, like |
| 29 | having stems with slightly different widths in different glyphs, or having |
| 30 | lines which aren't quite vertical or... --> |
| 31 | あなたがグリフを作成した時、きっと小さな間違いをいくつか犯しているはずです。例えば文字毎にステムの幅が微妙に異なるとか、完全に垂直でない線が含まれているとか……。 |
| 32 | <P> |
| 33 | <!-- |
| 34 | FontForge's Find Problems command can help track down some common errors. |
| 35 | In some cases it will be able to fix things for you, but it won't do so without |
| 36 | your permission (who knows, some of the so-called "problems" might actually |
| 37 | be what you wanted), but it will point things out to you that you should |
| 38 | look at. --> |
| 39 | FontForge の <CODE>問題点を発見(<U>O</U>)...</CODE> コマンドは、いくつかのよくある間違いの発見助けることができます。いくつかの場合では、間違いを修正することができますが、あなたの許可を得ないでそれを行うことはありません (いわゆる「問題点」のいくつかが、実際にあなたの意図通りでないと誰が判るでしょうか) が、それはあなたが確認するべき事柄の指摘を行うためのものです。 |
| 40 | <P> |
| 41 | <!-- |
| 42 | This command works either in the font view, the outline view or the metrics |
| 43 | view. In the font view it will examine all selected glyphs for errors, and |
| 44 | if it finds anything open a window looking at the glyph and post a (non-modal) |
| 45 | dialog saying what the error is. You may then correct the problem and press |
| 46 | the [Next] button in the dialog when you are done, or you may stop the command |
| 47 | with the [Stop] button. Some errors FontForge will be able to fix automagically, |
| 48 | and if so there will be a [Fix] button in this dlg |
| 49 | (<FONT COLOR="Red"><SMALL><STRONG>NOTE</STRONG></SMALL></FONT>: You should |
| 50 | not assume that all problems are in fact errors. Some "problems" may be intended |
| 51 | peculiarities of the font design. Don't just blindly press the [Fix] button). |
| 52 | Behavior in the outline and metrics views is similar, except that only one |
| 53 | glyph is searched for problems. --> |
| 54 | このコマンドはフォントビュー、アウトラインビューまたはメトリックビューのどこからも呼び出すことができます。フォントビューでは、選択されたすべての文字のエラーを検査し、何らかの問題点を発見した場合、グリフを表示するためのウィンドウを開き、エラーが存在することを指摘する (非モーダルな) ダイアログを出します。そのウィンドウで問題点を修正することができますので、完了したら <CODE>[次(<U>N</U>)]</CODE> ボタンを押してください。コマンドの実行を中止するには <CODE>[中止(<U>S</U>)]</CODE> ボタンを押します。いくつかのエラーは FontForge が自動で修正が可能ですので、その場合は、<CODE>[修正]</CODE> ボタンがダイアログに表示されます。(<FONT COLOR="Red"><SMALL><STRONG>注意</STRONG></SMALL></FONT>: 指摘される問題点のすべてをエラーであると考えるべきではありません。いくつかの「問題点」は、フォントデザインの特徴として意図されたものである可能性があります。目で確認せずに <CODE>[修正]</CODE> ボタンを押さないでください)。アウトラインビューとメトリックビューでのふるまいも同様ですが、問題点を探す文字が 1 個に限られる点が異なります。 |
| 55 | <P> |
| 56 | <!-- |
| 57 | FontForge will be able to check for more problems if you: --> |
| 58 | FontForge は、以下の操作を行ったときに、より多くの問題点をチェックすることができます: |
| 59 | <UL> |
| 60 | <LI> |
| 61 | <!-- AutoHint the font first--> |
| 62 | 最初に、フォントに自動ヒントづけを行う |
| 63 | <LI> |
| 64 | <!-- Bring up the <A HREF="fontinfo.html#Private">Element->Font Info->Private |
| 65 | </A>sub-dialog, add entries for BlueValues, StdHW and StdVW and press the |
| 66 | [Guess] button for each of them --> |
| 67 | <A HREF="fontinfo.html#Private"><CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE> から <CODE>[PS Private辞書]<CODE></a> サブダイアログを選択し、BlueValues, StdHW および StdVW の各項目を追加するとともに、それぞれに対して <CODE>[推測]</CODE> ボタンを押す |
| 68 | </UL> |
| 69 | <P> |
| 70 | <!-- |
| 71 | Note: Some of these problems are geared specifically to the problems of |
| 72 | Latin/Greek/Cyrillic fonts. I would be happy to hear of ways to extend these |
| 73 | to other script systems, or of problems that are specific to other script |
| 74 | systems |
| 75 | (<A HREF="mailto:[email protected]">[email protected]</A>). --> |
| 76 | 注意: これらの問題点のいくつかは、ラテン・ギリシャ・キリル文字のフォントの問題点に特化したものです。これらを他の用字系に拡張する方法や、他の用字系に特化した問題点についてお聞かせ頂ければ幸いです (<A HREF="mailto:[email protected]">[email protected]</A> まで)。 |
| 77 | <P> |
| 78 | <IMG src="../../_images/findprobs.png" WIDTH="307" HEIGHT="431" ALIGN="Right"><!--FontForge |
| 79 | can detect the following potential problems: --> |
| 80 | FontForge は以下の潜在的な問題点を検出することができます: |
| 81 | <P> |
| 82 | <!-- |
| 83 | <STRONG><BIG>Points Too Close</BIG></STRONG> --> |
| 84 | <STRONG><BIG>近すぎる点(<U>C</U>)</BIG></STRONG> |
| 85 | <P> |
| 86 | <!-- |
| 87 | Some of FontForge's own commands get confused by tiny splines, on the order |
| 88 | of one unit or less, and anyway if you have several points very close together |
| 89 | it is unlikely that they will make a detectable difference when the font |
| 90 | is printed. Probably you should remove one of them... If FontForge detects |
| 91 | two points on the same path which it deems to be too close it will select |
| 92 | both, stop and let you fix things. --> |
| 93 | FontForge に内蔵されたコマンドのいくつかは、長さ 1 ユニット以下の微小なスプラインが存在すると混乱することがありますし、非常に近いいくつかの点を配置しても、フォントが印字された時に、それが目で見て判る違いをもたらすことはありません。おそらく、どちらか片方を削除すべきではないかと……。FontForge が同一のパス上に、あまりに近すぎると判定された 2 個の点を検出したとき、それら両者を選択し、問題点を修正可能な状態で実行を中止します。 |
| 94 | <P> |
| 95 | <!-- |
| 96 | <STRONG><BIG>X near [val]</BIG></STRONG> --> |
| 97 | <STRONG><BIG>近接するX [val]</BIG></STRONG> <!-- もっとましな訳はないか --> |
| 98 | <P> |
| 99 | <!-- |
| 100 | Often there will be a set of features which should be consistent across the |
| 101 | entire file. For example the left side-bearing of the glyphs "BDEFHIKLMNPR" |
| 102 | should perhaps all be the same. This will let you enter in the desired |
| 103 | side-bearing value, and then FontForge will find all glyphs with points that |
| 104 | are near, but not exactly on the desired value. Where "near" is defined at |
| 105 | the bottom of the dialog (in this case, everything within 3 em-units - - in |
| 106 | either direction - - will be near). If it finds an errant point, FontForge |
| 107 | will select it, stop and let you fix it. --> |
| 108 | ファイル全体を通じて整合性を保つべき一連の特徴がしばしば存在します。例えば、“BDEFHIKLMNPR”の各グリフの左サイドベアリングはおそらくすべて同じでしょう。ここでは望ましいサイドベアリングの値を入力する欄があり、FontForge は入力された値に近いが、正確には一致しない座標をもつ点をすべて探します。この「近い」という基準は、ダイアログのいちばん下にあるテキストボックスの値で定まります (この図の例では、3 em ユニット以内—どちらの方向でも—にあるすべての物を探します)。ずれた位置にある点を発見したら、FontForge はそれを選択し、処理を停止して修正操作を待ちます。 |
| 109 | <P> |
| 110 | <!-- |
| 111 | <STRONG><BIG>Y near [val]</BIG></STRONG> --> |
| 112 | <STRONG><BIG>近接するY [val]</BIG></STRONG> <!-- もっとましな訳はないか --> |
| 113 | <P> |
| 114 | <!-- |
| 115 | This is the exact counter-part of the above command except for being in the |
| 116 | Y direction. Often times this check is more efficiently done by the following |
| 117 | check... --> |
| 118 | これは上のコマンドと完全に対になるもので、Y 座標を対象にしている点のみが異なります。多くの場合、次のチェックによってこのチェックをより簡単に行うことができます…。 |
| 119 | <P> |
| 120 | <!-- |
| 121 | <STRONG><BIG>Y near standard heights</BIG></STRONG> --> |
| 122 | <STRONG><BIG>標準の高さの近くの Y 座標</BIG></STRONG> |
| 123 | <P> |
| 124 | <!-- |
| 125 | In Latin, Greek and Cyrillic alphabets there are certain standard heights |
| 126 | that FontForge expects to find: the baseline, the height of lower case letters, |
| 127 | the height of capital letters, the height of lower case letters with ascenders |
| 128 | (often the same as, or very close to, the capital height), and the depth |
| 129 | of lower case letters with descenders. For this command FontForge defines |
| 130 | these heights to be 0, the height of "x", the height of "I", the height of |
| 131 | "l" and the depth of "p" (If you are working on a Greek or Cyrillic font |
| 132 | and don't include the Latin alphabet, FontForge will pick similar letters |
| 133 | from your alphabet). Then FontForge will search for any points which are |
| 134 | "near", but not on, these heights. Again where "near" is defined at the bottom |
| 135 | of the dialog. If it finds such a point, FontForge will select it, stop and |
| 136 | let you fix things. --> |
| 137 | ラテン・ギリシャ・キリルの各アルファベットには、いくつかの標準の高さがあり、FontForge はその検査を備えつけています: ベースライン、小文字の高さ、大文字の高さ、アセンダをもつ小文字の高さ (多くの場合、大文字の高さと同じか、非常に近い値です) およびディセンダをもつ小文字の深さです。 |
| 138 | このコマンドでは、FontForge はこれらの高さを 0,“x”の高さ、“I”の高さ、“l”の高さおよび“p”の深さとして定義しています (ギリシャ文字またはキリル文字のフォントで作業していて、そのフォントにラテン文字が含まれていないときは、FontForge はそのアルファベットにある同種の文字を使います)。続いて、FontForge はその高さの「近く」にあって、正確にはその高さと一致しない点を探します。ここでも「近く」と見なされる誤差の限界はダイアログの下で定義します。そのような点が見つかった場合、FontForge はそれを選択し、中断してそれを修正できるようにします。 |
| 139 | <P> |
| 140 | <!-- |
| 141 | <STRONG><BIG>Control points near horizontal/vertical/italic</BIG></STRONG> --> |
| 142 | <STRONG><BIG>水平/垂直/イタリック角に近い制御点</BIG></STRONG> |
| 143 | <P> |
| 144 | <!-- |
| 145 | This is similar to the <A HREF="problems.html">Edges near Horizontal option</A> |
| 146 | below, but where that only looks for straight lines, this one looks for curved |
| 147 | lines that begin or end near horizontal (vertical, italic angle). --> |
| 148 | これは、下記の<A HREF="problems.html">水平/垂直に近い辺</A>オプションに似ていますが、それが直線のみを検査するのに対し、このオプションは始点または終点がほとんど水平 (垂直、イタリック角) に近い曲線を検査します。 |
| 149 | <P> |
| 150 | <!-- |
| 151 | <STRONG><BIG>Control points beyond |
| 152 | spline</BIG></STRONG><IMG src="../../_images/cpodd.png" WIDTH="210" HEIGHT="215" ALIGN="Right"> --> |
| 153 | <STRONG><BIG>端点の外にはみ出す制御点(<U>B</U>)</BIG></STRONG><IMG src="../../_images/cpodd.png" WIDTH="210" HEIGHT="215" ALIGN="Right"> |
| 154 | <P> |
| 155 | <!-- |
| 156 | Consider the glyph at right, the selected point has a control point that |
| 157 | is far outside of what is reasonable and is probably not where it should |
| 158 | be. This will check for such points. --> |
| 159 | 例えば右図のようなグリフにおいては、選択中の点には適切と思われるよりはるかに外側の制御点が存在し、おそらく本来あるべき位置に置かれていないと考えられます。このオプションはそのような点の存在をチェックします。 |
| 160 | <P> |
| 161 | <!-- |
| 162 | Technically it will search for all control points, which when projected onto |
| 163 | the line between the two end points of the spline lie outside of the segment |
| 164 | between the two. --> |
| 165 | 技術的に言えば、このオプションは、スプラインの 2 個の端点を結ぶ直線上に垂線を引いたときに、2 点に挟まれた線分の外側に投影されるようなすべての点を検索します。 |
| 166 | <P> |
| 167 | <!-- |
| 168 | <STRONG><BIG>Irrelevant control points</BIG></STRONG> --> |
| 169 | <STRONG><BIG>無意味な制御点</BIG>をチェック(<U>I</U>)</STRONG> |
| 170 | <P> |
| 171 | <!-- |
| 172 | This will look for control points which are so close to the point they modify |
| 173 | that they are unlikely to affect the shape of the curve. A control point |
| 174 | is deemed too close if the distance between it and its modified point is |
| 175 | less than the "Irrelevant Factor" times the distance between the two end |
| 176 | points of the spline controlled by this control point.<BR Clear=Right> --> |
| 177 | これは、制御点が変形の対象となる端点に近すぎてほとんど曲線の形に影響を与えていないことがないか探します。制御点が近すぎると見なされるのは、影響を与える点との距離が、その制御点が調節するスプラインの両端点の距離に「無意味と見なす比率」を掛けた距離よりも短い場合です。<BR Clear=Right> |
| 178 | <P> |
| 179 | <!-- |
| 180 | <IMG src="../../_images/findprobs-paths.png" WIDTH="307" HEIGHT="431" ALIGN="Right"><STRONG><BIG>Open |
| 181 | Paths</BIG></STRONG>--> |
| 182 | <IMG src="../../_images/findprobs-paths.png" WIDTH="307" HEIGHT="431" ALIGN="Right"><STRONG><BIG>開いたパス(P)</BIG></STRONG> |
| 183 | <P> |
| 184 | <!-- |
| 185 | All of your paths should be closed, that is they shouldn't have any end points |
| 186 | the way a line segment does, but should connect back to their beginning. |
| 187 | This is often caused by being a little careless with the last point on a |
| 188 | path, and instead of joining it to the first, you just put it near the first. |
| 189 | If FontForge detects any open paths it will select the entire path, and stop |
| 190 | to let you fix things up. --> |
| 191 | パスはすべて閉じていなければなりません。つまり、1 本の曲線素片がもっているような端点が存在するのではなく、それがパスの最初の点に繋がっていなければなりません。これは、パスの最後の点を置くときに最初の点と繋げるのではなくて、最初の点の近くの場所に置いただけというちょっとした不注意でしばしば発生します。FontForge が開いたパスを発見したときはそのパス全体を選択し、パスの修正ができるようにそこで停止します。 |
| 192 | <P> |
| 193 | <!-- |
| 194 | <STRONG><BIG>Intersecting Paths</BIG></STRONG> --> |
| 195 | <STRONG><BIG>交差するパス</BIG></STRONG> |
| 196 | <P> |
| 197 | <!-- |
| 198 | Both PostScript and TrueType discourage you from having intersecting paths |
| 199 | in a font. --> |
| 200 | PostScript と TrueType のどちらでも、フォント内にパス同士が交差する箇所があることは望ましくありません。 |
| 201 | <P> |
| 202 | <!-- |
| 203 | <STRONG><BIG>Edges near horizontal/vertical/italic</BIG></STRONG> --> |
| 204 | <STRONG><BIG>水平/垂直/イタリック角に近い辺</BIG></STRONG> |
| 205 | <P> |
| 206 | <!-- |
| 207 | It is very easy to create a line which is almost, but not quite, vertical. |
| 208 | This will check for that situation. And for horizontal, and (if your font |
| 209 | has an italic angle) for lines which are almost but not quite parallel to |
| 210 | the italic angle. If it finds one of these, FontForge will select the two |
| 211 | end points, stop and let you fix things. --> |
| 212 | ほとんど垂直に近いが完全に垂直ではない線を作成してしまうことは非常によくあります。このコマンドはそのような状況をチェックします。また、水平線および (フォントにイタリックか句が指定されている場合) イタリック角にほとんど平行であるが完全に平行ではない線もチェックします。それらのどれかにあてはまる線が見つかったとき、FontForge はその線の両端の点を選択し、それを修正できるように停止します。 |
| 213 | <P> |
| 214 | <!-- |
| 215 | For horizontal lines it will tell you the y coordinates of the two end-points, |
| 216 | for vertical lines it will show you the x coordinates. --> |
| 217 | 水平線のときは 2 個の端点の y 座標を通知し、垂直線のときは x 座標を通知します。 |
| 218 | <P> |
| 219 | <!-- |
| 220 | <BIG><STRONG>Path Direction</STRONG></BIG> --> |
| 221 | <BIG><STRONG>一番外のパスが時計回りかをチェック(<U>O</U>)</STRONG></BIG> |
| 222 | <P> |
| 223 | <!-- |
| 224 | Both PostScript and TrueType require that paths be traced in a clockwise |
| 225 | fashion. This sometimes doesn't matter, but many rasterizers do a better |
| 226 | job if this rule is obeyed. This command will detect whether this constraint |
| 227 | is violated. --> |
| 228 | PostScript と TrueType のどちらでも、パスは時計回りに辿ることを要求しています。これが問題とならない場合もありますが、多くのラスタライザはこのルールに従っているときのほうが良好に動作します。このコマンドは、この制約が破られているかどうかを検査します。 |
| 229 | <P> |
| 230 | <!-- |
| 231 | Currently the command will report the same error several times if you do |
| 232 | not fix the problem. That's sort of a bug, but I don't see an easy way around |
| 233 | it yet. --> |
| 234 | 現在のところ、このコマンドは問題点が修正されるまで同じエラーを何度も報告します。これはある種のバグですが、これを避ける簡単な方法がまだ見つかりません。 |
| 235 | <H3> |
| 236 | <!--<STRONG>More Points Than</STRONG>--> |
| 237 | <STRONG>点の個数の上限(<U>M</U>)</STRONG> |
| 238 | </H3> |
| 239 | <P> |
| 240 | <!-- |
| 241 | Appendix B of the PostScript Language Reference manual says that an interpreter |
| 242 | is only required to support paths with 1500 points on them. Most interpreters |
| 243 | actually have a much higher limit, so you may change the limit to suit your |
| 244 | desires. I believe that control points are included in the count. Note that |
| 245 | when checking a quadratic font (ie. a truetype font) there will be at most |
| 246 | one control point between any two end points, but when that font gets converted |
| 247 | to PostScript there will be two. FontForge currently counts this as one point). |
| 248 | TrueType has no such limit.<BR Clear=all> --> |
| 249 | PostScript 言語リファレンスマニュアルの付録 B には、インタプリタは 1500 個までの点を含むパスが処理できればよいと書かれています。ほとんどのインタプリタでは実際の制限値はそれよりはるかに大きな値なので、あなたの要求に合うような上限値に変更できるべきでしょう。私は、制御点も個数に含まれると考えています。2 次曲線をもつフォント (つまり TrueType フォント) を検査するときには、2 個の端点の間には最大 1 個の制御点しか存在しなくても、PostScript に変換したときには 2 個になるだろうことにご注意ください。FontForge は現在のところこれを 1 個の点として勘定します。TrueType にはそのような制限はありません。<BR Clear=all> |
| 250 | <H3> |
| 251 | <!-- |
| 252 | <STRONG><IMG src="../../_images/findprobs-refs.png" WIDTH="307" HEIGHT="431" ALIGN="Right">Flipped |
| 253 | References</STRONG> --> |
| 254 | <STRONG><IMG src="../../_images/findprobs-refs.png" WIDTH="307" HEIGHT="431" ALIGN="Right">反転した参照をチェック(<U>R</U>)</STRONG> |
| 255 | </H3> |
| 256 | <P> |
| 257 | <!-- |
| 258 | As mentioned above both PostScript and TrueType like clockwise paths. If |
| 259 | you have a flipped reference then either the reference or the original glyph |
| 260 | will be drawn with a counter-clockwise path. To fix it you should |
| 261 | Edit->Unlink the reference and Element->Correct Direction --> |
| 262 | 上で述べたように、PostScript と TrueType のどちらでも、時計回りのパスが好まれます。反転した参照が存在する場合、参照またはオリジナルのパスが反時計回りに描かれることになります。これを修復するには、<CODE>編集(<U>E</U>)</CODE>→<CODE>参照を解除(<U>N</U>)</CODE> を行ってから <CODE>エレメント(<U>L</U>)</CODE>→<CODE>アウトラインの向きを修正(<U>C</U>)</CODE> を行う必要があります。 |
| 263 | <H3> |
| 264 | <!--<STRONG>Refs with bad ttf transformation matrices</STRONG>--> |
| 265 | <STRONG>不正な TTF 変換行列をもつ参照</STRONG> |
| 266 | </H3> |
| 267 | <P> |
| 268 | <!-- |
| 269 | The TrueType glyph format allows almost arbetrary transformations to be applied |
| 270 | to a reference. The one restriction is that all terms of the transformation |
| 271 | matrix (except for the translation terms) must have a value between -2 and |
| 272 | 2. --> |
| 273 | TrueType のグリフフォーマットでは、ほとんど任意の変換行列を参照に適用することができます。唯一の制限は、変換行列の全ての項 (平行移動の項を除いて) は -2 と 2 の間の値でなければならないということです。 |
| 274 | <P> |
| 275 | <!-- |
| 276 | If you have a reference with an unexpressable transformation matrix, fontforge |
| 277 | will expand the reference inline, so all the contours will be present they |
| 278 | just won't be in a reference. --> |
| 279 | 表現不能な変換行列を指定した参照がある場合、FontForge は参照をインライン展開しますので、グリフに存在するすべての輪郭が、参照として表現できないために配置されることになります。 |
| 280 | <H3> |
| 281 | <!--<STRONG>Mixed contours and references</STRONG> --> |
| 282 | <STRONG>輪郭と参照の混在</STRONG> |
| 283 | </H3> |
| 284 | <P> |
| 285 | <!-- |
| 286 | In TrueType glyphs may be composed either of all references or all contours |
| 287 | (a reference with an unexpressable transformation matrix counts as a contour). --> |
| 288 | TrueType では、グリフは全て参照からなるか、すべて輪郭からなるかのどちらかでなければなりません (表現不能な変換行列をもつ参照は輪郭であると見なされます)。 |
| 289 | <P> |
| 290 | <!-- |
| 291 | If you have a mixed glyph, fontforge will expand all references inline. --> |
| 292 | 両者が混在したグリフがある場合、FontForge はすべての参照をインライン展開します。 |
| 293 | <H3> |
| 294 | <!--<STRONG>Refs with bad ps transformation matrices</STRONG>--> |
| 295 | <STRONG>不正な PS 変換行列をもつ参照</STRONG> |
| 296 | </H3> |
| 297 | <P> |
| 298 | <!-- |
| 299 | The Type1 font format only allows references to be translated (so no rotation |
| 300 | or scaling is permitted). Technically the Type2 format does not allow any |
| 301 | references at all, but they can be simulated by using subroutines, which |
| 302 | also cannot be rotated or scaled. --> |
| 303 | Type1 フォントフォーマットでは、許される参照は平行移動のみです (回転や拡大・縮小は許されません)。技術的には Type2 フォーマットは一切の参照を許容しないところ、サブルーチンを使うことによって参照をシミュレートすることができますが、これも回転や拡大・縮小はできません。 |
| 304 | <P> |
| 305 | <!-- |
| 306 | If you have a reference with an unexpressable transformation matrix, fontforge |
| 307 | will expand the reference inline, so all the contours will be present they |
| 308 | just won't be in a reference. --> |
| 309 | 表現不能な変換行列を指定した参照がある場合、FontForge は参照をインライン展開しますので、グリフに存在するすべての輪郭が、参照として表現できないために配置されることになります。 |
| 310 | <H3> |
| 311 | <!--<STRONG>Refs Deeper Than</STRONG>--> |
| 312 | <STRONG>参照の入れ子の上限(<U>D</U>)</STRONG> |
| 313 | </H3> |
| 314 | <P> |
| 315 | <!-- |
| 316 | Appendix B of the the |
| 317 | <A HREF="http://partners.adobe.com/asn/developer/pdfs/tn/5177.Type2.pdf">Type2</A> |
| 318 | spec says that an interpreter is only required to support subroutine nesting |
| 319 | up to 10 levels. FontForge uses subroutine calls to handle referenced glyphs |
| 320 | and sometimes also to handle hinting. Hinting will take up a maximum of 1 |
| 321 | level of subroutine calls leaving 9 available for references. TrueType has |
| 322 | no such limit.<BR Clear=all> --> |
| 323 | <A HREF="http://partners.adobe.com/asn/developer/pdfs/tn/5177.Type2.pdf">Type2</A> 仕様書の付録 B には、インタプリタは参照の入れ子を 10 重までしかサポートしなくても良いと書かれています。FontForge は参照されたグリフの処理と、ヒントの処理の一部のケースでサブルーチン呼び出しを使用します。ヒントづけは最大 1 重のサブルーチン呼び出しを消費するので、参照に使用できるのは残り 9 重となります。TrueType にはそのような制限はありません。<BR Clear=All> |
| 324 | <P> |
| 325 | <!-- |
| 326 | <BIG><STRONG><IMG src="../../_images/findprobs-hint.png" WIDTH="307" HEIGHT="431" ALIGN="Right">Hints |
| 327 | controlling no points</STRONG></BIG>--> |
| 328 | <BIG><STRONG><IMG src="../../_images/findprobs-hint.png" WIDTH="307" HEIGHT="431" ALIGN="Right">点を制御しないヒント(<U>H</U>)</STRONG></BIG> |
| 329 | <P> |
| 330 | <!-- |
| 331 | This is a bit esoteric, and is present to provide a work-around for (what |
| 332 | I think is) a bug in ghostview. Consider the following glyph --> |
| 333 | このオプションはちょっと秘教的で、ghostview のあるバグ (と私が考えている動作) に対する彌縫策を提供するために用意されています。以下のようなグリフがあったとします。 |
| 334 | <P> |
| 335 | <IMG src="../../_images/phi-nohints-outline.png" WIDTH="89" HEIGHT="151"> |
| 336 | <IMG src="../../_images/phi-nohints-filled.png" WIDTH="93" HEIGHT="121"> |
| 337 | <IMG src="../../_images/phi-hints-outline.png" WIDTH="72" HEIGHT="133"> |
| 338 | <IMG src="../../_images/phi-hints-filled.png" WIDTH="93" HEIGHT="125"><BR> |
| 339 | <!-- |
| 340 | The first two images show the glyph with no hints, first as seen in FontForge, |
| 341 | then as displayed by ghostview. The result looks good. If we add hints to |
| 342 | the two curved stems then ghostview gets very confused. I don't know enough |
| 343 | about hints to know whether there should be hints there. I am assuming so, |
| 344 | which is why FontForge will generate them. But this command will detect this |
| 345 | problem if in fact it is a problem. If FontForge finds this it will select |
| 346 | the offending hint and allow you to fix things (probably the best fix is |
| 347 | to add curved points at the extrema of all the curved splines, this is actually |
| 348 | recommended by adobe anyway |
| 349 | (<A HREF="http://partners.adobe.com/asn/developer/pdfs/tn/T1_Spec.pdf">T1_Spec.pdf |
| 350 | </A>section 4.1)). --> |
| 351 | 最初の 2 個の画像は、ヒント無しのグリフを示しています。最初が FontForge 上での表示、次が ghostview による表示です。結果は問題ありません。もしここで、2 本の曲がったステムにヒントを追加したとすると、ghostview は非常に混乱する個とになります。私には、ここにそれらのヒントが存在するべきかどうか判定できるほど、ヒントについて詳しくありません。私はそうであると仮定しているので、FontForge はこれを生成します。しかしこのコマンドが「問題を発見している」と呼べるのは、これが本当に問題である場合のみでしょう。FontForge がこれを発見すると、表示品質を損なっているヒントを選択し、問題点が解決できるように停止します (おそらく、最前の解決法はすべての曲がったスプラインの極値に曲線上の点を追加することでしょう。なんといっても、この方法は実際に Adobe によって推奨されているのです (<A HREF="http://partners.adobe.com/asn/developer/pdfs/tn/T1_Spec.pdf">T1_Spec.pdf</A> のセクション 4.1 を参照)) |
| 352 | <P> |
| 353 | <!-- |
| 354 | <STRONG><BIG>Points near hint edges</BIG></STRONG> --> |
| 355 | <STRONG><BIG>ヒント端に近い点(<U>P</U>)</BIG></STRONG> |
| 356 | <P> |
| 357 | <!-- |
| 358 | If you have a glyph like "H" where the main vertical stems are broken by |
| 359 | the cross bar, it is all too easy to make the top part of the stem a slightly |
| 360 | different width than the bottom. (The hinting process figures out all the |
| 361 | stems.) So this command, in essence, is looking for points which are slightly |
| 362 | off from a stem. (again, near is defined at the bottom of the dlg). If FontForge |
| 363 | finds such a point it selects it, stops, and allows you to fix it up. --> |
| 364 | "H" のような、主要な垂直ステムがクロスバーで分割されたグリフがあるとき、ステムの上半分の幅が下半分とわずかに異なるというのは非常によくあることです (ヒントづけの操作はすべてのステムを検出してしまいます)。このコマンドはそれを避けるために、かいつまんで言えば、ステムから僅かに離れた点を探します。(ここでも、「近い」というのはダイアログの一番下で定義された距離によって判断ます)。FontForge がそのようなステムを発見したときには、そのステムを選択し、それを修正できるように停止します。 |
| 365 | <P> |
| 366 | <!-- |
| 367 | <BIG><STRONG>Hint width near [val]</STRONG></BIG> --> |
| 368 | <BIG><STRONG>ヒント幅のぶれ量(<U>W</U>) [val]</STRONG></BIG> |
| 369 | <P> |
| 370 | <!-- |
| 371 | Usually one wants many of the glyphs to have a constant stem width, and this |
| 372 | command will check that all stems near the indicated value are that value |
| 373 | (again near is defined at the bottom of the page). If FontForge finds a bad |
| 374 | stem it will select it, stop and allow you to fix things.--> |
| 375 | 一般に、人は多くのグリフが一定のステム幅をもっていることを望むものであり、このコマンドは指定された幅に近い幅をもつステムが正確に同じ幅であるかをチェックします (ここでも「近く」の基準はページの一番下で定義した値です)。FontForge が不正なステムを発見したときには、そのステムを選択し、問題点を修正できるように停止します。 |
| 376 | <P> |
| 377 | <!-- |
| 378 | <BIG><STRONG>Almost stem3 hint</STRONG></BIG> --> |
| 379 | <BIG><STRONG>歪んだstem3ヒント</STRONG></BIG> |
| 380 | <P> |
| 381 | <!-- |
| 382 | Postscript has a special hint operator (hstem3 and vstem3) which is designed |
| 383 | to hint the stems of things like "m" where there are three stems of equal |
| 384 | width and equally far apart. It is easy for a glyph not to fit the criteria |
| 385 | for this operator (which means FontForge won't use it). This will detect |
| 386 | cases that are close to right. I found that I needed to adjust the "Near" |
| 387 | value to be bigger than the default. --> |
| 388 | PostScript には、"m" のような、3 つのステムの幅が等しく、それらの間隔がどちらも同じ文字のステムにヒントづけを行う用途に設計されているいくつかのヒント演算子 (hstem3 と vstem3) があります。あるグリフがこの演算子を用いるための判定基準に適合しないことはよくあります (その場合、FontForge はこの演算子を使いません)。このコマンドは、この条件がほとんど成り立ちかけている場合を検出します。筆者の場合、「近く」の値を、デフォルトより大きくする必要がありました。 |
| 389 | <P> |
| 390 | <!-- |
| 391 | <STRONG><BIG>Show exact stem3</BIG></STRONG> --> |
| 392 | <STRONG><BIG>精確な*stem3かを表示</BIG></STRONG> |
| 393 | <P> |
| 394 | <!-- |
| 395 | (this is not a problem, but I found it helpful to be able to distinguish |
| 396 | between cases where the "almost stem3" above didn't say anything. It might |
| 397 | be because it was a stem3 or it might be really far off from a stem3) --> |
| 398 | (これは問題ではありませんが、上の「歪んだstem3」が何も表示しない場合を区別できると便利だと気づいたので入れてあります。精確な stem3 な場合と、stem3 からあまりに外れた場合が存在するからです) |
| 399 | <H3> |
| 400 | <!-- <STRONG>More Hints Than</STRONG>--> |
| 401 | <STRONG>ヒントの個数の上限(<U>M</U>)</STRONG> |
| 402 | </H3> |
| 403 | <P> |
| 404 | <!-- |
| 405 | Appendix B of the the |
| 406 | <A HREF="http://partners.adobe.com/asn/developer/pdfs/tn/5177.Type2.pdf">Type2</A> |
| 407 | spec says that an interpreter is only required to support a total of 96 |
| 408 | horizontal and vertical hints. --> |
| 409 | <A HREF="http://partners.adobe.com/asn/developer/pdfs/tn/5177.Type2.pdf">Type2</A> 仕様書の付録 B には、インタプリタは 96 個までの水平・垂直ヒントをサポートすればよいと書かれています。 |
| 410 | <H3> |
| 411 | <!-- <IMG src="../../_images/findprobs-random.png" WIDTH="307" HEIGHT="431" ALIGN="Right"><STRONG>Missing |
| 412 | Bitmaps</STRONG>--> |
| 413 | <IMG src="../../_images/findprobs-random.png" WIDTH="307" HEIGHT="431" ALIGN="Right"><STRONG>ビットマップの欠落をチェック(<U>B</U>)</STRONG> |
| 414 | </H3> |
| 415 | <P> |
| 416 | <!-- |
| 417 | Look through the associated bitmap fonts, and find if there is a bitmap font |
| 418 | which is missing versions of glyphs present in the outline font. Conversely |
| 419 | look for bitmap fonts with glyphs which are not present in the outline font. --> |
| 420 | 付属のビットマップフォントを通覧して、アウトライン版のフォントにあるグリフが存在しないものを発見します。その逆に、アウトラインフォントに存在しないグリフをビットマップフォントから検索します。 |
| 421 | <P> |
| 422 | <!-- |
| 423 | <STRONG><BIG>Multiple Unicode</BIG></STRONG> --> |
| 424 | <STRONG><BIG>Unicode値の重複をチェック</BIG></STRONG> |
| 425 | <P> |
| 426 | <!-- |
| 427 | Check that you do not have two glyphs assigned to the same unicode code point. |
| 428 | (The unicode encoding is used to determine which glyph will appear in the |
| 429 | truetype/opentype 'cmap' table. If you have two glyphs with the same code |
| 430 | point, there is no guarantee which will be used.) --> |
| 431 | 2 つのグリフに同じ Unicode の符号位置を割り当てていないかチェックします。(Unicode の文字符号は、どのグリフが TrueType/OpenType の 'cmap' テーブルに出現するかを決定します。2 つのグリフが同じ符号位置をもっている場合、どちらが使用されるかの保証はありません)。 |
| 432 | <P> |
| 433 | <!-- |
| 434 | <STRONG><BIG>Multiple Name</BIG></STRONG> --> |
| 435 | <STRONG><BIG>グリフ名の重複をチェック</BIG></STRONG> |
| 436 | <P> |
| 437 | <!-- |
| 438 | Check that you do not have two glyphs with the same name. --> |
| 439 | 2 つのグリフに同じ名前をつけていないかチェックします。 |
| 440 | <P> |
| 441 | <!-- |
| 442 | <STRONG><BIG><A NAME="Advance">Check Advance</A></BIG></STRONG> --> |
| 443 | <STRONG><BIG><A NAME="Advance">送り幅をチェック</A></BIG></STRONG> |
| 444 | <P> |
| 445 | <!-- |
| 446 | Check for any glyphs whose advance width is not the specified value (useful |
| 447 | for a mono-space font where you want to check that all glyphs have the same |
| 448 | width). --> |
| 449 | 送り幅が指定されたグリフがないかどうかチェックします (固定幅フォントで、すべてのグリフが同じ幅かどうかをチェックするのに役立ちます)。 |
| 450 | <P> |
| 451 | <!-- |
| 452 | <STRONG><BIG>Check Vertical Advance</BIG></STRONG>--> |
| 453 | <STRONG><BIG>縦書きの送り幅をチェック</BIG></STRONG> |
| 454 | <P> |
| 455 | <!-- |
| 456 | Check for any glyphs whose vertical advance (for fonts with vertical metrics) |
| 457 | differs from the specified value. --> |
| 458 | (縦書き用メトリックを含むフォントにおいて) 縦書きの送り幅 が指定した幅と異なるものがないかチェックします。 |
| 459 | <P> |
| 460 | <!-- |
| 461 | <STRONG><BIG>Check substitutions for empty chars</BIG></STRONG> --> |
| 462 | <STRONG><BIG>空のグリフへの置換をチェック</BIG></STRONG> |
| 463 | <P> |
| 464 | <!-- |
| 465 | Looks through all the 'GSUB' substitution, alternate substitution, multiple |
| 466 | substitution and ligature entries that are attached to the current glyph |
| 467 | and checks to make sure that all the named components are present in the |
| 468 | font (and contain something). <BR Clear=ALL> --> |
| 469 | すべての 'GSUB' 置換、選択型置換、複数置換および現在のグリフに接続するすべての合字項目を通覧し、名前のついた構成要素がフォント内に存在するか (そして何らかの内容が存在するか) どうかをチェックします。<BR Clear=ALL> |
| 470 | <P> |
| 471 | <!-- |
| 472 | <IMG src="../../_images/findprobs-att.png" WIDTH="307" HEIGHT="431" ALIGN="Right"><BIG><STRONG>Missing |
| 473 | Glyph Names</STRONG></BIG> --> |
| 474 | <IMG src="../../_images/findprobs-att.png" WIDTH="307" HEIGHT="431" ALIGN="Right"><BIG><STRONG>存在しないグリフ名をチェック(<U>M</U>)</STRONG></BIG> |
| 475 | <P> |
| 476 | <!-- |
| 477 | It is possible to create a substitution, ligature, etc. which refers to a |
| 478 | glyph name that is not in the font. This option will check for the above |
| 479 | error. --> |
| 480 | フォント内に存在しないグリフ名を参照する置換や合字などを作成することが可能です。このオプションは上記の誤りをチェックします。 |
| 481 | <P> |
| 482 | <!-- |
| 483 | <STRONG><BIG>Missing Lookup Tags</BIG></STRONG> --> |
| 484 | <STRONG><BIG>存在しない表引きタグをチェック(L)</BIG></STRONG> |
| 485 | <P> |
| 486 | <!-- |
| 487 | It is possible to create a contextual feature which refers to a lookup tag |
| 488 | which does not exist in the font. This option will check for that error. --> |
| 489 | フォント内に存在しない表引きタグを参照する条件つき機能を作成することが可能です。このオプションは上記の誤りをチェックします。 |
| 490 | <P> |
| 491 | <!-- |
| 492 | <STRONG><BIG>Using 'DFLT' Script</BIG></STRONG> --> |
| 493 | <STRONG><BIG>'DFLT'用字系が使われていないかをチェック</BIG></STRONG> |
| 494 | <P> |
| 495 | <!-- |
| 496 | OpenType has depreciated the use of 'DFLT', but FontForge will sometimes |
| 497 | use it when it can't make a better guess at the appropriate script for a |
| 498 | glyph without an innate script. --> |
| 499 | OpenType では‘DFLT’の使用を廃止していますが、FontForge は適切な用字系が存在しないグリフに対して適切な用字系が推測できないときに使用する場合があります。 |
| 500 | <P> |
| 501 | <HR Clear=all> |
| 502 | <P> |
| 503 | <!-- |
| 504 | <IMG src="../../_images/findprobs-cid.png" WIDTH="301" HEIGHT="418" ALIGN="Right">If your |
| 505 | font is a CID keyed font you will also get: --> |
| 506 | <IMG src="../../_images/findprobs-cid.png" WIDTH="301" HEIGHT="418" ALIGN="Right">CID フォントを編集している場合、以下の項目も表示されます: |
| 507 | <P> |
| 508 | <!-- |
| 509 | <STRONG><BIG>Check for CIDs defined twice</BIG></STRONG> --> |
| 510 | <STRONG><BIG>重複定義されたCIDをチェック(<U>T</U>)</BIG></STRONG> |
| 511 | <P> |
| 512 | <!-- |
| 513 | Looks through the font set to see if there are any CIDs which have valid |
| 514 | glyphs in two or more fonts. --> |
| 515 | 2 個以上のフォントで使用されている CID が存在しないかどうかを調べるために、フォントセット全体を通覧します。 |
| 516 | <P> |
| 517 | <!-- |
| 518 | <STRONG><BIG>Check for undefined CIDs</BIG></STRONG> --> |
| 519 | <STRONG><BIG>未定義のCIDをチェック(<U>B</U>)</BIG></STRONG> |
| 520 | <P> |
| 521 | <!-- |
| 522 | Looks for CIDs which have no glyphs defined for them in any font. This is |
| 523 | a fairly common occurrence in CID fonts, so use this with |
| 524 | caution.<BR Clear=all> --> |
| 525 | どのフォントでも定義されていない CID を探します。これは CID フォントでは非常によく起こることなので、使用時にはご注意ください。<BR Clear=all> |
| 526 | <P> |
| 527 | <!-- |
| 528 | At the bottom of the dialog are two buttons (<CODE>[Clear All]</CODE> and |
| 529 | <CODE>[Set All]</CODE> which will, respectively, clear and set the check |
| 530 | boxes for all tests - - Well, CID tests will not be set by <CODE>[Set |
| 531 | All]</CODE> in non cid-keyed fonts). --> |
| 532 | ダイアログの最下行には 2 個のボタンが存在します (<CODE>[すべてクリア]</CODE> と <CODE>[すべてセット]</CODE> のボタンが置かれていて、それぞれ全部のテストのチェックボックスをクリアまたはセットします——ただし、CID フォント以外では、CID に関するテストは <CODE>[すべてセット]</CODE> を押してもセットされません)。 |
| 533 | <P> |
| 534 | <!-- |
| 535 | There is also a text field which allows you to define the meaning of "Near" |
| 536 | as used in various of these tests. The default value is that things are "near" |
| 537 | if they are within 3 em-units of the desired value and not equal to that --> |
| 538 | また、これらのテストの多くで使用される“近く”の意味を定義することができるテキストフィールドが置かれています。何かが“近く”にあると見なされるデフォルト値は、求める値の 3 em ユニット以内に含まれていて、その値と等しくない場合です)。 |
| 539 | <P ALIGN=Center> |
| 540 | — <A HREF="elementmenu.html">前</A> — <A HREF="overview.html">目次</A> |
| 541 | — <A HREF="elementmenu.html">次</A> — |
| 542 | </DIV> |
| 543 | </BODY></HTML> |