xtotroff - convert X font metrics into groff font metrics
xtotroff
[-r resolution]
[-s point-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 groff font name and an X font name as a X Logical Font Description (XLFD) pattern, separated by whitespace. Example:
TB -adobe-times-bold-r-normal--*-*-*-*-p-*-iso8859-1
The wildcards in the patterns are filled with the arguments to the -r and -s switches. If a font name is still ambiguous, xtotroff aborts.
--help
displays a usage message, while -v and
--version show version information; all exit
afterward.
-r resolution
Set the resolution for all font patterns in font-map. The value is used for both the horizontal and vertical resolution. If not specified, a resolution of 75dpi is assumed.
-s point-size
Set the point size for all font patterns in font-map. If not specified, a size of 10 points is assumed.
The only supported font encodings are “iso8859-1” and “adobe-fontspecific”.
groff(1), gxditview(1), troff(1)