1FcFileScan(3)                                                    FcFileScan(3)
2
3
4

NAME

6       FcFileScan - scan a font file
7

SYNOPSIS

9       #include <fontconfig/fontconfig.h>
10
11       FcBool FcFileScan (FcFontSet *set, FcStrSet *dirs, FcFileCache *cache, FcBlanks *blanks, const FcChar8 *file, FcBool force);
12

DESCRIPTION

14       Scans  a  single file and adds all fonts found to set.  If force is Fc‐
15       True, then the file is scanned even if associated information is  found
16       in  cache.  If  file is a directory, it is added to dirs. Whether fonts
17       are found depends on fontconfig policy as well as the current  configu‐
18       ration.  Internally, fontconfig will ignore BDF and PCF fonts which are
19       not in Unicode (or the effectively equivalent ISO Latin-1) encoding  as
20       those  are  not usable by Unicode-based applications. The configuration
21       can ignore fonts based on filename or contents of the font file itself.
22       Returns  FcFalse if any of the fonts cannot be added (due to allocation
23       failure). Otherwise returns FcTrue.
24
25
26
27Fontconfig 2.14.0                 31 3月 2022                    FcFileScan(3)
Impressum