| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The argument pattern should be a string, perhaps with wildcard characters: the `*' character matches any substring, and the `?' character matches any single character. Pattern matching of font names ignores case.
If you specify face and frame, face should be a face name (a symbol) and frame should be a frame.
The optional argument maximum sets a limit on how many fonts to
return. If this is non-nil, then the return value is truncated
after the first maximum matching fonts. Specifying a small value
for maximum can make this function much faster, in cases where
many fonts match the pattern.
These additional functions are available starting in Emacs 21.
nil,
this list applies to all families, and therefore, it contains all
available fonts. Otherwise, family must be a string; it may
contain the wildcards `?' and `*'.
The list describes the display that frame is on; if frame is
omitted or nil, it applies to the selected frame's display
(see section 29.9 Input Focus).
The list contains a vector of the following form for each font:
[family width point-size weight slant fixed-p full registry-and-encoding] |
The first five elements correspond to face attributes; if you specify these attributes for a face, it will use this font.
The last three elements give additional information about the font. fixed-p is non-nil if the font is fixed-pitch. full is the full name of the font, and registry-and-encoding is a string giving the registry and encoding of the font.
The result list is sorted according to the current face font sort order.
nil, it
describes the selected frame's display (see section 29.9 Input Focus).
The value is a list of elements of this form:
(family . fixed-p) |
Here family is a font family, and fixed-p is
non-nil if fonts of that family are fixed-pitch.
x-family-fonts will not return more than
that many fonts, and font selection will consider only that many fonts
when searching a matching font for face attributes. The default is
currently 100.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |