font_files: List Font Files Available in the Search Paths

Description Usage Value Author(s) See Also Examples

Description

The two versions of this function are equivalent, but the "underscore" naming is preferred.

This function lists font files in the search path that can be loaded by font_add(). Currently supported formats include TrueType fonts(*.ttf, *.ttc) and OpenType fonts(*.otf).

Usage

1
2
3

Value

A data frame containing the following information of the font files:

path

The directory that the font file is located in.

file

File name of the font.

family

Family name.

face

Font face.

version

Version of the font.

ps_name

PostScript font name.

Author(s)

Yixuan Qiu <https://statr.me/>

See Also

font_paths(), font_add()

Examples

1
2
3
4
## Not run: 
font_files()

## End(Not run)

sysfonts documentation built on May 2, 2019, 4:04 p.m.