usage: tfmtodit [-sv] [-g gf_file] [-k skewchar] tfm_file map_file font
usage: tfmtodit [-sv] [-g gf_file] [-k skewchar] tfm_file map_file font
TFMTODIT(1) TFMTODIT(1) 名称 tfmtodit - groff -Tdvi で用いるフォントファイルを作成する 書式 tfmtodit [ -sv ] [ -ggf_file ] [ -kskewchar ] tfm_file map_file font コマンドラインオプションとパラメータの間に、空白を置くことが可能です。 解説 tfmtodit は 、 groff -Tdvi で用いるフォントファイルを作成します。 tfm_file は、フォント作成に用いる TeX のフォントメトリックファイル名 で す。 map_file は groff での文字名を記述したファイルです。このファイルの 各行は、下記のフォーマットから成ります。 n c1 c2 ... n はフォント中の十進数で表した文字の位置、 c1, c2,... はそ の 文 字 の groff 上の名前です。 tfm ファイルに存在しても groff 上では名前を持たな い文字は、 groff フォントファイルに名前のない文字として出力されま す 。 font は、出力する groff フォントファイル名です。 特 殊なフォント (カレントフォントの中に文字が見つからない場合に検索され るフォント) に対しては -s オプションを指定する必要があります。特殊な フ ォントは DESC ファイルの fonts コマンドで列挙します。特殊なフォント以外 は列挙する必要はありません。 troff がそのフォントを最初に使用したときに 自動的にマウントできるからです。 数式を適切に処理するために、groff は tfm には含まれないフォントメトリッ ク情報を必要とします。 TeX は数式用のイタリックフォントを使用しま す が 、groff で は 、 通常のイタリックフォントを数式にも使用するからです。 groff が必要とする情報は、Metafont の Computer Modern fonts に お け る math_fit マクロの 2 つの引数によって与えることができます。 Metafont は 通常、テキストフォント ( math_fitting が false) の処理中、これらの引 数 を無視します。 cm.base を作成するときに以下の定義を cmbase のあとにロー ドすることによって、テキストフォントのフォントメトリック情報を gf フ ァ イル中に出力するように Metafont に指示できます。 def ignore_math_fit(expr left_adjustment,right_adjustment) = special "adjustment"; numspecial left_adjustment*16/designsize; numspecial right_adjustment*16/designsize; enddef; この変更された cm.base を使って作成された gf ファイルは -g オプションで 指定します。 -g オプションは、 math_fitting が true に設定されたフォ ン トに対しては使用してはいけません。 オプション -v バージョン番号を表示します。 -s 特殊なフォントであることを指定します。フォントファイルに special コマンドを追加します。 -kn フォント中の skewchar (斜めになった文字) の位置を指定します。 n は 整数で、10 進数か、 0 で始まる 8 進数か 0x で始まる 16 進数で 指定します。本オプションで指定された文字がカーニング処理の 2 文 字目にきた場合、カーニングを行わないようになります。 -ggf_file Metafont で生成された gf ファイル gf_file を指定します。この gf ファイルは special コマンドと numspecial コマンドを含み、追加 の フォントメトリック情報を与えます。 関連ファイル /usr/share/groff_font/devdvi/DESC デバイス記述ファイル /usr/share/groff_font/devdvi/F フォント F のためのフォント記述ファ イル 関連項目 groff(1), grodvi(1), groff_font(5) Groff Version 1.17.2 6 August 2001 TFMTODIT(1)
TFMTODIT(1) TFMTODIT(1) NAME tfmtodit - create font files for use with groff -Tdvi SYNOPSIS tfmtodit [ -sv ] [ -ggf_file ] [ -kskewchar ] tfm_file map_file font It is possible to have whitespace between a command line option and its parameter. DESCRIPTION tfmtodit creates a font file for use with groff -Tdvi. tfm_file is the name of the TeX font metric file for the font. map_file is a file giv- ing the groff names for characters in the font; this file should con- sist of a sequence of lines of the form: n c1 c2 ... where n is a decimal integer giving the position of the character in the font, and c1, c2,... are the groff names of the character. If a character has no groff names but exists in the tfm file, then it will be put in the groff font file as an unnamed character. font is the name of the groff font file. The groff font file is written to font. The -s option should be given if the font is special (a font is special if troff should search it whenever a character is not found in the cur- rent font.) If the font is special, it should be listed in the fonts command in the DESC file; if it is not special, there is no need to list it, since troff can automatically mount it when it’s first used. To do a good job of math typesetting, groff requires font metric infor- mation not present in the tfm file. The reason for this is that TeX has separate math italic fonts whereas groff uses normal italic fonts for math. The additional information required by groff is given by the two arguments to the math_fit macro in the Metafont programs for the Computer Modern fonts. In a text font (a font for which math_fitting is false), Metafont normally ignores these two arguments. Metafont can be made to put this information in the gf file by loading the following definition after cmbase when creating cm.base: def ignore_math_fit(expr left_adjustment,right_adjustment) = special "adjustment"; numspecial left_adjustment*16/designsize; numspecial right_adjustment*16/designsize; enddef; For the EC font family, load the following definition after exbase (it is probably easiest to patch exbase.mf locally): def ignore_math_fit(expr left_adjustment,right_adjustment) = ori_special "adjustment"; ori_numspecial left_adjustment*16/designsize; ori_numspecial right_adjustment*16/designsize; enddef; The gf file created using this modified cm.base or exbase should be specified with the -g option. The -g option should not be given for a font for which math_fitting is true. OPTIONS -v Print the version number. -s The font is special. The effect of this option is to add the special command to the font file. -kn The skewchar of this font is at position n. n should be an integer; it may be given in decimal, or with a leading 0 in octal, or with a leading 0x in hexadecimal. The effect of this option is to ignore any kerns whose second component is the specified character. -ggf_file gf_file is a gf file produced by Metafont containing special and numspecial commands giving additional font metric information. FILES /usr/share/groff/1.18.1.4/font/devdvi/DESC Device description file. /usr/share/groff/1.18.1.4/font/devdvi/F Font description file for font F. SEE ALSO groff(1), grodvi(1), groff_font(5) Groff Version 1.18.1.4 27 February 2002 TFMTODIT(1)
コロナウイルスの日ごとの感染者数・死者数をグラフ化してみました。どの国が増加傾向にあり、どの国が終息に向かっているかを視覚化しています。
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa