afmtodit
Adobe font metrics to groff font description converter
TLDR
Convert AFM file to groff font
SYNOPSIS
afmtodit [-ckmnsvx] [-a n] [-d desc] [-e enc] [-f name] [-i n] [-o out] afm-file map-file font
DESCRIPTION
afmtodit converts Adobe Font Metrics (AFM) files to font description files suitable for use with the groff typesetting system. It creates the font metrics files that groff's PostScript driver needs to properly position and space characters when typesetting documents.
The tool maps PostScript glyph names to groff character names using a user-supplied map file, and can include kerning pairs and ligature information in the output. It also supports synthetic transformations such as oblique slanting, making it possible to generate italic variants from roman font metrics without a separate AFM file.
PARAMETERS
-a n
Slant angle for synthetic oblique fonts-c
Include unnamed characters-d file
DESC file for device resolution-e file
Encoding file specifying character order-f name
Internal font name-i n
Italic correction values-k
Include kerning information-m
Prevent font name guessing-n
No ligatures-o file
Output file name-s
Treat as special font-v
Print version
CAVEATS
Requires valid AFM files from the font vendor. The text map file must correctly map PostScript glyph names. Output is specific to groff's PostScript driver.
HISTORY
afmtodit is part of GNU groff, developed since 1989. It enables the use of PostScript fonts in groff documents, extending the typesetting system beyond its original font set.
