cnman:1:addftinfo

ADDFTINFO(1) -- 为troff字体文件添加信息以用于groff

ADDFTINFO(1) ADDFTINFO(1)

NAME

     addftinfo - add information to troff font files for use with groff

名称

      addftinfo - 为troff字体文件添加信息以用于 groff

SYNOPSIS

     addftinfo [ -v ] [ -param value...  ] res unitwidth font

提要

      addftinfo [ -v ] [ -param value...  ] res unitwidth font

DESCRIPTION

     addftinfo  reads a troff font file and adds some additional font-metric
     information that is used by the groff system.  The font file  with  the
     information  added  is written on the standard output.  The information
     added is guessed using some parametric information about the  font  and
     assumptions about the traditional troff names for characters.  The main
     information added is the heights and depths of characters.  The res and
     unitwidth  arguments should be the same as the corresponding parameters
     in the DESC file; font is the name of the file describing the font;  if
     font ends with I the font will be assumed to be italic.

描述

      addftinfo 读取一个 troff 字体文件并且添加一些额外的字体度量信息,用于 groff 系统。
      添加了这类信息的字体文件显示到标准输出设备上。添加的信息可能使用此字体与
      假定的传统troff名称有关的参数信息。添加的主要信息为字符的高度和深度。
      参数 res 与 unitwidth 应当与 DESC 文件种的参数一致;参数 font 描述字体的
      文件名称;如果参数 font 以 I 结尾此字体将被假定为斜体(italic)。

OPTIONS

  1. v prints the version number.
     All  other options changes one of the parameters that is used to derive
     the heights and depths.  Like the existing quantities in the font file,
     each  value  is in inches/res for a font whose point size is unitwidth.
     param must be one of:
     x-height
            The height of lowercase letters without ascenders such as x.
     fig-height
            The height of figures (digits).
     asc-height
            The height of characters with ascenders, such as b, d or l.
     body-height
            The height of characters such as parentheses.
     cap-height
            The height of uppercase letters such as A.
     comma-depth
            The depth of a comma.
     desc-depth
            The depth of characters with descenders, such as p,q, or y.
     addftinfo makes no attempt to use the specified parameters to guess the
     unspecified  parameters.   If  a parameter is not specified the default
     will be used.  The defaults are chosen to have  the  reasonable  values
     for a Times font.

选项

  1. v 列出版本号。
     All  other options changes one of the parameters that is used to derive
     the heights and depths.  Like the existing quantities in the font file,
     each  value  is in inches/res for a font whose point size is unitwidth.
     param must be one of:
     所有其他选项都会改动到用于导出高度和深度的参数之一. 
     与字体文件中的已有数量一样, 参数中的每一个值以 英寸/res  计量,
     对应磅数为 unitwidth  的字体.
     参数 param  必须是下列之一:
     x-height
            The height of lowercase letters without ascenders such as x.
            小写字母的高度, 不包括升部如字母 x.
     fig-height
            The height of figures (digits).
            数字的高度.
     asc-height
            The height of characters with ascenders, such as b, d or l.
      具有升部的字符的高度, 如字母 b, d 或者 l.
     body-height
            The height of characters such as parentheses.
      字符如括弧的高度.
     cap-height
            The height of uppercase letters such as A.
      大写字母如 A 的高度.
     comma-depth
            The depth of a comma.
      一个逗号的深度.
     desc-depth
            The depth of characters with descenders, such as p,q, or y.
      具有降部的字符的深度, 如 p,q, 或者 y.
     addftinfo makes no attempt to use the specified parameters to guess the
     unspecified  parameters.   If  a parameter is not specified the default
     will be used.  The defaults are chosen to have  the  reasonable  values
     for a Times font.
     addftinfo 未尝使用已指定的参数来猜测未指定的参数.   
     如果一个参数没有明确指定则会采用其缺省值.
     这些缺省值于 Times 字体中的合理值里面选择.

SEE ALSO

     groff_font(5), groff(1), groff_char(7)

参见

     groff_font(5), groff(1), groff_char(7)

Groff Version 1.19.2 10 July 2001 ADDFTINFO(1)

Groff 版本 1.19.2 2001年7月10日 ADDFTINFO(1)

/data/vhosts/wiki-data/pages/cnman/1/addftinfo.txt · 最后更改: 2010/10/20 01:18 由 alphachi