font_files {sysfonts}R Documentation

List Font Files Available in the Search Paths

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

font_files()

font.files()

Value

A character vector of font filenames.

Author(s)

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

See Also

font_paths(), font_add()

Examples

font_files()


[Package sysfonts version 0.7.2 Index]