xtotroff(1) | General Commands Manual | xtotroff(1) |
xtotroff - convert X font metrics into groff font metrics
xtotroff |
[-d destination-directory] [-r resolution] [-s type-size] font-map |
xtotroff |
--help |
xtotroff |
-v |
xtotroff |
--version |
xtotroff uses font-map to create groff(1) font description files from X11 fonts. Each line in font-map consists of a series of lines of paired groff font names and X font names as X Logical Font Description (XLFD) patterns, with the pair members separated by spaces and/or tabs. For example, an input font-map file consisting of the line
TB -adobe-times-bold-r-normal--*-*-*-*-p-*-iso8859-1
xtotroff opens a connection to the running X server to query its font catalog, and aborts if it cannot. If necessary, the wildcards in the XLFD patterns are populated with the arguments to the -r and -s options. If a font name is still ambiguous, xtotroff aborts. For each successful mapping, xtotroff creates a groff font description file in the current working directory (or that specified by the -d option) named for each groff font, and reports the mapping to the standard output stream.
--help displays a usage message, while -v and --version show version information; all exit afterward.
The only supported font encodings are “iso8859-1” and “adobe-fontspecific”.
“X Logical Font Description Conventions”, by Jim Flowers and Stephen Gildea.
X(7), groff(1), gxditview(1), troff(1), groff_font(5)
31 March 2024 | groff 1.23.0 |