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)
Check Out this Related Man Page
FC-CACHE(1)FC-CACHE(1)NAME
fc-cache - build font information cache files
SYNOPSIS
fc-cache [ -fsvV? ] [ --force ] [ --system-only ] [ --verbose ] [ --version ] [ --help ] [ dirs ]
DESCRIPTION
fc-cache scans the font directories on the system and builds font information cache files for applications using fontconfig for their font
handling.
If directory arguments are not given, fc-cache uses each directory in the current font configuration. Each directory is scanned for font
files readable by FreeType. A cache is created which contains properties of each font and the associated filename. This cache is used to
speed up application startup when using the fontconfig library.
Note that fc-cache must be executed once per architecture to generate font information customized for that architecture. On a subsequent
run, fc-cache will augment the cache information files with the information for the new architecture.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-f --force
Force re-generation of apparently up-to-date cache files, overriding the timestamp checking.
-s --system-only
Only scan system-wide directories, omitting the places located in the user's home directory.
-v --verbose
Display status information while busy.
-? --help
Show summary of options.
-V --version
Show version of the program and exit.
dirs A list of directories to scan for fonts.
FILES
fonts.cache-2
These files are generated by fc-cache and contain maps from file names to font properties. They are read by the fontconfig library
at application startup to locate appropriate fonts.
SEE ALSO
fc-list (1).
The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.
AUTHOR
This manual page was written by Keith Packard <keithp@keithp.com> and Josselin Mouette <joss@debian.org>.
05 May 2008 FC-CACHE(1)
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)
Greetings,
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)