Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

FcFileScan (3)

Name

FcFileScan - scan a font file

Synopsis

#include <fontconfig/fontconfig.h>

FcBool FcFileScan (FcFontSet *set, FcStrSet *dirs, FcFileCache *cache, FcBlanks *blanks, const FcChar8 *file, FcBool force);

Description

FcFileScan(3)                                                    FcFileScan(3)



NAME
       FcFileScan - scan a font file

SYNOPSIS
       #include <fontconfig/fontconfig.h>

       FcBool FcFileScan (FcFontSet *set, FcStrSet *dirs, FcFileCache *cache, FcBlanks *blanks, const FcChar8 *file, FcBool force);

DESCRIPTION
       Scans  a  single  file  and  adds  all fonts found to set.  If force is
       FcTrue, then the file is scanned  even  if  associated  information  is
       found  in  cache.  If file is a directory, it is added to dirs. 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.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE       |
       +---------------+---------------------------+
       |Availability   | system/library/fontconfig |
       +---------------+---------------------------+
       |Stability      | Volatile                  |
       +---------------+---------------------------+
NOTES
       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded  from   https://fontconfig.org/release/fontcon-
       fig-2.12.1.tar.bz2

       Further information about this software can be found on the open source
       community website at https://fontconfig.org/.



Fontconfig 2.12.1                  05 8 2016                     FcFileScan(3)