summaryrefslogtreecommitdiff
path: root/lib/fontconfig/fc-cache/fc-cache.1
blob: b8c0a2fd3af704f9f2893ecf2c97ae33e3c0e307 (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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
.\\" auto-generated by docbook2man-spec $Revision: 1.4 $
.TH "FC-CACHE" "1" "Aug 13, 2008" "" ""
.SH NAME
fc-cache \- build font information cache files
.SH SYNOPSIS
.sp
\fBfc-cache\fR [ \fB-fsvVh\fR ]  [ \fB--force\fR ]  [ \fB--system-only\fR ]  [ \fB--verbose\fR ]  [ \fB--version\fR ]  [ \fB--help\fR ]  [ \fB\fIdir\fB\fR\fI...\fR ] 
.SH "DESCRIPTION"
.PP
\fBfc-cache\fR scans the font directories on
the system and builds font information cache files for
applications using fontconfig for their font handling.
.PP
If directory arguments are not given,
\fBfc-cache\fR uses each directory in the
current font configuration. Each directory is scanned for
font files readable by FreeType. A cache is created which
contains properties of each font and the associated filename.
This cache is used to speed up application startup when using
the fontconfig library.
.PP
Note that \fBfc-cache\fR must be executed
once per architecture to generate font information customized
for that architecture.
.SH "OPTIONS"
.PP
This program follows the usual GNU command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below.
.TP
\fB-f\fR
Force re-generation of apparently up-to-date cache files,
overriding the timestamp checking.
.TP
\fB-s\fR
Only scan system-wide directories, omitting the places
located in the user's home directory.
.TP
\fB-v\fR
Display status information while busy.
.TP
\fB-h\fR
Show summary of options.
.TP
\fB-V\fR
Show version of the program and exit.
.TP
\fB\fIdir\fB\fR
Directory to scan for fonts.
.SH "FILES"
.TP
\fB\fI%cachdir%/*-%arch%\&.cache-2\fB\fR
These files are generated by \fBfc-cache\fR
and contain maps from file names to font properties. They are
read by the fontconfig library at application startup to locate
appropriate fonts.
.SH "SEE ALSO"
.PP
\fBfc-cat\fR(1)
\fBfc-list\fR(1)
\fBfc-match\fR(1)
\fBfc-query\fR(1)
\fBfc-scan\fR(1)
.PP
The fontconfig user's guide, in HTML format:
\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&.
.SH "AUTHOR"
.PP
This manual page was written by Keith Packard
<keithp@keithp.com> and Josselin Mouette <joss@debian.org>\&.
...\" $Header: /cvs/OpenBSD/xenocara/lib/fontconfig/fc-cache/fc-cache.1,v 1.4 2010/03/25 21:45:59 matthieu Exp $
...\"
...\"	transcript compatibility for postscript use.
...\"
...\"	synopsis:  .P! <file.ps>
...\"
.de P!
\\&.
.fl			\" force out current output buffer
\\!%PB
\\!/showpage{}def
...\" the following is from Ken Flowers -- it prevents dictionary overflows
\\!/tempdict 200 dict def tempdict begin
.fl			\" prolog
.sy cat \\$1\" bring in postscript file
...\" the following line matches the tempdict above
\\!end % tempdict %
\\!PE
\\!.
.sp \\$2u	\" move below the image
..
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n  
.TH "fc-cache" "1" 
.SH "NAME" 
fc-cache \(em build font information cache files 
.SH "SYNOPSIS" 
.PP 
\fBfc-cache\fR [\fB-cfsvV?\fP]  [\fB\-\-chroot root\fP]  [\fB\-\-force\fP]  [\fB\-\-system-only\fP]  [\fB\-\-verbose\fP]  [\fB\-\-version\fP]  [\fB\-\-help\fP]  [\fB\fIdirs\fR\fP]  
.SH "DESCRIPTION" 
.PP 
\fBfc-cache\fR scans the font directories on 
the system and builds font information cache files for 
applications using fontconfig for their font handling\&. 
.PP 
If directory arguments are not given, 
\fBfc-cache\fR uses each directory in the 
current font configuration\&. Each directory is scanned for 
font files readable by FreeType\&.  A cache is created which 
contains properties of each font and the associated filename\&. 
This cache is used to speed up application startup when using 
the fontconfig library\&. 
.PP 
Note that \fBfc-cache\fR must be executed 
once per architecture to generate font information customized 
for that architecture\&.  On a subsequent run, 
\fBfc-cache\fR will augment the cache 
information files with the information for the new 
architecture\&.  
.SH "OPTIONS" 
.PP 
This program follows the usual GNU command line syntax, 
with long options starting with two dashes (`\-\&')\&.  A summary of 
options is included below\&. 
.IP "\fB-c root\fP 	  \fB\-\-chroot root\fP 	" 10 
Change root directory into root  
before starting\&. 
.IP "\fB-f\fP           \fB\-\-force\fP         " 10 
Force re-generation of apparently up-to-date cache files, 
overriding the timestamp checking\&. 
.IP "\fB-s\fP           \fB\-\-system-only\fP         " 10 
Only scan system-wide directories, omitting the places 
located in the user\&'s home directory\&. 
.IP "\fB-v\fP           \fB\-\-verbose\fP         " 10 
Display status information while busy\&. 
.IP "\fB-?\fP           \fB\-\-help\fP         " 10 
Show summary of options\&. 
.IP "\fB-V\fP           \fB\-\-version\fP         " 10 
Show version of the program and exit\&. 
.IP "\fB\fIdirs\fR\fP         " 10 
A list of directories to scan for fonts\&. 
.SH "FILES" 
.IP "\fBfonts\&.cache-2\fP" 10 
These files are generated by \fBfc-cache\fR             and contain maps from file names to font properties\&. They are 
read by the fontconfig library at application startup to locate 
appropriate fonts\&. 
.SH "SEE ALSO" 
.PP 
\fBfc-list\fR (1)\&. 
.PP 
The fontconfig user\&'s guide, in HTML format: 
\fB/usr/share/doc/fontconfig/fontconfig-user\&.html\fP\&. 
.SH "AUTHOR" 
.PP 
This manual page was written by Keith Packard 
keithp@keithp\&.com and Josselin Mouette joss@debian\&.org\&. 
...\" created by instant / docbook-to-man, Tue 16 Oct 2007, 23:05