| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <!-- Created with AOLpress/2.0 --> |
| 4 | <!-- AP: Created on: 11-Feb-2002 --> |
| 5 | <!-- AP: Last modified: 11-Dec-2005 --> |
| 6 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> |
| 7 | <!--<TITLE>Building Accented and other Composite 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 | <!-- Building Accented and other Composite Glyphs--> |
| 16 | アクセントつき文字およびその他の複合文字を構築する方法 |
| 17 | </H1> |
| 18 | <P> |
| 19 | <!-- |
| 20 | You can use the <KBD>Element->Build->Build Accented Glyph</KBD> command |
| 21 | to build up accented glyphs. Or you can use |
| 22 | <KBD>Element->Build->Build Composite </KBD>and build slightly more |
| 23 | general composite glyphs (ligatures and so forth). The accented version will |
| 24 | not create ligatures and will not replace Alpha with A. The composite version |
| 25 | will do both these things. My assumption is that ligatures (like the "fi" |
| 26 | ligature) usually need a bit of work on the user's part to get them to look |
| 27 | good, in the case of "fi" the dot on the "i" needs to be fused into the hook |
| 28 | of the "f", and if you are careless with the command you might destroy your |
| 29 | work inadvertently. --> |
| 30 | <CODE>エレメント(<U>L</U>)</CODE>→<CODE>組み立て(<U>U</U>)</CODE>→<CODE>アクセントつきグリフを構築(<U>B</U>)</CODE> コマンドを使って、アクセントつきグリフを組み立てることができます。または、<CODE>エレメント(<U>L</U>)</CODE>→<CODE>組み立て(<U>U</U>)</CODE>→<CODE>複合グリフを構築(<U>C</U>)</CODE> を使えば、わずかに一般的な (外字などを含む) 複合グリフの組み立てが行えます。「アクセントつき」の方は、合字の作成やアルファを A で代用するようなことは行えません。「複合グリフ」のほうは、そのどちらも行えます。私の見積もりでは、美しく見える合字 (“fi”合字のような) を作るためには一般的にユーザ側で行う必要のある作業がそれよりも少し多くなります。“fi”の場合、“i”のドットは“f”の先端と融合させる必要があり、このコマンドの使用時にうっかりしていると、すべての作業を不注意で壊してしまう可能性があります。 |
| 31 | <P> |
| 32 | <!-- |
| 33 | What can be built? --> |
| 34 | どのような物を組み立てられるか? |
| 35 | <UL> |
| 36 | <LI> |
| 37 | <!-- Unicode specifies various normative glyph decompositions. So "Aacute" is |
| 38 | defined to be an "A" with an "acute" accent centered on top. Any of these |
| 39 | can be built (though if the glyph contains no accents it will need to be |
| 40 | built with the build composite command).<BR> --> |
| 41 | Unicode では、多数の正規グリフ分解を仕様で定めています。例えば“Aacute”は“A”の上に“acute”アクセントを中央揃えで置いたものと定義されています。その種の文字はすべて組み立てることができます (ただし、グリフにアクセントが含まれていないときには <CODE>複合グリフを構築(<U>C</U>)</CODE> コマンドで組み立てる必要があります)。<BR> |
| 42 | <!-- Sometimes Unicode's normative definition is not as informative as it might |
| 43 | be (many of the greek accents are "unified" with latin accents that they |
| 44 | don't really look like, the result is that following Unicode slavishly will |
| 45 | yield the wrong glyph). So in some cases FontForge will use a slightly different |
| 46 | set of glyphs than the normative decomposition.<BR> --> |
| 47 | Unicode の正規分解の定義は、期待されるほど情報として役立たない場合があります (ギリシャ文字のアクセントの多くは形が全然違うラテン文字のアクセントと「統合」されているので、考えなしに Unicode に従うと間違ったグリフが出来上がります)。そのような場合は、FontForge は正規分解と少し異なるグリフの組合せを使用します。<BR> |
| 48 | <!-- This includes:--> |
| 49 | 以下のような物が含まれています: |
| 50 | <UL> |
| 51 | <LI> |
| 52 | <!-- Latin accented characters --> |
| 53 | アクセントつきラテン文字 |
| 54 | <LI> |
| 55 | <!-- Latin ligatures (ae, oe, fi, fl, etc) --> |
| 56 | ラテン文字の合字 (ae, oe, fi, fl など) |
| 57 | <LI> |
| 58 | <!-- Greek accented characters --> |
| 59 | アクセントつきギリシャ文字 |
| 60 | <LI> |
| 61 | <!-- Cyrillic accented characters --> |
| 62 | アクセントつきキリル文字 |
| 63 | <LI> |
| 64 | <!-- Hebrew ligatures --> |
| 65 | ヘブライ文字の合字 |
| 66 | <LI> |
| 67 | <!-- Arabic ligatures --> |
| 68 | アラビア文字の合字 |
| 69 | <LI> |
| 70 | <!-- Fractions, digits inside parens, roman numerals, etc. --> |
| 71 | 分数、括弧つき数字、ローマ数字など |
| 72 | <LI> |
| 73 | <!-- The predefined Hangul characters (0xac00-0xdfaf) --> |
| 74 | 完成型ハングル文字 (0xac00-0xdfaf) |
| 75 | </UL> |
| 76 | <LI> |
| 77 | <!-- Many of the Korean Jamo are actually ligatures of other Jamo (ssangkiyoeok |
| 78 | (0x1101) is composed of two kiyoeok (0x1100)). For some reason this information |
| 79 | is not normative unicode, but FontForge is aware of it anyway and will build |
| 80 | those glyphs if you ask it to. --> |
| 81 | ハングル字母(Jamo)の多くは実際には他の字母の合字です (ssangkiyeok (0x1101) は、2 個の kiyoeok (0x1100) の組合せからなります。いくつかの理由によりこの情報は Unicode の正規分解に含まれていませんが、FotnForge はこの事実を知っているので、適切な指示により、そのグリフを組み立てることができます。 |
| 82 | <LI> |
| 83 | <!-- The glyphs "i" and "j" can be built by adding a dot accent to the dotlessi |
| 84 | and dotlessj glyphs --> |
| 85 | グリフ“i”と“j”は、dotlessi と dotlessj のグリフにドットアクセントを追加することによって組み立てることができます。 |
| 86 | <LI> |
| 87 | <!-- The dotlessi and dotlessj glyphs can be built by removing the dot from an |
| 88 | "i" or "j" glyph --> |
| 89 | dotlessi と dotlessj のグリフは、“i”と“j”のグリフからドットを取り除くことによって組み立てることができます。 |
| 90 | <LI> |
| 91 | <!-- FontForge knows a few other things. It knows that Greek "Alpha" and Cyrillic |
| 92 | A both look like the Latin "A" and will replace either if you ask. (as well |
| 93 | as all the other similar glyphs in latin, greek, cyrillic, cherokee, etc.) --> |
| 94 | FontForge はそれ以外にもいくばくかの事柄を知っています。ギリシャ文字の“アルファ”とキリル文字のАはどちらもラテン文字の“A”と同じ形をしていることを知っているので、指定すればどれか 1 つで他を置き換えることができます (ラテン、ギリシャ、キリル、チェロキーなどの用字系に含まれるその他の同形のグリフも同様です)。 |
| 95 | <LI> |
| 96 | <!-- Some glyphs are just extremely simple to build. There are a whole slew of |
| 97 | glyphs which correspond to zero-width spaces. FontForge will build any of |
| 98 | them. More usefully it will build any of the fixed size spaces 0x2000-0x200f, |
| 99 | and the fixed sized rules 0x2010-0x2015). --> |
| 100 | いくつかのグリフは非常に簡単に組み立てることができます。幅ゼロのスペースに対応する文字がたくさんあります。FontForge はそのどれでも組み立てることができます。もっと役に立つ例としては、0x2000〜0x200f の固定幅のスペース と、0x2010〜0x2015 にある固定幅の罫線です。 |
| 101 | <LI> |
| 102 | <!-- You may use the Element->Char Info dialog to define a ligature yourself, |
| 103 | and FontForge will build it for you. --> |
| 104 | <CODE>エレメント(<U>L</U>)</CODE>→<CODE>グリフ情報(<U>I</U>)...</CODE> を使って、自分で合字を定義すれば、FontForge はそれを組み立ててくれます。 |
| 105 | <LI> |
| 106 | <!-- In Adobe's CID glyph sets there are some pre-rotated versions of latin glyphs. |
| 107 | When CJK text is written vertically the convention is that any text in western |
| 108 | alphabets should be displayed rotated 90º clockwise. If you apply Build |
| 109 | Accented Glyph to one of these slots it will find the appropriate latin letter |
| 110 | and rotate it properly.<BR> |
| 111 | If a glyph's name is "vertcid_<cid>" where <cid> is a decimal |
| 112 | number, then it is assumed to be a vertically rotated version of the glyph |
| 113 | at <cid>. In non-cid-keyed fonts, if a glyph's name is |
| 114 | "vertuni<uni>" where <uni> is a four digit hex number, then it |
| 115 | is assumed to be a vertically rotated version of that unicode glyph. --> |
| 116 | Adobe の CID グリフ集合の中には、あらかじめ回転済みの版のラテン文字がいくつか含まれています。CJK のテキストを縦書きするときには、西洋のアルファベットで書かれたすべてのテキストは時計回りに 90°回転する必要があります。これらのグリフ位置で <CODE>アクセントつきグリフを構築(<U>B</U>)</CODE> を適用すると、適当なラテン文字を見つけて、それを適切に回転します。<BR> |
| 117 | グリフ名が“vertcid_<cid;>”(ここで <cid;> は 10 進数) という形式のときは、そのグリフは <cid;> のグリフを縦書き用に回転した物であると見なされます。非 CID フォントでは、グリフ名が“vertuni<uni;>”(ここで <uni;> は 4 桁の 16 進数) の場合は、その Unicode グリフを縦書き用に回転した物であると見なされます。 |
| 118 | </UL> |
| 119 | <P> |
| 120 | <!-- |
| 121 | So for each selected glyph in the font view (or for the current glyph in |
| 122 | the outline view), and if all the base glyphs and accents needed by the glyph |
| 123 | have already been created then this command will delete anything that is |
| 124 | currently in the foreground and put a reference to the base glyph and another |
| 125 | reference to the accent glyph into the foreground. So if the current glyph |
| 126 | were "À" then a reference to "A" would be added to it, and a reference |
| 127 | to "`" would be centered above the "A". <BR> |
| 128 | If <A HREF="editmenu.html#From">Copy From</A> is set to All Fonts then any |
| 129 | bitmaps will have a similar process done (even in the outline glyph view). --> |
| 130 | それにより、フォントビュー上で選択した各グリフ (または、アウトラインビューの場合は現在のグリフ) に対して、そのグリフが必要とするすべての基底グリフとアクセントが既に作成されている場合に限り、このコマンドは前面に含まれる物をすべて削除し、その代わりに、基底グリフへの参照とアクセントつきグリフへの別の参照を前面に配置します。例えば現在のグリフが“À”である場合、“A”への参照がそのグリフに追加され、“`”への参照が“A”の上に中央揃えで配置されます。<BR> |
| 131 | もし <A HREF="editmenu.html#From"><CODE>コピー元の指定(<U>F</U>)</A></CODE> が <CODE>すべてのフォント(<U>A</U>)</CODE> に設定されている場合、各ビットマップにも同様の処理が施されます (アウトライングリフビューで実行した場合でもこれは同じです)。 |
| 132 | <P> |
| 133 | <!-- |
| 134 | Choosing accents can be a slightly tricky process. Unicode says that accented |
| 135 | letters should be built out of the accents in the range 0x300-0x340, but |
| 136 | this does not work too well in postscript. A Type1 font works better if the |
| 137 | accented glyph is in the Adobe Standard Encoding, which means either using |
| 138 | accents around 0x2d0 or ascii glyphs. FontForge will first attempt to find |
| 139 | an accent around 0x2d0, then in ascii and finally in the 0x300-0x340 range. |
| 140 | Even worse, Unicode unifies the greek and latin accents, so for greek letters |
| 141 | FontForge will look for accents around 0x1fbd (FontForge will also require |
| 142 | the presence of the double accents like 0x1fdd). --> |
| 143 | アクセントの選択では、わずかに込み入った処理が行われることがあります。Unicode は、アクセントつき文字は 0x300〜0x340 の範囲に含まれるアクセントから組み立てなければならないと定義していますが、PostScript ではこれはあまりうまく動作しません。Type1 フォントは、アクセントつきグリフが Adobe Standard Encoding に従って配置されているとき (つまり、0x2d0 付近のアクセントまたは ASCII のグリフを使用しているとき) のほうがうまく動作します。FontForge はまず 0x2d0 近くのアクセントを探そうとし、次に ASCII の中を探し、最後に 0x300〜0x340 の範囲を探します。更に悪いことに、Unicode はギリシャ文字とラテン文字のアクセントを統合しているので、ギリシャ文字に対しては FontForge は 0x1fbd 付近のアクセントを探します (FontForge は、その他にも 0x1fdd のような二重アクセントの存在を要求することがあります)。 |
| 144 | <P> |
| 145 | <!-- |
| 146 | Some of Adobe's fonts have accents designed for use over upper case letters |
| 147 | (the nomal accents are designed for lower case), and accents designed for |
| 148 | use over cyrillic letters. So in such a font, if you attempt to build "Agrave" |
| 149 | FontForge will build it out of "A" and "Grave" (or "grave.cap", not the standard |
| 150 | "grave"). --> |
| 151 | Adobe のフォントのいくつかは大文字用にデザインされたアクセント (通常のアクセントは小文字用にデザインされています) および、キリル文字用のアクセントを含んでいます。そのようなフォントにおいては、“Agrave”を組み立てようとした時、FontForge は“A”と (標準の“grave”ではなく)“Grave”(または“grave.cap”) からそれを組み立てます。 |
| 152 | <P> |
| 153 | <!-- |
| 154 | Not all accents should be centered above the base glyph, a cedilla is (usually) |
| 155 | centered underneath the base, while other accents need to be placed to the |
| 156 | left or right, or even overstruck. FontForge should know about proper placement |
| 157 | of most accents (or at least a rough approximation thereto). --> |
| 158 | すべてのアクセントが基底文字と中央揃えで配置されるわけではありません。セディラは (通常) 基底文字の下に中央揃えで置かれますが、他のアクセントは右か左に置く必要があったり、重ねて印字する場合すらあります。FontForge はほとんどのアクセントの正しい配置 (または、少なくともその粗い近似) を知っているはずです。 |
| 159 | <P> |
| 160 | <!-- |
| 161 | Some Unicode glyphs contain more than one accent. Additional accents will |
| 162 | be treated similarly. This command can also be used to generate more general |
| 163 | composite glyphs . --> |
| 164 | Unicode のグリフのいくつかは 2 つ以上のアクセントを含んでいます。追加のアクセントも同様に扱われるでしょう。このコマンドは、より一般的な複合グリフを生成するのに使うこともできます。 |
| 165 | <P> |
| 166 | <!-- |
| 167 | Some accents (for example cedilla) are treated unexpectedly on certain letters |
| 168 | (different ways in different languages), so be careful of g-cedilla. Å |
| 169 | often merges the ring into the top of the A, but here it will float above |
| 170 | it. <FONT COLOR="Red"><STRONG>Be alert</STRONG></FONT>. --> |
| 171 | ある種のアクセント (例えばセディラのような) は、いくつかの文字においては (言語によって扱いが異なった) 思いがけない扱いを受けますので、セディラつき g にはご注意ください。Å も、A の最上部とリングが融合するデザインはよく見られますが、ここでは上部に浮かんだ形となります。<FONT COLOR="Red"><STRONG>ご注意ください</STRONG></FONT>。 |
| 172 | <P> |
| 173 | <!-- |
| 174 | Placing an accent above a glyph is surprisingly tricky. Centered accents |
| 175 | (like grave, acute, etc.) should not really be placed in the exact center |
| 176 | of the glyph. For instance when placing an acute accent on top of an "a" |
| 177 | the accent should actually go above the highest part of the "a" which is |
| 178 | almost but not quite in the center of the glyph. And when placing an acute |
| 179 | on top of a "k" (a rare combination, but still used) the accent is centered |
| 180 | on the stem of the "k". Greek accents are even more baroque. FontForge knows |
| 181 | many oddities of accent placement, but it will never know all of them (some |
| 182 | letters have multiple forms depending on the font, or perhaps on the humidity |
| 183 | and phase of the moon). --> |
| 184 | アクセントをグリフの上部に配置する処理は驚くほど込み入っています。中央揃えのアクセント (グレーブアクセント、アキュートアクセントなど) はグリフのちょうど真中に配置してはならないからです。例えば、アキュートアクセントを“a”の上に置く時には、実際のアクセントの位置は“a”の最も高い部分 (グリフのほぼ中央ですが、正確な中心ではありません) の上に配置しなければなりません。また、“k”の上にアキュートアクセントを配置する場合 (めったに見ない組合せですが、実在します) 、アクセントは“k”のステムに中央揃えで配置されます。ギリシャ語のアクセントはそれよりはるかに複雑怪奇です。FontForge は特異なアクセント配置をたくさん知っていますが、すべてを知ることは永久に無いでしょう (複数の形が存在する文字がいくつかあり、それはフォントにより、またはおそらく湿度や月相により異なります)。 |
| 185 | <TABLE BORDER CELLPADDING="2" ALIGN=Center> |
| 186 | <TR> |
| 187 | <TD><P ALIGN=Center> |
| 188 | <IMG src="../../_images/acenter.png" WIDTH="208" HEIGHT="281"><BR> |
| 189 | <!-- Center point of the glyph</TD>--> |
| 190 | グリフの中心点</TD> |
| 191 | <TD><P ALIGN=Center> |
| 192 | <IMG src="../../_images/ahighest.png" WIDTH="208" HEIGHT="281"><BR> |
| 193 | <!-- Highest point of the glyph</TD> --> |
| 194 | グリフの最も高い点</TD> |
| 195 | </TR> |
| 196 | </TABLE> |
| 197 | <P> |
| 198 | <!-- |
| 199 | And how accents are centered depends on the accents themselves. Usually FontForge |
| 200 | will try to center an accent so that the accent's center is over the base |
| 201 | glyph's "center". But that doesn't always work either. The grave and acute |
| 202 | accents are usually (but not always) centered only on the bottom part of |
| 203 | the glyph. --> |
| 204 | さらに、アクセントの中央揃えの方法はアクセントそのものに依存します。FontForge は通常、アクセントの中央をグリフの「中央」に揃えようとしますが、これは常にうまく動くわけではありません。グレーブアクセントおよびアキュートアクセントは通常 (常にではありませんが) そのグリフの最下部のみが中央揃えの対象となります。 |
| 205 | <TABLE BORDER CELLPADDING="2" ALIGN=Center> |
| 206 | <TR> |
| 207 | <TD><P ALIGN=Center> |
| 208 | <IMG src="../../_images/aacutemid.png" WIDTH="131" HEIGHT="228"><BR> |
| 209 | <!-- Midpoint of accent</TD>--> |
| 210 | アクセントの中点</TD> |
| 211 | <TD><P ALIGN=Center> |
| 212 | <IMG src="../../_images/aacutebase.png" WIDTH="132" HEIGHT="225"><BR> |
| 213 | <!-- Centered on base of accent</TD>--> |
| 214 | アクセントの最下部への中央揃え</TD> |
| 215 | </TR> |
| 216 | </TABLE> |
| 217 | <P> |
| 218 | <!-- |
| 219 | FontForge gives you a minuscule amount of control over where it puts accents. |
| 220 | There are two preference items you can set |
| 221 | (<A HREF="filemenu.html#prefs">File->Preferences</A>) --> |
| 222 | FontForge は、アクセントをどこに置くかごくわずかな調整手段を与えています。(<A HREF="filemenu.html#prefs"><CODE>ファイル(<U>F</U>)</CODE>→<CODE>環境設定(<U>E</U>)</CODE></A> で) 設定可能な環境設定項目が 2 つ存在します。 |
| 223 | <UL> |
| 224 | <LI> |
| 225 | <!-- AccentOffsetPercent - - This allows you to control the amount of space between |
| 226 | the top of the letter and the bottom of the accent (or the bottom of the |
| 227 | letter and the top of the accent for accents that sink under their letters). |
| 228 | This is expressed as a percentage of the em size and defaults to 6%. (In |
| 229 | some cases there will be a little bit more space above the accent than that. |
| 230 | All the accents from all the lower case letters should be at the same height, |
| 231 | but the letter "o" is usually slightly higher than the letter "u". So all |
| 232 | the lower case accents will be placed at the appropriate height for "o", |
| 233 | even those over "u". A similar trick is done for upper case letters). --> |
| 234 | AccentOffsetPercent — この項目で、文字の最上部とアクセントの最下部 (または、文字の下につくアクセントにおいては、文字の最下部とアクセントの最上部) の間に置く空きの量を調節することができます。これは em サイズに対する百分率で表され、デフォルトは 6% です。(いくつかの場合では、それよりもわずかに多い空きが置かれる場合があります。小文字の上につくアクセントはすべて同じ高さにある必要がありますが、文字“o”は文字“u”よりもわずかに高い位置に置かれるのが普通です。そういうわけで、小文字のアクセントはすべて“o”に合わせた高さに配置され、“u”につくアクセントでもその高さは変わりません。大文字の文字に対しても、同様のトリックが施されます。 |
| 235 | <LI> |
| 236 | <!-- AcuteCenterBottom - - This controls whether acute and grave (and double acute |
| 237 | and grave) accents are centered on the entire glyph, or just on the bottom. --> |
| 238 | この項目は、アキュートアクセントおよびグレーブアクセント (また、ダブルアキュートとダブルグレーブも) がグリフ全体を基準として中央揃えするか、単に下端を中央とするかを制御します。 |
| 239 | </UL> |
| 240 | <P> |
| 241 | <!-- |
| 242 | <FONT COLOR="Red"><STRONG><SMALL>NOTE:</SMALL></STRONG></FONT> So FontForge |
| 243 | is going to do something wrong. There are just too many areas where I am |
| 244 | ignorant or my taste doesn't match yours or the program has a bug. I strongly |
| 245 | recommend that you examine all your accented glyphs after building them and |
| 246 | be prepared to adjust things. --> |
| 247 | <FONT COLOR="Red"><STRONG><SMALL>注意:</SMALL></STRONG></FONT> ここで FontForge は何か間違いを犯すに違いありません。私が知らない領域はあまりにたくさんありますし、私の趣味があなたのお気に召さない場合もありますし、プログラムにバグがある可能性もあります。アクセントつきの文字を作成したらそれらをすべて確かめ、まずい点があったら修正する心構えでいるように強く推奨します。 |
| 248 | <P> |
| 249 | <!-- |
| 250 | The algorithms take some account of the italicangle, but when working on |
| 251 | an italic (or oblique) font FontForge is even more likely to do something |
| 252 | you don't like. --> |
| 253 | アルゴリズムは italicangle の値にある程度影響を受けますが、イタリック (またはオブリーク) のフォントで作業をしている時は、FontForge はあなたの望むとおりに動作しない可能性がはるかに高くなります。 |
| 254 | <P> |
| 255 | <!-- |
| 256 | If all else fails you can build your own accented glyphs with |
| 257 | <A HREF="editmenu.html#Reference">Edit->Copy Reference</A> and |
| 258 | <A HREF="editmenu.html#Paste">Edit->Paste</A> --> |
| 259 | その他、何かうまくいかない点がある場合、自分で <A HREF="editmenu.html#Reference"><CODE>編集(<U>E</U>)</CODE>→<CODE>参照をコピー(<U>O</U>)</CODE></A> と <A HREF="editmenu.html#Paste"><CODE>編集(<U>E</U>)</CODE>→<CODE>貼り付け(<U>P</U>)</CODE></A> を使ってアクセントつきグリフを組み立てることができます。 |
| 260 | <P> |
| 261 | <P ALIGN=Center> |
| 262 | — <A HREF="elementmenu.html"><CODE>エレメント(<U>L</U>)</CODE> メニュー</A> — |
| 263 | <A HREF="overview.html">目次</A> — <A HREF="editexample.html">チュートリアル</A> |
| 264 | — |
| 265 | </DIV> |
| 266 | </BODY></HTML> |