Introduction to Library Functions FcFileScan(3)
NAME
FcFileScan - scan a font file
SYNOPSIS
cc [ flag... ] file... -lfontconfig [ library... ]
#include
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 inUnicode (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.8.0ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | system/library/fontconfig ||_____________________________|_____________________________|
| Interface Stability | Volatile ||_____________________________|_____________________________|
| MT-Level | Unknown |
|_____________________________|_____________________________|
SunOS 5.10 Last change: 18 November 2009 1