1
.\" $Id: update-fonts-alias.8 189 2005-06-11 00:04:27Z branden $
3
.\" Copyright 1999, 2002, 2004 Branden Robinson <branden@debian.org>.
5
.\" This is free software; you can redistribute it and/or modify it under
6
.\" the terms of the GNU General Public License as published by the Free
7
.\" Software Foundation, version 2.
9
.\" This is distributed in the hope that it will be useful, but WITHOUT
10
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
.\" You should have received a copy of the GNU General Public License with
15
.\" the Debian operating system, in /usr/share/common-licenses/GPL; if
16
.\" not, write to the Free Software Foundation, Inc., 59 Temple Place,
17
.\" Suite 330, Boston, MA 02111-1307 USA
19
.\" We need the URL macro from groff's www macro package, but also want
20
.\" things to work all right for people who don't have it. So we define
21
.\" our own URL macro and let the www macro package override it if it's
24
\\$2 \(laURL: \\$1 \(ra\\$3
26
.if \n[.g] .mso www.tmac
27
.TH update\-fonts\-alias 8 "2004\-11\-11" "Debian Project"
29
update\-fonts\-alias \- compile fonts.alias files
31
.B update\-fonts\-alias
35
.B update\-fonts\-alias
38
file in an X font directory using one or more alias files found in a
41
It is typically invoked only from the post\-installation and post\-removal
44
containing X Window System fonts that provide aliases for their XLFD names,
45
but may be invoked at any time to reconstruct
50
which is simply the last component of its path (such as \(oq75dpi\(cq or
52
.B update\-fonts\-alias
54
.IR /usr/lib/X11/fonts/ directory /fonts.alias
56
.IR /usr/share/fonts/X11/ directory /fonts.alias
57
from the files found in
58
.IR /etc/X11/fonts/ directory / package .alias .
60
This enables multiple packages to provide aliases for fonts in the same
62
No font package actually provides the
64
file in the X font directory itself, so there is no danger of overwriting
65
one package's aliases with those of another.
67
For instance, the two packages \(oqxfonts\-base\(cq and
68
\(oqxfonts\-base\-transcoded\(cq may both install fonts into the directory
69
.IR /usr/lib/X11/fonts/misc .
73
.I /etc/X11/fonts/misc/xfonts\-base.alias
75
.I /etc/X11/fonts/misc/xfonts\-base\-transcoded.alias
77
.B update\-fonts\-alias
78
concatenates these two files (as well as any others that match
79
.IR /etc/X11/fonts/misc/*.alias )
81
.IR /usr/lib/X11/fonts/misc/fonts.alias .
85
files is described in the
89
An example of how to use
90
.B update\-fonts\-alias
91
in package maintainer scripts is provided in the Debian Policy Manual.
93
.B \-h\fR, \fB\-\-help
94
displays a brief usage message and exits.
96
.B update\-fonts\-alias
97
takes one or more X font directory names to operate on as operands.
98
Only the final path component of the directory name should be specified;
101
.B update\-fonts\-alias 75dpi
104
.RB \(oq "update\-fonts\-alias /usr/X11R6/lib/X11/fonts/75dpi" \(cq
106
.RB \(oq "update\-fonts\-alias /usr/lib/X11/fonts/75dpi" \(cq
111
indicates the width of the terminal device in character cells.
112
This value is used for formatting diagnostic messages.
113
If not set, the terminal is queried using
115
to determine its width.
116
If that fails, a value of \(oq80\(cq is assumed.
120
.B usage error: one or more font directories must be provided
121
.B update\-fonts\-alias
122
was invoked without operands.
123
Supply one or more X font directory names to operate on.
125
.B usage error: unrecognized option
126
.B update\-fonts\-alias
127
was invoked with an unrecognized option argument.
128
Use only the options documented in \(lqOPTIONS\(rq, above.
130
.B fatal error: path to X font directory must be used
131
A directory name was supplied that was not an X font directory name.
132
Supply X font directory names only.
135
.BI "warning: absolute path " directory " was provided"
136
Usage of absolute paths is deprecated.
137
Use only the final component of the X font directory name for
140
.BI "warning: " directory " does not exist or is not a directory"
144
.B update\-fonts\-alias
149
.B update\-fonts\-alias
153
.B update\-fonts\-alias
154
experienced a fatal error; see the section on diagnostic messages above.
157
.B update\-fonts\-alias
158
was invoked with invalid arguments.
161
.URL "http://bugs.debian.org/xfonts\-utils" "the Debian Bug Tracking System" .
162
If you wish to report a bug in
163
.BR update\-fonts\-alias ,
165
.I /usr/share/doc/debian/bug\-reporting.txt
170
.B update\-fonts\-alias
171
was written by Branden Robinson.
174
.\" vim:set et tw=80: