fcfilescan(3) linux man page | unix.com

Man Page: fcfilescan

Operating Environment: linux

Section: 3

FcFileScan(3)															     FcFileScan(3)

NAME
FcFileScan - scan a font file
SYNOPSIS
#include <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 config- uration. 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.
VERSION
Fontconfig version 2.9.0 16 April 2012 FcFileScan(3)
Related Man Pages
fcdirsave(3) - opensolaris
fcfontsort(3) - opensolaris
fc-cache(1) - x11r4
fc-scan(1) - hpux
fc-scan(1) - osx
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Featured Books and Articles by Active Forum Members
User Guide: Posting in the Emergency Forum
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
UNIX.com End of Year (EOY) Report (2019)