|
Packit |
352660 |
.\" auto-generated by docbook2man-spec from docbook-utils package
|
|
Packit |
352660 |
.TH "FcFileScan" "3" "30 8月 2018" "Fontconfig 2.13.1" ""
|
|
Packit |
352660 |
.SH NAME
|
|
Packit |
352660 |
FcFileScan \- scan a font file
|
|
Packit |
352660 |
.SH SYNOPSIS
|
|
Packit |
352660 |
.nf
|
|
Packit |
352660 |
\fB#include <fontconfig/fontconfig.h>
|
|
Packit |
352660 |
.sp
|
|
Packit |
352660 |
FcBool FcFileScan (FcFontSet *\fIset\fB, FcStrSet *\fIdirs\fB, FcFileCache *\fIcache\fB, FcBlanks *\fIblanks\fB, const FcChar8 *\fIfile\fB, FcBool \fIforce\fB);
|
|
Packit |
352660 |
.fi\fR
|
|
Packit |
352660 |
.SH "DESCRIPTION"
|
|
Packit |
352660 |
.PP
|
|
Packit |
352660 |
Scans a single file and adds all fonts found to \fIset\fR\&.
|
|
Packit |
352660 |
If \fIforce\fR is FcTrue, then the file is scanned even if
|
|
Packit |
352660 |
associated information is found in \fIcache\fR\&. If
|
|
Packit |
352660 |
\fIfile\fR is a directory, it is added to
|
|
Packit |
352660 |
\fIdirs\fR\&. Whether fonts are found depends on fontconfig
|
|
Packit |
352660 |
policy as well as the current configuration. Internally, fontconfig will
|
|
Packit |
352660 |
ignore BDF and PCF fonts which are not in Unicode (or the effectively
|
|
Packit |
352660 |
equivalent ISO Latin-1) encoding as those are not usable by Unicode-based
|
|
Packit |
352660 |
applications. The configuration can ignore fonts based on filename or
|
|
Packit |
352660 |
contents of the font file itself. Returns FcFalse if any of the fonts cannot be
|
|
Packit |
352660 |
added (due to allocation failure). Otherwise returns FcTrue.
|