aboutsummaryrefslogblamecommitdiff
path: root/ja_JP.eucJP/man/man1/tfmtodit.1
blob: da48f8deb94c52847461299c577200742958a578 (plain) (tree)
1
2
   
                                                            















                                                                      
                                                                                          







                                                             
                                                     


                                                           




                      
           






                                             


           



                                                                      





                                      
           

                                                                   

                                                      




                  
                                        

               


                                                           


                                           

                                                              













                                                                    
           
                                                 
                                   
               
                                              































                                                            
                                                        




                                                             
    



















                                                                 


                            



                  




                    
.ig
Copyright (C) 1989-2000, 2001 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.
..
.\" $FreeBSD: doc/ja_JP.eucJP/man/man1/tfmtodit.1,v 1.8 2001/07/29 05:14:53 horikawa Exp $
.ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
.el .ds tx TeX
.\" 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"
..
.TH TFMTODIT 1 "6 August 2001" "Groff Version 1.17.2"
.SH 名称
tfmtodit \- groff \-Tdvi で用いるフォントファイルを作成する
.SH 書式
.nr a \n(.j
.ad l
.nr i \n(.i
.in +\w'\fBtfmtodit 'u
.ti \niu
.B tfmtodit
.de OP
.ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
.el .RB "[\ " "\\$1" "\ ]"
..
.OP \-sv
.OP \-g gf_file
.OP \-k skewchar
.I tfm_file
.I map_file
.I font
.br
.ad \na
.PP
コマンドラインオプションとパラメータの間に、空白を置くことが可能です。
.SH 解説
.B tfmtodit
は、
.B
groff \-Tdvi\fR
で用いるフォントファイルを作成します。
.I tfm_file
は、フォント作成に用いる \*(tx のフォントメトリックファイル名です。
.I map_file
は groff での文字名を記述したファイルです。
このファイルの各行は、下記のフォーマットから成ります。
.IP
.I
n c1 c2 \fR.\|.\|.
.LP
.I n
はフォント中の十進数で表した文字の位置、
.IR c1 ,
.IR c2 ,.\|.\|.
はその文字の groff 上の名前です。
tfm ファイルに存在しても groff 上では名前を持たない文字は、
groff フォントファイルに名前のない文字として出力されます。
.I font
は、出力する groff フォントファイル名です。
.LP
特殊なフォント (カレントフォントの中に文字が見つからない場合に
検索されるフォント) に対しては
.B \-s
オプションを指定する必要があります。
特殊なフォントは DESC ファイルの
.B fonts
コマンドで列挙します。特殊なフォント以外は列挙する必要はありません。
.B troff
がそのフォントを最初に使用したときに自動的にマウントできるからです。
.LP
数式を適切に処理するために、groff は tfm には含まれない
フォントメトリック情報を必要とします。
\*(tx は数式用のイタリックフォントを使用しますが、groff では、
通常のイタリックフォントを数式にも使用するからです。
groff が必要とする情報は、Metafont の Computer Modern fonts に
おける
.B math_fit
マクロの 2 つの引数によって与えることができます。
Metafont は通常、テキストフォント (
.B math_fitting
が false) の処理中、これらの引数を無視します。
.B cm.base
を作成するときに以下の定義を
.B cmbase
のあとにロードすることによって、
テキストフォントのフォントメトリック情報を
gf ファイル中に出力するように Metafont に指示できます。
.IP
.nf
.ft B
def ignore_math_fit(expr left_adjustment,right_adjustment) =
    special "adjustment";
    numspecial left_adjustment*16/designsize;
    numspecial right_adjustment*16/designsize;
    enddef;
.fi
.ft R
.LP
この変更された
.B cm.base
を使って作成された gf ファイルは
.B \-g
オプションで指定します。
.B \-g
オプションは、
.I math_fitting
が true に設定されたフォントに対しては使用してはいけません。
.SH オプション
.TP
.B \-v
バージョン番号を表示します。
.TP
.B \-s
特殊なフォントであることを指定します。フォントファイルに
.B special
コマンドを追加します。
.TP
.BI \-k n
フォント中の skewchar (斜めになった文字) の位置を指定します。
.I n
は整数で、10 進数か、
.B 0
で始まる 8 進数か
.B 0x
で始まる 16 進数で指定します。本オプションで指定された文字が
カーニング処理の 2 文字目にきた場合、
カーニングを行わないようになります。
.TP
.BI \-g gf_file
Metafont で生成された gf ファイル
.I gf_file
を指定します。
この gf ファイルは special コマンドと numspecial コマンドを含み、
追加のフォントメトリック情報を与えます。
.SH 関連ファイル
.Tp \w'\fB/usr/share/groff_font/devdvi/DESC'u+2n
.B /usr/share/groff_font/devdvi/DESC
デバイス記述ファイル
.TP
.BI /usr/share/groff_font/devdvi/ F
フォント
.IR F
のためのフォント記述ファイル
.SH 関連項目
.BR groff (1),
.BR grodvi (1),
.BR groff_font (5)
.
.\" Local Variables:
.\" mode: nroff
.\" End: