1XTOTROFF(1) General Commands Manual XTOTROFF(1)
2
3
4
6 xtotroff - convert X font metrics into GNU troff font metrics
7
9 xtotroff [-r resolution] [-s point-size] font-map
10
11 xtotroff --help
12
13 xtotroff -v
14 xtotroff --version
15
17 xtotroff takes a font-map, which maps groff(1) fonts to X11 fonts, cre‐
18 ates GNU troff(1) metric files for all fonts listed. Each line in
19 font-map consists of a groff font name and an X font name as a X Logi‐
20 cal Font Description (XLFD) pattern, separated by whitespace. Example:
21
22 TB -adobe-times-bold-r-normal--*-*-*-*-p-*-iso8859-1
23
24 The wildcards in the patterns are filled with the arguments to the -r
25 and -s switches. If a font name is still ambiguous, xtotroff aborts.
26
28 Whitespace is permitted between a command-line option and its argument.
29
30 --help Display a usage message and exit.
31
32 -rresolution
33 Set the resolution for all font patterns in font-map. The value
34 is used for both the horizontal and vertical resolution. If not
35 specified, a resolution of 75dpi is assumed.
36
37 -spoint-size
38 Set the point size for all font patterns in font-map. If not
39 specified, a size of 10pt is assumed.
40
41 -v
42 --version
43 Display version information and exit.
44
46 The only supported font encodings are “iso8859-1” and “adobe-fontspe‐
47 cific”.
48
50 groff(1), gxditview(1), troff(1)
51
52
53
54groff 1.22.4 20 January 2022 XTOTROFF(1)