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
15       FcTrue, then the file is scanned  even  if  associated  information  is
16       found  in  cache.  If file is a directory, it is added to dirs. Whether
17       fonts are found depends on fontconfig policy as  well  as  the  current
18       configuration.  Internally,  fontconfig  will  ignore BDF and PCF fonts
19       which are not in Unicode (or the effectively  equivalent  ISO  Latin-1)
20       encoding  as  those  are  not usable by Unicode-based applications. The
21       configuration can ignore fonts based on filename  or  contents  of  the
22       font  file  itself. Returns FcFalse if any of the fonts cannot be added
23       (due to allocation failure). Otherwise returns FcTrue.
24
25
26
27Fontconfig 2.13.1                 30 8月 2018                    FcFileScan(3)
Impressum