version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
update-fonts-alias |
|
|
2 |
!!!update-fonts-alias |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
DIAGNOSTICS |
|
|
8 |
BUGS |
|
|
9 |
AUTHOR |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
update-fonts-alias - compile fonts.alias files |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__update-fonts-alias__ ''directory ...'' |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
__update-fonts-alias__ assembles a ''fonts.alias'' |
|
|
23 |
file in an X font directory using one or more alias files |
|
|
24 |
found in a subdirectory of ''/etc/X11/fonts/''. It is |
|
|
25 |
typically invoked only from the post-installation and |
|
|
26 |
post-removal scripts of a ''package'' containing fonts |
|
|
27 |
(that provide aliases for their names) for the X Window |
|
|
28 |
System, but may be invoked at any time to reconstruct |
|
|
29 |
''fonts.alias'' files. For each ''directory'', which |
|
|
30 |
is either an absolute path to an X font directory or |
|
|
31 |
(preferably) simply the last component of its path (such as |
|
|
32 |
''update-fonts-alias__ will assemble |
|
|
33 |
''/usr/lib/X11/fonts/''directory''/fonts.alias'' from |
|
|
34 |
the files found in |
|
|
35 |
''/etc/X11/fonts/''directory''/''package''.alias''. |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
This enables multiple packages to provide aliases for fonts |
|
|
39 |
in the same directory. No font package actually provides the |
|
|
40 |
''fonts.alias'' file in the X font directory itself, so |
|
|
41 |
there is no danger of overwriting one package's aliases with |
|
|
42 |
those of another. |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
For instance, the two packages |
|
|
46 |
/usr/lib/X11/fonts/misc''. They each place |
|
|
47 |
their ''fonts.alias'' files in |
|
|
48 |
''/etc/X11/fonts/misc/xfonts-base.alias'' and |
|
|
49 |
''/etc/X11/fonts/misc/xfonts-cjk.alias'' (respectively). |
|
|
50 |
__update-fonts-alias__ concatenates these two files (as |
|
|
51 |
well as any others that match |
|
|
52 |
''/etc/X11/fonts/misc/*.alias'') into |
|
|
53 |
''/usr/lib/X11/fonts/misc/fonts.alias''. |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
The format for ''fonts.alias'' files is given in the |
|
|
57 |
mkfontdir(1) manual page. |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
An example of how to use __update-fonts-alias__ in |
|
|
61 |
package maintainer scripts is provided in the Debian Policy |
|
|
62 |
Manual. |
|
|
63 |
!!SEE ALSO |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
mkfontdir(1) |
|
|
67 |
!!DIAGNOSTICS |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
__update-fonts-alias__ exits with status 1 if its |
|
|
71 |
arguments are absent or invalid. |
|
|
72 |
!!BUGS |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
See |
|
|
76 |
update-fonts-alias__, please |
|
|
77 |
see ''/usr/share/doc/debian/bug-reporting.txt'', the |
|
|
78 |
bug(1) command, or the reportbug(1) |
|
|
79 |
command. |
|
|
80 |
!!AUTHOR |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
__update-fonts-alias__ is written and copyrighted by |
|
|
84 |
Branden Robinson. It is licensed under the GNU GPL, version |
|
|
85 |
2. |
|
|
86 |
---- |