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