| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <!-- Created with AOLpress/2.0 --> |
| 4 | <!-- AP: Created on: 25-Apr-2002 --> |
| 5 | <!-- AP: Last modified: 13-Oct-2004 --> |
| 6 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> |
| 7 | <!--<TITLE>Searching for shapes within characters...</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 | <IMG src="../../_images/rplref.png" WIDTH="466" HEIGHT="381" ALIGN="Right"><!--Finding shapes |
| 16 | within glyphs --> |
| 17 | グリフの中から図形を探す方法 |
| 18 | </H1> |
| 19 | <P> |
| 20 | <!-- |
| 21 | FontForge will allow you to search a font for all glyphs containing a certain |
| 22 | shape and optionally replace that shape with another shape. --> |
| 23 | FontForge では、特定の図形を含むすべてのグリフを検索し、希望した場合はその図形を他の形に置き換えることができます。 |
| 24 | <P> |
| 25 | <!-- |
| 26 | FontForge allows you to control whether a match will be found even if the |
| 27 | shape has undergone certain transformations (ie. rotated, scaled, flipped, |
| 28 | etc.). --> |
| 29 | 図形がある種の変換 (回転、拡大・縮小、反転など) を受けていてもマッチするかどうかを指定することができます。 |
| 30 | <P> |
| 31 | <!-- |
| 32 | Normally FontForge will search all glyphs in a font, but you may restrict |
| 33 | the search to only those glyphs which are selected. --> |
| 34 | FontForge は、通常は、フォント内の全グリフを検索しますが、検索範囲を選択された文字のみに限定することができます。 |
| 35 | <P> |
| 36 | <!-- |
| 37 | The search and replace panes behave very much like the outline glyph views |
| 38 | and you may draw within them using the tools available in the outline view. |
| 39 | The menu at the top of the window is a subset of the menu in the outline |
| 40 | glyph view. Only one of the two panes is active at a given time, and the |
| 41 | menu works on the active one. You can make a pane active by clicking in it, |
| 42 | or by using the [Tab] key. --> |
| 43 | 検索タブと置換タブはアウトライングリフビューと非常によく似たふるまいをし、そこではアウトラインビューで使用可能なツールを使って描画ができます。 |
| 44 | ウィンドウの最上部にあるメニューはアウトライングリフビューのメニューのサブセットです。2 つのペインのうち、同時に編集できるのは 1 つのみで、編集中の方でしかメニューは動作しません。タブをクリックするか、[Tab] キーを押すことにより、そちら側編集できるようになります。 |
| 45 | <P> |
| 46 | <!-- |
| 47 | The <CODE>[Find] </CODE>button will start at the beginning of the font and |
| 48 | search for the first glyph containing the search pattern and then open an |
| 49 | outline glyph view looking at that glyph. After <CODE>[Find] </CODE>has been |
| 50 | used once the button changes to <CODE>[Find Next] </CODE>whose behavior is |
| 51 | similar excepts that it starts at the last glyph found and displays the next |
| 52 | glyph in the same window. --> |
| 53 | <CODE>[検索]</CODE> ボタンはフォントの先頭から順に、検索パターンを含むグリフを検索し、一致した最初のグリフを含むアウトライングリフビューを開きます。いちど <CODE>[検索]</CODE> ボタンを使用した後は、<CODE>[次を検索]</CODE> ボタンを押すと、最後に一致した文字から次の文字を検索して、同じウィンドウ内に同じ表示法で表示します。 |
| 54 | <P> |
| 55 | <!-- |
| 56 | The <CODE>[Find All] </CODE>button will select all glyphs containing the |
| 57 | pattern. --> |
| 58 | <CODE>[すべて検索]</CODE> ボタンは、そのパターンを含むすべてのグリフを選択します。 |
| 59 | <P> |
| 60 | <!-- |
| 61 | The <CODE>[Replace]</CODE> button only works after a <CODE>[Find]/[Find |
| 62 | Next]/[Replace]</CODE>. It replaces the thing found with the replace pattern, |
| 63 | and does another <CODE>[Find Next]</CODE>. --> |
| 64 | <CODE>[置換]</CODE> ボタンは、<CODE>[検索]/[次を検索]</CODE> の後か、既に <CODE>[置換]</CODE> を使用しているときにのみ動作します。見つかった物を置き換えパターンで置換してから、もう一度 <CODE>[次を検索]</CODE> を押したのと同じ動作をします。 |
| 65 | <P> |
| 66 | <!-- |
| 67 | The <CODE>[Replace All] </CODE>button replaces all instances of the search |
| 68 | pattern with the replace pattern and selects all glyphs found. --> |
| 69 | <CODE>[すべて置換]</CODE> ボタンは、検索パターンに一致するすべての輪郭を置き換えパターンに置換してから、一致したすべてのグリフを選択します。 |
| 70 | <P> |
| 71 | <!-- |
| 72 | There are two different kinds of search, and which is used depends on the |
| 73 | shapes in the patterns. If the search pattern is a single open path (and |
| 74 | the replace pattern is too) then the search will look for the search pattern |
| 75 | within any path. But if the search pattern contains a closed path or multiple |
| 76 | paths, then the search looks for an exact match, ie. for each path in the |
| 77 | search pattern there must be a path in the glyph which matches it exactly. --> |
| 78 | 検索には 2 つの異なる種類があり、パターンに含まれる図形によって行われる検索は異なります。検索パターンが 1 個の開いたパスで (かつ、置き換えパターンも同じで) あるならば、検索パターンがパス内のどの部分に含まれていても一致するものとされます。一方、検索パターンが閉じたパスまたは複数のパスを含んでいる場合は、完全に一致するパスのみが検索されます。すなわち、検索パターン内のそれぞれのパスに対して、それと正確に一致するパスがグリフに含まれていなければなりません。 |
| 79 | <P> |
| 80 | <!-- |
| 81 | At the moment I see two possible uses for the replace feature: --> |
| 82 | 現時点では、置換機能に対して私は 2 種類の考え得る使用法があると思います: |
| 83 | <OL> |
| 84 | <LI> |
| 85 | <!--It can help you change the style of serifs in your font (see the example |
| 86 | below) --> |
| 87 | フォント内のセリフのスタイルを変更する (下の例をご覧ください) |
| 88 | <LI> |
| 89 | <!--FontForge can't always detect which glyphs should contain references when |
| 90 | reading in opentype (and some type1) fonts. You can use the replace feature |
| 91 | to fix up all things that look like“A”with a reference to A. --> |
| 92 | FontForge は、OpenType (および一部の Type1) フォントの読み込み時に、参照を含むべきグリフを常に検索できるわけではありません。"A" の形をしたものをすべて A への参照に置き換えるという類のすべての作業を行うために、置き換え機能を使うことができます。 |
| 93 | </OL> |
| 94 | <P> |
| 95 | <IMG src="../../_images/rplserifs.png" WIDTH="601" HEIGHT="381"> |
| 96 | </DIV> |
| 97 | </BODY></HTML> |