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

📄 afmtodit.man

📁 早期freebsd实现
💻 MAN
字号:
.\" -*- nroff -*-.\" 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 AFMTODIT @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@".SH NAMEafmtodit \- create font files for use with groff \-Tps.SH SYNOPSIS.B afmtodit[.B \-ns][.BI \-d desc_file][.BI \-e enc_file][.BI \-i n][.BI \-a n].I afm_file.I map_file.I font.SH DESCRIPTION.B afmtoditcreates a font file for use with groff and.BR grops ..B afmtoditis written in perl;you must have perl version 3 installed in order to run.BR afmtodit ..I afm_fileis the AFM (Adobe Font Metric) file for the font..I map_fileis a file that says which groff character names map ontoeach PostScript character name;this file should contain a sequence of lines of the form.IP.Ips_char groff_char.LPwhere.I ps_charis the PostScript name of the characterand.I groff_charis the groff name of the character (as used in the groff font file.)The same.I ps_charcan occur multiple times in the file;each.I groff_charmust occur at most once..I fontis the groff name of the font.If a PostScript character is in the encoding to be used for the fontbut is not mentioned in.I map_filethen.B afmtoditwill put it in the groff font file as an unnamed character,which can be accessed by the.B \eNescape sequence in.BR troff .The groff font file will be output to a file called.IR font ..LPIf there is a downloadable font file for the font, it may be listed inthe file.BR @FONTDIR@/devps/download ;see.BR grops (@MAN1EXT@)..LPIf the.B \-ioption is used,.B afmtoditwill automatically generate an italic correction,a left italic correction and a subscript correctionfor each character(the significance of these parameters is explained in.BR groff_font (@MAN5EXT@));these parameters may be specified for individual characters byadding to the.I afm_filelines of the form:.IP.BI italicCorrection\  ps_char\ n.br.BI leftItalicCorrection\  ps_char\ n.br.BI subscriptCorrection\  ps_char\ n.LPwhere.I ps_charis the PostScript name of the character,and.I nis the desired value of the corresponding parameter in thousandths of an em.These parameters are normally needed only for italic (or oblique) fonts..SH OPTIONS.TP.B \-nDon't output a.B ligaturescommand for this font.Use this with constant-width fonts..TP.B \-sThe font is special.The effect of this option is to add the.B specialcommand to the font file..TP.BI \-d desc_fileThe device description file is.I desc_filerather than the default.BR DESC ..TP.BI \-e enc_fileThe PostScript font should be reencoded to use the encoding describedin enc_file.The format of.I enc_fileis described in.BR grops (@MAN1EXT@)..TP.BI \-a nUse.I nas the slant parameter in the font file;this is used by groff in the positioning of accents.By default.B afmtodituses the negative of the ItalicAngle specified in the afm file;with true italic fonts it is sometimes desirable to usea slant that is less than this.If you find that characters from an italic font have accentsplaced too far to the right over them,then use the.B \-aoption to give the font a smaller slant..TP.BI \-i nGenerate an italic correction for each character so that the character's width plus the character's italic correctionis equal to.I nthousandths of an emplus the amount by which the right edge of the character's boundingis to the right of the character's origin.If this would result in a negative italic correction, use a zeroitalic correction instead..IPAlso generate a subscript correction equal to the product of the tangent of the slant of the font andfour fifths of the x-height of the font.If this would result in a subscript correction greater than the italiccorrection, use a subscript correction equal to the italic correctioninstead..IPAlso generate a left italic correction for each characterequal to.I nthousandths of an emplus the amount by which the left edge of the character's bounding boxis to the left of the character's origin.The left italic correction may be negative..IPThis option is normally needed only with italic (or oblique) fonts.The font files distributed with groff were created using an option of.B \-i50for italic fonts..SH FILES.Tp \w'\fB@FONTDIR@/devps/download'u+2n.B @FONTDIR@/devps/DESCDevice desciption file..TP.BI @FONTDIR@/devps/ FFont description file for font.IR F ..TP.B @FONTDIR@/devps/downloadList of downloadable fonts..TP.B @FONTDIR@/devps/text.encEncoding used for text fonts..TP.B @FONTDIR@/devps/generate/textmapStandard mapping..SH "SEE ALSO".BR groff (@MAN1EXT@),.BR grops (@MAN1EXT@),.BR groff_font (@MAN5EXT@),.BR perl (1)

⌨️ 快捷键说明

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