Debian Codegraph @

doc/sphinx/olddocs/old/ja/running.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <!-- Created with AOLpress/2.0 -->
4 <!-- AP: Created on: 26-Oct-2005 -->
5 <!-- AP: Last modified: 14-Jan-2006 -->
6 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
7 <!--<TITLE>Starting fontforge</TITLE>-->
8 <TITLE>FontForge の起動方法</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 <!--Starting fontforge-->
16 FontForge の起動方法
17 </H1>
18 <UL>
19 <LI>
20 <!-- <A HREF="nix-install.html#Installing">Installing from a pre-built unix
21 package</A> -->
22 <A HREF="nix-install.html#Installing">Unix 用構築済みパッケージからのインストール方法</A>
23 <LI>
24 <!-- <A HREF="mac-install.html#Installing">Installing on a Mac</A>-->
25 <A HREF="mac-install.html#Installing">Mac へのインストール方法</A>
26 <LI>
27 <!-- <A HREF="ms-install.html#Installing">Installing on MS/Windows</A>-->
28 <A HREF="ms-install.html#Installing">MS-Windows へのインストール方法</A>
29 <LI>
30 <!-- <A HREF="source-build.html#mac">Before you build (on a mac)</A>-->
31 <A HREF="source-build.html#src-mac">(Mac 上で) ソースを構築する前の準備</A>
32 <LI>
33 <!-- <A HREF="source-build.html#MS">Before you build (on MS/Windows)</A>-->
34 <A HREF="source-build.html#src-MS">(Windows 上で) ソースを構築する前の準備</A>
35 <LI>
36 <!-- <A HREF="source-build.html#source">Building and installing from source</A>-->
37 <A HREF="source-build.html#source">ソースからの構築とインストール</A>
38 <LI>
39 <!-- <A HREF="source-build.html#Dependencies">Dependencies (external libraries/helper programs)</A> -->
40 <A HREF="source-build.html#Dependencies">依存性 (外部ライブラリ/補助プログラム)</A>
41 <LI>
42 <!-- <A HREF="#Documentation">Installing documentation</A>-->
43 <A HREF="source-build.html#Documentation">文書のインストール方法</A>
44 <LI>
45 <!-- <A HREF="running.html">Running FontForge</A>-->
46 <A HREF="running.html">FontForge の起動方法</A>
47 <UL>
48 <LI>
49 <!-- <A HREF="running.html#cygwin">Before starting fontforge on cygwin</A>-->
50 <A HREF="running.html#cygwin">cygwin で FontForge を起動する前に</A>
51 <LI>
52 <!-- <A HREF="running.html#PATH">Notes on the PATH variable</A> -->
53 <A HREF="running.html#PATH">環境変数 PATH に関する注意</A>
54 <LI>
55 <!-- <A HREF="running.html#Starting">Starting fontforge from the command line</A> -->
56 <A HREF="running.html#Starting">コマンドラインから FontForge を起動する方法</A>
57 <LI>
58 <!-- <A HREF="#mac">On the mac</A> -->
59 <A HREF="#mac">Mac では</A>
60 </UL>
61 </UL>
62 <H2>
63 <!--Starting <A NAME="FontForge">FontForge</A>-->
64 <A NAME="FontForge">FontForge</A> の起動方法
65 </H2>
66 <H3>
67 <!--Before starting fontforge on <A NAME="cygwin">cygwin</A>-->
68 <A NAME="cygwin">cygwin</A> で FontForge を起動する前に
69 </H3>
70 <P>
71 <!--
72 Before you can start fontforge on cygwin you must start the X11 server. -->
73 cygwin 上で FontForge を実行できるようにするには、X11 サーバを起動しておく必要があります。
74 <P>
75 <!--
76 Open a cygwin window and type -->
77 cygwin のウィンドウを開いて以下を実行します:
78 <BLOCKQUOTE>
79 <PRE><FONT COLOR="Gray">$ </FONT>xinit
80 </PRE>
81 </BLOCKQUOTE>
82 <P>
83 <!--
84 This should create a task window that covers your entire screen, inside of
85 which there should be an xterm (sort of like the cygwin window earlier).
86 Be prepared to type commands in this window. -->
87 これにより画面全体を蔽うタスクウィンドウが作成され、その内部に xterm (cygwin ウィンドウと似たようなもので、さらに昔からあるプログラムです) が表示されるはずです。これで、このウィンドウからコマンドが入力できるようになりました。
88 <P>
89 <!--
90 You should then type -->
91 それから以下を実行するべきでしょう:
92 <BLOCKQUOTE>
93 <PRE><FONT COLOR="Gray">$ </FONT>twm &amp;
94 </PRE>
95 </BLOCKQUOTE>
96 <H3>
97 <!--Notes on the <A NAME="PATH">PATH</A> variable-->
98 環境変数 <A NAME="PATH">PATH</A> に関する注意
99 </H3>
100 <P>
101 <!--
102 On most systems fontforge will install itself into <KBD>/usr/local/bin</KBD>
103 (that's the standard place for optional software), and this is not always
104 in the default search path for commands (grrrr). Which means you might have
105 everything properly installed, but nothing actually works. If you see messages
106 like <KBD>"fontforge: command not found."</KBD> this has (probably) happened
107 to you.-->
108 ほとんどのシステムでは、FontForge は <KBD>/usr/local/bin</KBD> にインストールされるのですが (これは追加のソフトウェアの標準的な置き場所です)、ここはデフォルトのコマンドサーチパスに登録されているとは限らないのです (ガルルル)。その場合、インストールは全て正しく行われたにも関わらず、実際には何も起動しないということになります。もし、“<KBD>fontforge: command not found.</KBD>”とか“<KBD>fontforge: コマンドが見つかりません.</KBD>”のようなメッセージが表示されたならば、(おそらく) そのような事が起こっているのです。
109 <P>
110 <!--
111 So what do you do? -->
112 ならどうすればいいのでしょう?
113 <P>
114 <!--
115 You need to set the PATH environment variable so that it includes /usr/local/bin.
116 The value of the PATH variable is a set of directories separated by colons. -->
117 環境変数 PATH を /usr/local/bin を含むように設定する必要があります。PATH 変数の値は、ディレクトリをコロン (:) で区切って並べたものです。
118 <BLOCKQUOTE>
119 <PRE><FONT COLOR="Gray">$ </FONT>echo $PATH
120 /home/gww/bin:/usr/bin:/bin:/usr/X11R6/bin:/sbin
121 </PRE>
122 </BLOCKQUOTE>
123 <P>
124 <!--
125 Unfortunately there are two ways of doing this because there are two different
126 conventions used by unix shells. Type: -->
127 不幸なことに、Unix シェルには 2 つの異なる流儀に分かれているため、これを設定する方法は 2 つあるのです。以下のようにして確かめてください:
128 <BLOCKQUOTE>
129 <PRE><FONT COLOR="Gray">$ </FONT>echo $SHELL
130 /bin/bash
131 </PRE>
132 </BLOCKQUOTE>
133 <P>
134 <!--
135 If the name of your shell is <KBD>bash</KBD> (as above), <KBD>ksh</KBD> or
136 <KBD>sh</KBD> then you want to type -->
137 現在使っているシェルの名前が (上の例のように) <KBD>bash</KBD>, <KBD>ksh</KBD> または <KBD>sh</KBD> と表示されたならば、次のように設定するのがいいでしょう:
138 <BLOCKQUOTE>
139 <PRE><FONT COLOR="Gray">$ </FONT>PATH=/usr/local/bin:$PATH ; export PATH
140 </PRE>
141 </BLOCKQUOTE>
142 <P>
143 <!--
144 If the name of your shell is <KBD>tcsh</KBD> or <KBD>csh</KBD> then you say -->
145 あなたの使っているシェルが <KBD>tcsh</KBD> または <KBD>csh</KBD> ならば、以下のようにします:
146 <BLOCKQUOTE>
147 <PRE><FONT COLOR="Gray">$ </FONT>setenv PATH /usr/local/bin:$PATH
148 </PRE>
149 </BLOCKQUOTE>
150 <P>
151 <!--
152 But you'd have to do that every time you logged in. Instead you want this
153 included in the shell's initialization. Again there are two cases, for the
154 <KBD>bash</KBD> family of shells you want to edit the file
155 <KBD>~/.profile</KBD> while for the <KBD>csh</KBD> family you want to edit
156 the file <KBD>~/.login</KBD>. On a bash system the following command is generally
157 sufficient: -->
158 しかしこの方法ではログインするたびに上の手順を実行しなければなりません。そうしないで済むように、この処理をシェルの初期化手順に追加することができます。この場合もやり方は 2 つに分かれていて、<KBD>bash</KBD> とその仲間ではファイル <KBD>~/.profile</KBD> を編集するのに対し、<KBD>csh</KBD> と <KBD>tcsh</KBD> ではファイル <KBD>~/.login</KBD> を編集します。bash を使っている場合、一般に以下のコマンドを実行すればいいでしょう:
159 <BLOCKQUOTE>
160 <PRE><FONT COLOR="Gray">$ </FONT>cat &gt;&gt;~/.profile
161 PATH=/usr/local/bin:$PATH ; export PATH
162 ^D
163 </PRE>
164 </BLOCKQUOTE>
165 <P>
166 <!--
167 (where <KBD>^D</KBD> represents control-D, obtained by holding down the control
168 key while depressing <KBD>d</KBD>. <BR>
169 And for the csh family you would type: -->
170 (ここで <KBD>^D</KBD> は Control-D のことで、Control (Ctrl) キーを押したまま離さずに <KBD>d</KBD> キーを押すことを表します。<BR>
171 csh の仲間の場合、以下のようにタイプします:
172 <BLOCKQUOTE>
173 <PRE><FONT COLOR="Gray">$ </FONT>cat &gt;&gt;~/.login
174 setenv PATH /usr/local/bin:$PATH
175 ^D
176 </PRE>
177 </BLOCKQUOTE>
178 <H3>
179 <!--<A NAME="Starting">Starting</A> fontforge from the command line-->
180 コマンドラインから FontForge を<A NAME="Starting">起動する方法</A>
181 </H3>
182 <BLOCKQUOTE>
183 <PRE><FONT COLOR="Gray">$ </FONT>fontforge font.pfa font2.sfd font3.ttf font4.otf </PRE>
184 </BLOCKQUOTE>
185 <P>
186 <!--
187 will start fontforge looking at the fonts you specify on the command line.
188 It can read either pfb or pfa fonts, and some ps fonts (type 0 fonts based
189 on a type 1 dictionary) as well as truetype fonts, open type fonts and many
190 other formats. -->
191 これを実行すると、FontForge はコマンドラインで指定したフォントを探します。TrueType フォント、OpenType フォントだけでなく、PFB や PFA フォント、およびある種の PS フォント (Type1 辞書に基づく Type0 フォント) などの各種の異なるフォーマットのフォントを読み込むことができます。
192 <P>
193 <!--
194 <SMALL>(If you get a message from your computer saying: "<KBD>fontforge:
195 Command not found</KBD>" you should read the
196 <A HREF="running.html#PATH">previous section</A>)</SMALL> -->
197 <SMALL>(もし、これを実行した時に:“<KBD>fontforge:Command not found</KBD>”や“<KBD>fontforge:コマンドが見つかりません</KBD>”というメッセージが端末に表示される場合、<A HREF="running.html#PATH">前のセクション</A>をお読みください)</SMALL>
198 <BLOCKQUOTE>
199 <PRE><FONT COLOR="Gray">$ </FONT>fontforge -new
200 </PRE>
201 </BLOCKQUOTE>
202 <P>
203 <!--
204 will cause fontforge to create a new font (in iso-8859-1 encoding) -->
205 このようにすると、FontForge は (ISO8859-1 エンコーディングの) 新しいフォントを作成します。
206 <BLOCKQUOTE>
207 <PRE><FONT COLOR="Gray">$ </FONT>fontforge
208 </PRE>
209 </BLOCKQUOTE>
210 <P>
211 <!--
212 will open up a file picker dialog and allow you to browse till you've found
213 a font file (or have created a new one). -->
214 とのみするとファイル選択ダイアログが開き、フォントファイルが見つかるまで (か、新規に作成するまで) ブラウズすることができます
215 <BLOCKQUOTE>
216 <PRE><FONT COLOR="Gray">$ </FONT>fontforge -script script.pe fonts...
217 </PRE>
218 </BLOCKQUOTE>
219 <P>
220 <!--
221 This will invoke fontforge in a non-interactive mode, and have it run the
222 named script. Any further arguments on the command line will be passed as
223 arguments to the script and processed (or not) by it. -->
224 これは FontForge を非対話的なモードで起動し、script という名前のスクリプトファイルを実行します。コマンドライン上でその後に続くすべての引数は、スクリプトへの引数とし手渡され、スクリプトによって処理が行われ (るか無視され) ます。
225 <P>
226 <!--
227 For a complete description of possible arguments see <A HREF="cliargs.html">the
228 section on the command line</A>. -->
229 指定可能な引数の完全なリストは、<A HREF="cliargs.html">コマンドラインのセクション</A>を参照してください。
230 <H3>
231 <!--On the <A NAME="mac">mac</A>-->
232 <A NAME="mac">Mac</A> では
233 </H3>
234 <P>
235 <!--
236 Before you start fontforge on the mac you must start the X11 server. You
237 can do this by opening the Applications folder, and then opening the Utilities
238 folder, and then double-clicking on "X11". (If you don't have X11 there then
239 refer back to the <A HREF="mac-install.html#Before">instructions for installing
240 it</A>) -->
241 FontForge を Mac で起動する前に、X11 サーバを起動する必要があります。これを行うには、Applications フォルダを開き、その中の Utilities フォルダを開いてから“X11”をダブルクリックしてください。(X11 が入っていない場合は、<A HREF="mac-install.html#Before">インストールの手順の説明</A> まで戻って、設定を行ってください。
242 <P>
243 <!--
244 Having done that there should be a menubar with a menu labeled "Applications".
245 Click on this. There should be a "FontForge" entry in it. Selecting FontForge
246 will start fontforge and bring up a dialog allowing you to open a font or
247 create a new one. -->
248 これが行うと、“Applications”というラベルのメニューがメニューバーに表示されるはずです。それをクリックしてください。そこに“FontForge”という項目があるはずです。FontForge を選択すると、FontForge プログラムが起動し、フォントを開いたり新規作成することができるダイアログが立ち上がります。
249 <P>
250 <!--
251 <FONT COLOR="Red"><STRONG>Caveat: </STRONG></FONT>FontForge does not normally
252 show mac resource fonts in this dialog - - however it can still open one even
253 it it isn't displayed. Simply type in the name of the file containing it.
254 (or, if you prefer, type a "*" in the textfield and then press the [Filter]
255 button. This should show you all files). -->
256 <FONT COLOR="Red"><STRONG>警告: </STRONG></FONT>FontForge は通常は Mac リソースフォントをこの一覧に表示しません——たとえファイルが表示されていない場合でも、その中の 1 個を開くことは可能です。たんに、そのディレクトリにあるファイルの名前をタイプするだけです (または、そうしたくない場合、テキストフィールドに“*”と入力してから <CODE>[フィルタ]</CODE> ボタンを押してください。すべてのファイルが一覧表示されます)。
257 <P>
258 <!--
259 If the Applications menu does not contain a "FontForge" entry, you can add
260 one yourself: -->
261 “FontForge”という項目が Applications メニューに含まれていないならば、以下の手順でその項目を追加することができます:
262 <UL>
263 <LI>
264 <!-- Select Applications-&gt;Customize Menu-->
265 <CODE>Applications</CODE>→<CODE>Customize</CODE> メニューを選択
266 <LI>
267 <!-- Then press the (Add) button in the dialog that appears-->
268 表示されたダイアログの <CODE>(Add)</CODE> ボタンをクリック
269 <LI>
270 <!-- Double click in the left-most section of the blank line which just appeared
271 and then type "FontForge" -->
272 現れたばかりの空白行の一番左の欄をダブルクリックして、“<CODE>FontForge</CODE>”とキー入力。
273 <LI>
274 <!-- Press the [Tab] key and type "/usr/local/bin/fontforge"-->
275 [Tab] キーを押して“<CODE>/usr/local/bin/fontforge</CODE>”とキー入力。
276 <LI>
277 <!-- Press the [Tab] key again and type "f"-->
278 もう一度 [Tab] キーを押して“f”キーを押す
279 <LI>
280 <!-- Then press (Done)-->
281 それから <CODE>(Done)</CODE> ボタンをクリック
282 </UL>
283 <P>
284 <!--
285 (You may also start fontforge from the command line here. Go to the Applications
286 menu and select xterm, and then type <A HREF="running.html#Starting">one
287 of the commands listed above</A>) -->
288 (ここで FontForge をコマンドラインから起動することもできます。Applications メニューに移動して xterm を選択してから、xterm 上で<A HREF="running.html#Starting">ここに例示したコマンドラインのどれか</A>を入力してください。
289 <P>
290 <!--
291 <FONT COLOR="Red"><STRONG>Caveat: </STRONG></FONT>FontForge does not use
292 the Command key to invoke menu items. (Any use of the Command key is intercepted
293 by X11, so Command-Q will quit out of X11 (and abort fontforge), it will
294 not quit fontforge cleanly) -->
295 <FONT COLOR="Red"><STRONG>警告:</STRONG></FONT> FontForge はメニュー項目を呼び出すのに Command キーを使用しません。(Command キーを使用すると、それはすべて X11 によって横取りされるので、Command-Q は X11 を終了させる (同時に FontForge を異常終了させる) ことになり、FontForge を正しく終了させることにはなりません。
296 <P>
297 <!--
298 <FONT COLOR="Red"><STRONG>Caveat: </STRONG></FONT>FontForge was written assuming
299 the availability of a three button mouse. X11 simulates this by creating
300 a virtual three button mouse where the middle button is invoked by Option-Mouse
301 click and the right button by Command-Mouse click. -->
302 <FONT COLOR="Red"><STRONG>警告:</STRONG></FONT> FontForge は 3 ボタンマウスが利用可能であることを前提として作成されています。X11 はこれを、Option-マウスクリックを中ボタン、Command-マウスクリックを右ボタンと見なす仮想 3 ボタンマウスを作成することによってシミュレートしています。
303 <P>
304 </DIV>
305 </BODY></HTML>