Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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 de-
     pends on fontconfig policy as well as  the  current  configuration.  Inter-
     nally,  fontconfig  will  ignore BDF and PCF fonts which are not in Unicode
     (or the effectively equivalent ISO Latin-1) encoding as those are	not  us-
     able  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 re-
     turns FcTrue.

Fontconfig 2.17.1		  02 July 2025			   FcFileScan(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=FcFileScan&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help