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