# info > AFMTODIT

---
type: CommandReference
command: afmtodit
mode: man
section: 1
source: man-pages
---

## Quick Reference
- `afmtodit afm-file map-file font` — Create groff font file from AFM and map.
- `afmtodit -e enc-file afm-file map-file font` — Reencode PostScript font.
- `afmtodit -i n afm-file map-file font` — Generate italic corrections.
- `afmtodit -o output-file afm-file map-file font` — Specify output file.
- `afmtodit -k afm-file map-file font` — Omit kerning for monospaced fonts.
- `afmtodit -n afm-file map-file font` — Omit ligatures for monospaced fonts.
- `afmtodit -s afm-file map-file font` — Mark font as special.
- `afmtodit -v` — Print version.

## Name
afmtodit - create font files for use with groff -Tps and -Tpdf

## Synopsis
`afmtodit [-ckmnsx] [-a n] [-d desc-file] [-e enc-file] [-f internal-name] [-i n] [-o output-file] afm-file map-file font`  
`afmtodit -v`

## Options
- `-a n` — Set slant parameter (default: negative of ItalicAngle). Use smaller value if accents placed too far right.
- `-c` — Include comments in font file identifying PostScript font.
- `-d desc-file` — Use specified device description file instead of default DESC. Searched in current directory or devps subdirectory.
- `-e enc-file` — Reencode font using encoding described in enc-file (see grops(1)). Searched similarly.
- `-f name` — Set internal groff font name to name.
- `-i n` — Auto-generate italic correction, left italic correction, and subscript correction. Typically `-i50` for italic fonts. Left italic correction may be negative unless `-m` given.
- `-o output-file` — Write output to output-file instead of font.
- `-k` — Omit kerning data (for monospaced/constant-width fonts).
- `-m` — Prevent negative left italic correction values. Use with `-i0` for Roman fonts.
- `-n` — Don't output a ligatures command (for monospaced fonts).
- `-s` — Mark font as special.
- `-v` — Print version and exit.
- `-x` — Don't use the built-in Adobe Glyph List.

## Examples
No examples are provided in the original documentation.

## See Also
- [groff(1)](http://localhost/phpMan.php/man/groff/1/markdown)
- [gropdf(1)](http://localhost/phpMan.php/man/gropdf/1/markdown)
- [grops(1)](http://localhost/phpMan.php/man/grops/1/markdown)
- [groff_font(5)](http://localhost/phpMan.php/man/grofffont/5/markdown)
- [perl(1)](http://localhost/phpMan.php/man/perl/1/markdown)
- Groff: The GNU Implementation of troff, section "Using Symbols" (info command: `info '(groff)Using Symbols'`)

## Exit Codes
Not documented.