FcFontSort(3)FcFontSort(3)NAME
FcFontSort - Return list of matching fonts
SYNOPSIS
#include <fontconfig.h>
FcFontSet * FcFontSort (FcConfig *config, FcPattern *p, FcBool trim, FcCharSet **csp, FcResult *result);
DESCRIPTION
Returns the list of fonts sorted by closeness to p. If trim is FcTrue, elements in the list which don't include Unicode coverage not pro-
vided by earlier elements in the list are elided. The union of Unicode coverage of all of the fonts is returned in csp, if csp is not
NULL. This function should be called only after FcConfigSubstitute and FcDefaultSubstitute have been called for p; otherwise the results
will not be correct.
The returned FcFontSet references FcPattern structures which may be shared by the return value from multiple FcFontSort calls, applications
must not modify these patterns. Instead, they should be passed, along with p to FcFontRenderPrepare which combines them into a complete
pattern.
The FcFontSet returned by FcFontSort is destroyed by calling FcFontSetDestroy. If config is NULL, the current configuration is used.
VERSION
Fontconfig version 2.9.0
16 April 2012 FcFontSort(3)
Check Out this Related Man Page
FC-MATCH(1)FC-MATCH(1)NAME
fc-match - match available fonts
SYNOPSIS
fc-match [ -asvVh ] [ --all ] [ --sort ] [ --verbose ] [ -f format | --format format ] [ --version ] [ --help ]
[ pattern [ element ... ] ]
DESCRIPTION
fc-match matches pattern (empty pattern by default) using the normal fontconfig matching rules to find the best font available. If --sort
is given, the sorted list of best matching fonts is displayed. The --all option works like --sort except that no pruning is done on the
list of fonts.
If any elements are specified, only those are printed. Otherwise short file name, family, and style are printed, unless verbose output is
requested.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-a --all
Displays sorted list of best matching fonts, but do not do any pruning on the list.
-s --sort
Displays sorted list of best matching fonts.
-v --verbose
Print verbose output of the whole font pattern for each match, or elements if any is provided.
-f --format format
Format output according to the format specifier format.
-V --version
Show version of the program and exit.
-h --help
Show summary of options.
pattern
Displays fonts matching pattern (uses empty pattern by default).
element
If set, the element property is displayed for matching fonts.
SEE ALSO fc-list(1)FcFontMatch(3)FcFontSort(3)FcPatternFormat(3)fc-cat(1)fc-cache(1)fc-pattern(1)fc-query(1)fc-scan(1)
The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.
AUTHOR
This manual page was updated by Patrick Lam <plam@csail.mit.edu>.
16 April 2012 FC-MATCH(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)