'\" t .\\" auto-generated by docbook2man-spec $Revision: 1.2 $ .TH "FcFileScan" "3" "18 November 2009" "" "" .SH NAME FcFileScan \- scan a font file .SH SYNOPSIS .nf \fBcc\fR [ \fIflag\fR\&.\&.\&. ] \fIfile\fR\&.\&.\&. \fB\-lfontconfig\fR [ \fIlibrary\fR\&.\&.\&. ] .fi .sp .nf \fBcc\fR [ \fIflag\fR\&.\&.\&. ] `pkg-config --cflags fontconfig` \fIfile\fR\&.\&.\&. `pkg-config --libs fontconfig` .fi .nf \fB#include .sp FcBool FcFileScan(FcFontSet *\fIset\fB); (FcStrSet *\fIdirs\fB); (FcFileCache *\fIcache\fB); (FcBlanks *\fIblanks\fB); (const FcChar8 *\fIfile\fB); (FcBool \fIforce\fB); \fR.fi .SH "DESCRIPTION" .PP Scans a single file and adds all fonts found to \fIset\fR\&. If \fIforce\fR is FcTrue, then the file is scanned even if associated information is found in \fIcache\fR\&. If \fIfile\fR is a directory, it is added to \fIdirs\fR\&. Whether fonts are found depends on fontconfig policy as well as the current configuration. Internally, fontconfig will ignore BDF and PCF fonts which are not in Unicode (or the effectively equivalent ISO Latin-1) encoding as those are not usable by Unicode-based applications. The configuration can ignore fonts based on filename or contents of the font file itself. Returns FcFalse if any of the fonts cannot be added (due to allocation failure). Otherwise returns FcTrue. .SH "VERSION" .PP Fontconfig version 2.8.0 .\" Begin Oracle Solaris update .SH "ATTRIBUTES" See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS allbox; cw(2.750000i)| cw(2.750000i) lw(2.750000i)| lw(2.750000i). ATTRIBUTE TYPE ATTRIBUTE VALUE Availability system/library/fontconfig Interface Stability Volatile MT-Level Unknown .TE .sp .\" End Oracle Solaris update