font_import: Import system fonts

View source: R/font.r

font_importR Documentation

Import system fonts

Description

Presently only supports TrueType fonts.

Usage

font_import(paths = NULL, recursive = TRUE, prompt = TRUE, pattern = NULL)

Arguments

paths

A vector of directories to search in. (Default is to auto-detect based on OS)

recursive

Search recursively in directories? (Default TRUE)

prompt

Show confirmation prompt? (Default TRUE)

pattern

A regular expression that the filenames must match.

Examples

font_import()


extrafont documentation built on Jan. 22, 2023, 1:53 a.m.