Linux command
addftinfo 命令
文本
Uses pipes, overwrite, or deletion. Check paths and options first.
命令示例
Add
addftinfo [resolution] [unitwidth] [font] < [input.tfm] > [output.tfm]
Example
addftinfo 300 300 TR < times-roman.tfm > TR.tfm
说明
addftinfo is a groff (GNU troff) utility that adds computed font metric information to troff font files. It reads a font file, calculates additional metrics needed for typesetting, and outputs an enhanced font file. The tool is typically used as part of the font installation process for groff, adding metrics like character heights and depths that aren't always present in basic font files.
参数
- resolution
- Device resolution in dots per inch
- unitwidth
- Point size at which the font unitwidth was designed
- font
- Groff font name (R, I, B, BI, etc.)
- -v, --version
- Print version information
FAQ
What is the addftinfo command used for?
addftinfo is a groff (GNU troff) utility that adds computed font metric information to troff font files. It reads a font file, calculates additional metrics needed for typesetting, and outputs an enhanced font file. The tool is typically used as part of the font installation process for groff, adding metrics like character heights and depths that aren't always present in basic font files.
How do I run a basic addftinfo example?
Run `addftinfo [resolution] [unitwidth] [font] < [input.tfm] > [output.tfm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does resolution do in addftinfo?
Device resolution in dots per inch