list.fonts: List available font families for SWF device

Description Usage Details Value Author(s) See Also Examples

View source: R/font.R

Description

This function lists font families currently available that can be used by SWF device through par("family").

Usage

1

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 add.fonts() to register new fonts by specifying a family name and corresponding font file paths. See add.fonts() 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.

Value

A character vector of available font family names

Author(s)

Yixuan Qiu <http://yixuan.cos.name/>

See Also

add.fonts()

Examples

1

yixuan/R2SWF-archive documentation built on May 4, 2019, 5:28 p.m.