⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tfmtodit.man

📁 早期freebsd实现
💻 MAN
字号:
.\" -*- nroff -*-.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 @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@".SH NAMEtfmtodit \- create font files for use with groff \-Tdvi.SH SYNOPSIS.B tfmtodit[.B \-sv][.BI \-g gf_file][.BI \-k skewchar].I tfm_file.I map_file.I font.SH DESCRIPTION.B tfmtoditcreates a font file for use with.Bgroff \-Tdvi\fR..I tfm_fileis the name of the \*(tx font metric file for the font..I map_fileis a file giving the groff names for characters in the font;this file should consist of a sequence of lines of the form:.IP.In c1 c2 \fR.\|.\|..LPwhere.I nis a decimal integer giving the position of the character in the font,and.IR c1 ,.IR 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..I fontis the name of the groff font file.The groff font file is written to.IR font ..LPThe.B \-soption should be given if the font is special(a font is.I specialif.B troffshould search it whenevera character is not found in the current font.)If the font is special,it should be listed in the.B fontscommand in the DESC file;if it is not special, there is no need to list it, since.B troffcan automatically mount it when it's first used..LPTo do a good job of math typesetting, groff requiresfont metric information not present in the tfm file.The reason for this is that \*(tx has separate math italic fontswhereas groff uses normal italic fonts for math.The additional information required by groff is given by thetwo arguments to the.B math_fitmacro in the Metafont programs for the Computer Modern fonts.In a text font (a font for which.B math_fittingis false), Metafont normally ignores these two arguments.Metafont can be made to put this information in the gf fileby loading the following definition after.B cmbasewhen creating.BR cm.base :.IP.nf.ft Bdef ignore_math_fit(expr left_adjustment,right_adjustment) =    special "adjustment";    numspecial left_adjustment*16/designsize;    numspecial right_adjustment*16/designsize;    enddef;.fi.ft R.LPThe gf file created using this modified.B cm.baseshould be specified with the.B \-goption.The.B \-goption should not be given for a font for which.B math_fittingis true..SH OPTIONS.TP.B \-vPrint the version number..TP.B \-sThe font is special.The effect of this option is to add the.B specialcommand to the font file..TP.BI \-k nThe skewchar of this font is at position.IR n ..I nshould be an integer;it may be given in decimal,or with a leading .B 0in octal,or with a leading.B 0xin hexadecimal.The effect of this option is to ignore any kerns whose second componentis the specified character..TP.BI \-g gf_file.I gf_fileis a gf file produced by Metafont containing special and numspecialcommands giving additional font metric information..SH FILES.Tp \w'\fB@FONTDIR@/devdvi/DESC'u+2n.B @FONTDIR@/devdvi/DESCDevice desciption file..TP.BI @FONTDIR@/devdvi/ FFont description file for font.IR F ..SH "SEE ALSO".BR groff (@MAN1EXT@),.BR grodvi (@MAN1EXT@),.BR groff_font (@MAN5EXT@)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -