summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-leap-15-6/man1/xtotroff.1
blob: 7c398f5a0ad53087623f502a78fb2c93c65915da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
.TH XTOTROFF 1 "7 February 2022" "groff 1.22.4"
.SH NAME
xtotroff \- convert X font metrics into GNU troff font metrics
.
.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
.\"
.\" Copyright (C) 2004-2018 Free Software Foundation, Inc.
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of
.\" this manual under the conditions for verbatim copying, provided that
.\" the entire resulting derived work is distributed under the terms of
.\" a permission notice identical to this one.
.\"
.\" Permission is granted to copy and distribute translations of this
.\" manual into another language, under the above conditions for
.\" modified versions, except that this permission notice may be
.\" included in translations approved by the Free Software Foundation
.\" instead of in the original English.
.
.
.\" ====================================================================
.SH SYNOPSIS
.\" ====================================================================
.
.SY xtotroff
.OP \-r resolution
.OP \-s point-size
.I font-map
.YS
.
.SY xtotroff
.B \-\-help
.YS
.
.SY xtotroff
.B \-v
.SY xtotroff
.B \-\-version
.YS
.
.
.\" ====================================================================
.SH DESCRIPTION
.\" ====================================================================
.
.I xtotroff
takes a
.IR font-map ,
which maps
.IR groff (1)
fonts to X11 fonts,
creates GNU
.IR troff (1)
metric files for all fonts listed.
.
Each line in
.I font-map
consists of a
.I groff
font name and an X font name as a X Logical Font Description (XLFD)
pattern,
separated by whitespace.
.
Example:
.
.
.PP
.RS
.EX
TB \-adobe\-times\-bold\-r\-normal\-\-*\-*\-*\-*\-p\-*\-iso8859\-1
.EE
.RE
.
.
.PP
The wildcards in the patterns are filled with the arguments to the
.B \-r
and
.B \-s
switches.
.
If a font name is still ambiguous,
.I xtotroff
aborts.
.
.
.\" ====================================================================
.SH OPTIONS
.\" ====================================================================
.
Whitespace is permitted between a command-line option and its argument.
.
.
.TP
.B \-\-help
Display a usage message and exit.
.
.
.TP
.BI \-r resolution
Set the resolution for all font patterns in
.IR font-map .
.
The value is used for both the horizontal and vertical resolution.
.
If not specified, a resolution of 75dpi is assumed.
.
.
.TP
.BI \-s point-size
Set the point size for all font patterns in
.IR font-map .
.
If not specified, a size of 10pt is assumed.
.
.
.TP
.B \-v
.TQ
.B \-\-version
Display version information and exit.
.
.
.\" ====================================================================
.SH BUGS
.\" ====================================================================
The only supported font encodings are \(lqiso8859\-1\(rq and
\(lqadobe\-fontspecific\(rq.
.
.
.\" ====================================================================
.SH "SEE ALSO"
.\" ====================================================================
.IR groff (1),
.IR gxditview (1),
.IR troff (1)
.
.
.\" Local Variables:
.\" mode: nroff
.\" End:
.\" vim: set filetype=groff: