sysfonts (version 0.8.9)

font_files: 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()

Arguments

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

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

See Also

font_paths(), font_add()

Examples

Run this code
if (FALSE) {
font_files()
}

Run the code above in your browser using DataLab