font.families: List available font families for SWF device
Description
This function lists font families currently available
that can be used by SWF device through
par("family")
.
list.fonts
is the old name
of font.families
and should NOT be used in
any new code.Usage
font.families() list.fonts()
Value
- A character vector of available font family names
Details
By default there are three font families loaded
automatically, i.e., "sans", "serif" and "mono". If you
want to use other font families in SWF device, you need
to call font.add()
to register new fonts by
specifying a family name and corresponding font file
paths. See font.add()
for details about
what's the meaning of "family name" in this context, as
well as a complete example of registering and using a new
font.