FcDirScan(3)FcDirScan(3)NAME
FcDirScan - scan a font directory without caching it
SYNOPSIS
#include <fontconfig.h>
FcBool FcDirScan (FcFontSet *set, FcStrSet *dirs, FcFileCache *cache, FcBlanks *blanks, const FcChar8 *dir, FcBool force);
DESCRIPTION
If cache is not zero or if force is FcFalse, this function currently returns FcFalse. Otherwise, it scans an entire directory and adds all
fonts found to set. Any subdirectories found are added to dirs. Calling this function does not create any cache files. Use
FcDirCacheRead() if caching is desired.
VERSION
Fontconfig version 2.9.0
16 April 2012 FcDirScan(3)
Check Out this Related Man Page
FcFileScan(3)FcFileScan(3)NAME
FcFileScan - scan a font file
SYNOPSIS
cc [ flag... ] file... -lfontconfig [ library... ]
#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.5.0
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWfontconfig |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
|MT-Level |See XInitThreads(3X11) |
+-----------------------------+-----------------------------+
13 November 2007 FcFileScan(3)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)