1FcFileScan(3) FcFileScan(3)
2
3
4
6 FcFileScan - scan a font file
7
9 #include <fontconfig.h>
10
11 FcBool FcFileScan(FcFontSet *set);
12 (FcStrSet *dirs);
13 (FcFileCache *cache);
14 (FcBlanks *blanks);
15 (const FcChar8 *file);
16 (FcBool force);
17 .fi
18
20 Scans a single file and adds all fonts found to set. If force is
21 FcTrue, then the file is scanned even if associated information is
22 found in cache. If file is a directory, it is added to dirs. Whether
23 fonts are found depends on fontconfig policy as well as the current
24 configuration. Internally, fontconfig will ignore BDF and PCF fonts
25 which are not in Unicode (or the effectively equivalent ISO Latin-1)
26 encoding as those are not usable by Unicode-based applications. The
27 configuration can ignore fonts based on filename or contents of the
28 font file itself. Returns FcFalse if any of the fonts cannot be added
29 (due to allocation failure). Otherwise returns FcTrue.
30
32 Fontconfig version 2.8.0
33
34
35
36 18 November 2009 FcFileScan(3)