| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <!-- Created with AOLpress/2.0 --> |
| 4 | <!-- AP: Created on: 23-Feb-2004 --> |
| 5 | <!-- AP: Last modified: 11-Dec-2005 --> |
| 6 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> |
| 7 | <!--<TITLE>Multi Layered Editing of Type3 and SVG fonts</TITLE>--> |
| 8 | <TITLE>Type3 および SVG フォントの複数レイヤ編集</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 | <!--Multi Layered Editing of Type3 and SVG fonts--> |
| 16 | Type3 および SVG フォントの複数レイヤ編集 |
| 17 | </H1> |
| 18 | <P> |
| 19 | <!-- |
| 20 | Normal builds of fontforge do not have this mode enabled (it can eat up a |
| 21 | lot of memory), if you wish to edit type3 fonts then configure fontforge |
| 22 | with --> |
| 23 | 通常設定の FontForge のビルドではこのモードは利用可能になっていません (これは非常に多くのメモリを浪費する可能性があります)。もしあなたが Type3 フォントを編集したいならば、FontForge のビルド時に以下の設定で configure を起動してください: |
| 24 | <BLOCKQUOTE> |
| 25 | <PRE>$ configure --with-multilayer |
| 26 | $ make |
| 27 | $ make install |
| 28 | </PRE> |
| 29 | </BLOCKQUOTE> |
| 30 | <P> |
| 31 | <!-- |
| 32 | If you have done this, then loading a type3 font (or an svg font organized |
| 33 | in a similar fashion) will cause FontForge to retain information on each |
| 34 | stroke and fill command. Each command is placed in a separate layer and may |
| 35 | be edited in isolation. --> |
| 36 | これを行ったならば、Type3 フォント (または同様の流儀で編成された SVG フォント) を読み込むと、FontForge は各ストロークと fill コマンドの情報を保持するようになります。各コマンドは独立したレイヤに置かれ、分離して編集することができます。 |
| 37 | <P> |
| 38 | <!-- |
| 39 | A new font may be converted to a multi-layered font by selecting |
| 40 | Element->Font Info->General->Multi Layered Font. --> |
| 41 | 新しいフォントは <CODE>エレメント(<U>L</U>)</CODE>→<CODE>フォント情報(<U>F</U>)...</CODE>→<CODE>[一般情報]</CODE>→<CODE>複数レイヤーフォント(<U>M</U>)</CODE> を選択すれば、複数レイヤフォントに変換することができます。 |
| 42 | <H2> |
| 43 | <IMG src="../../_images/charview-multilayer.png" WIDTH="348" HEIGHT="571" ALIGN="Right"><!--Multi |
| 44 | Layered editing in the outline view--> |
| 45 | アウトラインビューでの複数レイヤ編集 |
| 46 | </H2> |
| 47 | <P> |
| 48 | <!-- |
| 49 | In the image at left we have a glyph drawn by stroking two paths. One layer |
| 50 | (containing one of the paths) is currently selected and is drawn in full. |
| 51 | All its points are editable. The other layer is shown as a dashed line. --> |
| 52 | 左の図には、2 本のパスのストロークによって描かれたグリフがあります。1 個のレイヤ (パスの 1 本を含む) は現在選択されており、実線で描画されています。そこに含まれるすべての点は編集可能です。他のレイヤは点線で描画されています。 |
| 53 | <P> |
| 54 | <!-- |
| 55 | The Layer palette looks a little different here. There is no hinting information |
| 56 | (hints are irrelevant in type3 fonts), instead there are two named layers |
| 57 | (background and grid) which behave pretty much as they |
| 58 | <A HREF="charview.html">normally</A> do. They may be made active by clicking |
| 59 | on their names. They may be made invisible by turning off the check box |
| 60 | associated with them. --> |
| 61 | レイヤパレットの見かけは、通常とは少し違っています。ヒント情報はなく (Type3 フォントではヒントは使用不能です)、その代りに、<A HREF="charview.html">通常</A>とよく似たふるまいをする 2 つの名前つきレイヤ (背面とガイド) が存在します。それらの名前をクリックすると使用可能になります。横にあるチェックボックスをクリックすると、それらは見えなくなります。 |
| 62 | <P> |
| 63 | <!-- |
| 64 | Under these two are the layers that make up the glyph in the font. Each layer |
| 65 | is identified by a small picture of what that layer looks like when rasterized. |
| 66 | Clicking on the layer makes it editable. --> |
| 67 | それら 2 つの下にあるのは、フォントに含まれるグリフを構成するレイヤです。各レイヤは、そのレイヤがラスタライズされたときにどのように見えるかを表す小さな画像によって識別できます。レイヤをクリックすると、それが編集可能になります。 |
| 68 | <P> |
| 69 | <!-- |
| 70 | The layers are ordered in the list as they will be drawn on the screen. The |
| 71 | topmost layer is drawn first, the bottommost is drawn last. Regions drawn |
| 72 | earlier will be overwritten by Regions drawn later. --> |
| 73 | レイヤは、画面上に描画される順番でリストに並んでいます。いちばん上のレイヤが最初に描画され、いちばん下のレイヤが最後となります。最初に描画した領域は、後から描画した領域によって塗りつぶされます。 |
| 74 | <P> |
| 75 | <!-- |
| 76 | Double clicking on a layer brings up the <A HREF="#Layer">Layer Info |
| 77 | dialog</A>. --> |
| 78 | レイヤをダブルクリックすると<A HREF="#Layer">レイヤ情報ダイアログ</A>が起動します。 |
| 79 | <P> |
| 80 | <!-- |
| 81 | Clicking with the right button brings up the layer menu which contains: --> |
| 82 | 右ボタンでクリックすると、以下の内容を含むレイヤメニューが起動します: |
| 83 | <DL> |
| 84 | <DT> |
| 85 | <!-- Layer Info...--> |
| 86 | レイヤー情報... |
| 87 | <DD> |
| 88 | <!-- Brings up the <A HREF="multilayer.html#Layer">Layer Info</A> dialog on the |
| 89 | current layer (same as double clicking) |
| 90 | 現在のレイヤに関する<A HREF="#Layer">レイヤ情報</A>ダイアログを起動します (ダブルクリックと同じです)。 |
| 91 | <DT> |
| 92 | <!-- New Layer...--> |
| 93 | 新しいレイヤー... |
| 94 | <DD> |
| 95 | <!-- Creates a new layer and brings up the <A HREF="multilayer.html#Layer">Layer |
| 96 | Info</A> dialog to describe it. (the new layer will appear at the bottom |
| 97 | of the layer list and will be drawn last) --> |
| 98 | 新しいレイヤを作成し、それの情報を含む<A HREF="#Layer">レイヤ情報</A>ダイアログを起動します。(新しいレイヤはレイヤリストのいちばん下に現れ、最後に描画されます)。 |
| 99 | <DT> |
| 100 | <!-- Del Layer--> |
| 101 | レイヤーを削除 |
| 102 | <DD> |
| 103 | <!-- Deletes the current layer (you may not delete the last layer in a glyph)--> |
| 104 | 現在のレイヤを削除します (グリフにレイヤが 1 つしかないときは削除できません)。 |
| 105 | <DT> |
| 106 | <!-- First--> |
| 107 | 最初(F) |
| 108 | <DD> |
| 109 | <!-- Make the current layer the first one to be drawn.--> |
| 110 | 現在のレイヤを最初に描画されるように移動します。 |
| 111 | <DT> |
| 112 | <!-- Earlier--> |
| 113 | 前に(E) |
| 114 | <DD> |
| 115 | <!-- Make the current layer be drawn earlier. (swaps it with the layer above it) --> |
| 116 | 現在のレイヤの描画順を繰り上げます (1 つ前のレイヤと入れ換えます)。 |
| 117 | <DT> |
| 118 | <!-- Later--> |
| 119 | 後に(A) |
| 120 | <DD> |
| 121 | <!-- Makes the current layer be drawn later. (swaps it with the layer below it) --> |
| 122 | 現在のレイヤの描画順を繰り下げます。 (1 つ前のレイヤと入れ換えます)。 |
| 123 | <DT> |
| 124 | <!-- Last--> |
| 125 | <DD> |
| 126 | <!-- Makes the current layer be drawn last.--> |
| 127 | 現在のレイヤを最後に描画されるように移動します。 |
| 128 | </DL> |
| 129 | <P> |
| 130 | <!-- |
| 131 | Images are allowed in Type3 fonts (but not in svg fonts). You can use the |
| 132 | <A HREF="filemenu.html#Import">File->Import</A> command to load an image |
| 133 | into any of the foreground layers. If the image is a bitmap image and the |
| 134 | layer will be filled, then it will be output with an imagemask command (the |
| 135 | bitmap will be drawn with the fill color), otherwise the image will be drawn |
| 136 | with the colors specified in the image (Transparent images are not supported |
| 137 | here). --> |
| 138 | Type3 フォントでは画像を使用できます (SVG フォントではできません)。<A HREF="filemenu.html#Import"><CODE>ファイル(<U>F</U>)</CODE>→<CODE>取り込み(<U>I</U>)...</CODE></A>コマンドで画像を好きな前面レイヤに読み込むことができます。画像がビットマップ画像であり、それが置かれたレイヤで塗りつぶしモードの描画を行う場合、その画像は imagemask コマンドによって出力され (ビットマップは塗りつぶし色で描画されます)、それ以外の場合は画像で指定されている色で描画されます (ここでは透明画像はサポートされていません)。 |
| 139 | <P> |
| 140 | <!-- |
| 141 | FontForge will not skew, flip or rotate images. --> |
| 142 | FontForge は画像の歪み、反転または回転変換を行いません。 |
| 143 | <H2> |
| 144 | <IMG SRC="layerdlg.png" WIDTH="362" HEIGHT="372" ALIGN="Right"><!--The |
| 145 | <A NAME="Layer">Layer</A> dialog --> |
| 146 | <A NAME="Layer">レイヤ</A>ダイアログ |
| 147 | </H2> |
| 148 | <P> |
| 149 | <!-- |
| 150 | This dialog describes various attributes of the way the splines in the current |
| 151 | layer are drawn. --> |
| 152 | このダイアログは、現在のレイヤでスプラインが描画される際のさまざまな属性を記述しています。 |
| 153 | <P> |
| 154 | <!-- |
| 155 | A layer may be either stroked or filled. Or both. Or neither (layers containing |
| 156 | only images need not be filled or stroked). --> |
| 157 | レイヤは、ストロークとして線を引くか、内部を塗りつぶすか、その両方、またはどちらも使用しないかのどれかが選択できます (画像しか含まないレイヤはストロークも塗りつぶしも必要ありません)。 |
| 158 | <P> |
| 159 | <!-- |
| 160 | You may either specify a color to be used for stroking or filling the splines |
| 161 | in the layer, or you may specify that the color should be inherited (in |
| 162 | conventional fonts the color will be inherited so that the font user can |
| 163 | specify the font's color). If you do want to specify a color, use a 6 hex-digit |
| 164 | rgb value "#rrggbb". --> |
| 165 | レイヤ内のストロークや塗りつぶしに用いられる色のどちらも指定することができますし、指定された色を引き継ぐこともできます (通常のフォントでは色は引き継がれるので、ユーザは色を指定することができます)。自分で色を指定したい場合、16 進 6 桁の RGB 値“#rrggbb”を使用してください。 |
| 166 | <P> |
| 167 | <!-- |
| 168 | SVG fonts may include an opacity level (type3 fonts may not). 0 is fully |
| 169 | transparent, 1.0 is fully opaque, .5 is translucent. Again this value may |
| 170 | be inherited from the environment. --> |
| 171 | SVG フォントは透明度レベルを含むことができます (Type3 フォントはできません)。0 は完全に透明で、1.0 は完全に不透明、0.5 が半透明です。この値も環境から引き継ぐことができます。 |
| 172 | <P> |
| 173 | <!-- |
| 174 | A stroke has a width (which again may be inherited, but probably should not |
| 175 | be). Strokes are drawn using a circular pen. An elliptical pen may be specified |
| 176 | by giving a transformation matrix here. --> |
| 177 | ストロークには幅が指定されています (これも引き継ぐことができますが、これは多分行うべきではないでしょう)。ストロークは円形のペンで描画されます。ここで変換行列を指定することにより、楕円形のペンを使用することもできます。 |
| 178 | <P> |
| 179 | <!-- |
| 180 | A line may be dashed. Dash patterns are specified as a list of numbers, the |
| 181 | first number in the list will draw a line segment at most that many em-units, |
| 182 | the next number will skip that many em-units, the third will be drawn, and |
| 183 | so on. After then entire list has been used, it will start again at the begining. |
| 184 | If the list has an odd number of elements, then this time through the first |
| 185 | entry indicates that many units should be skipped. So "10" would mean a line |
| 186 | which alternates being drawn every 10 units, while "20 10" would draw 20 |
| 187 | units, skip 10, draw 20 and so on. --> |
| 188 | 線は破線にすることもできます。破線パターンは数値のリストによって指定されます。リスト内の最初の数値は、指定した em ユニット分の長さの線の素片を引くことを示し、次の数値はその em ユニット分だけのすき間が空くことを表します。3 番目は線が引かれ、以下同様に解釈されます。リストの最後まで使われると、再び先頭に戻ります。リストの要素が奇数個である場合、2 回目には最初の要素が破線の隙間の大きさを表します。ですから“10”という指定は、10 ユニットごとに入れ替わる破線を表し、“20 10”は 20 ユニット描画し、10 ユニットの隙間が空き、20 ユニット描画し……と続く破線になります。 |
| 189 | <P> |
| 190 | <!-- |
| 191 | Finally a stroke needs to know how to treat the ends of paths, and how to |
| 192 | join non-tangent path-segments. --> |
| 193 | 最後に、ストロークでは、パスの終端と、パスが折れ曲がっている所をどう描画するかを指定しなければなりません。 |
| 194 | <P> |
| 195 | <P> |
| 196 | <!-- |
| 197 | FontForge's rasterization leaves much to be desired. It does not support |
| 198 | full color (rounding everything to a shade of grey), and its stroking algorithm |
| 199 | is quite poor. (it does not rasterize dash) --> |
| 200 | FontForge のラスタライズは、望ましいとはとても言えません。フルカラーをサポートしていません (すべての色を灰色の濃淡に置き換えます) し、ストローク描画アルゴリズムは非常に稚拙です。(ラスタライザは、破線の描画を行いません) |
| 201 | <P> |
| 202 | <P ALIGN=Center> |
| 203 | — <A HREF="charview.html">戻る</A> — <A HREF="overview.html">目次</A> — |
| 204 | <P> |
| 205 | <P> |
| 206 | </DIV> |
| 207 | </BODY></HTML> |