Skip to contents

Adds TrueType fonts from the fmutils package to the available system fonts.

Usage

add_fonts(font, ...)

Arguments

font

The name of the font to add to the system.

...

Additional arguments passed to sysfonts::font_add().

Value

Invisibly returns NULL if the font is already installed or after the font is added. If the font isn't found, the function displays an error message and aborts.

Examples

add_fonts("Ubuntu")
#> Ubuntu already installed