diff --git a/ja_JP.eucJP/man/man1/hpftodit.1 b/ja_JP.eucJP/man/man1/hpftodit.1 new file mode 100644 index 0000000000..d9c5e28a23 --- /dev/null +++ b/ja_JP.eucJP/man/man1/hpftodit.1 @@ -0,0 +1,149 @@ +.ig \"-*- nroff -*- +.\" jpman %Id: hpftodit.1,v 1.2 2001/03/08 14:57:46 mistral Stab % +Copyright (C) 1994-2000 Free Software Foundation, Inc. + +Permission is granted to make and distribute verbatim copies of +this manual provided the copyright notice and this permission notice +are preserved on all copies. + +Permission is granted to copy and distribute modified versions of this +manual under the conditions for verbatim copying, provided that the +entire resulting derived work is distributed under the terms of a +permission notice identical to this one. + +Permission is granted to copy and distribute translations of this +manual into another language, under the above conditions for modified +versions, except that this permission notice may be included in +translations approved by the Free Software Foundation instead of in +the original English. +.. +.\" Like TP, but if specified indent is more than half +.\" the current line-length - indent, use the default indent. +.de Tp +.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP +.el .TP "\\$1" +.. +.\" WORD: left italic correction 左イタリック補正 +.\" WORD: bounding box: バウンディングボックス [grops.1,psbb.1] +.\" WORD: design unit: 設計単位 (XXX) +.TH HPFTODIT 1 "7 December 2000" "Groff Version 1.16.1" +.SH 名称 +hpftodit \- groff \-Tlj4 で用いるフォント記述ファイルを作成する +.SH 書式 +.B hpftodit +[ +.B \-sv +] +[ +.BI \-i n +] +.I tfm_file +.I map_file +.I font +.PP +.B \-i +コマンド行オプションとそのパラメータの間には空白があっても構いません。 +.SH 解説 +.B hpftodit +は、HP のタグ付きフォントメトリックファイルから +.B +groff \-Tlj4\fR +で用いるフォントファイルを作成します。 +.I tfm_file +は、フォント作成に用いるタグ付きフォントメトリックファイル名です。 +.I map_file +は groff での文字名を記述したファイルです。 +このファイルの各行は、下記のフォーマットから成ります。 +.IP +.I +n c1 c2 \fR.\|.\|. +.LP +ここで、 +.I n +はその文字の MSL 番号を与える十進の整数で、 +.IR c1 , +.IR c2 ,.\|.\|. +はその文字の groff 上の名前です。 +.I font +は、出力する groff フォントファイル名です。 +groff フォントファイルは +.IR font +という名前のファイルに出力されます。 +.LP +特殊なフォント (カレントフォントの中に文字が見つからない場合に +検索されるフォント) に対しては +.B \-s +オプションを指定する必要があります。 +特殊なフォントは DESC ファイルの +.B fonts +コマンドで列挙します。特殊なフォント以外は列挙する必要はありません。 +.B troff +がそのフォントを最初に使用したときに自動的にマウントできるからです。 +.LP +.B \-i +オプションが指定されていた場合、 +.B hpftodit +は各文字についてイタリック補正 (italic correction)、 +左イタリック補正 (left italic correction) および +添字補正 (subscript correction) を自動生成します +(これら補正パラメータの意味については、 +.BR groff_font (5) +を参照してください)。 +.SH オプション +.TP +.B \-v +バージョン番号を表示します。 +.TP +.B \-s +特殊なフォントであることを指定します。フォントファイルに +.B special +コマンドを追加します。 +.TP +.BI \-i n +各文字のイタリック補正を生成します。 +文字幅とイタリック補正の和が、 +.I n +設計単位と +「文字のバウンディングボックスの右端が文字の原点からどれだけ右にあるか」 +の和に等しくなるように、イタリック補正が生成されます。 +負のイタリック補正になってしまう生成結果の場合、 +その値の代りに 0 がイタリック補正として使用されます。 +Intellifont フォントでは、8782 設計単位で 1 em です。 +.IP +同様に、各文字の添字補正も生成します。 +そのフォントの傾斜パラメータの正接 (tangent) に +そのフォントの x の高さの 4/5 を掛けた値が、添字補正になります。 +添字補正がイタリック補正より大きな値になってしまう生成結果の場合、 +その値の代りにイタリック補正の値が添字補正として使用されます。 +.IP +同様に、各文字の左イタリック補正も生成します。 +左イタリック補正は、 +.I n +設計単位と +「文字のバウンディングボックスの左端が文字の原点からどれだけ左にあるか」 +の和に等しくなるように、生成されます。 +左イタリック補正は、負値になる場合があります。 +.IP +このパラメータは、通常はイタリックフォント (または斜体) +でのみ必要とされます。 +.SH 関連ファイル +.Tp \w'\fB/usr/share/groff_font/devlj4/DESC'u+2n +.B /usr/share/groff_font/devlj4/DESC +デバイス記述ファイル +.TP +.BI /usr/share/groff_font/devlj4/ F +フォント +.IR F +のフォント記述ファイル +.SH バグ +.LP +このプルグラムはタグ付きフォントメトリック形式に関する +完全で公式な文書の助けを受けずに書かれました。 +テストに使用した Laserjet 4 の内蔵フォントに似ていない +tfm ファイルを扱おうとして失敗することがありえます。 +.LP +TrueType tfm ファイルはサポートしていません。 +.SH 関連項目 +.BR groff (1), +.BR grolj4 (1), +.BR groff_font (5)