figlet_download_fonts: Download more fonts

Description Usage Arguments Examples

View source: R/extra.R

Description

Download a large set of fonts. These will be available to figlet and figlet_font by name once downloaded.

Usage

1
figlet_download_fonts(dest = NULL, verbose = TRUE)

Arguments

dest

Directory to use. We use the environment variable RFIGLET_FONT_DIR if defined, then fall back on tools::R_user_dir("rfiglet", "data")

verbose

Be verbose?

Examples

1
2
3
4
5
if (interactive()) {
  path <- tempfile()
  rfiglet::figlet_download_fonts(path)
  rfiglet::figlet("hello", file.path(path, "emboss.tlf"))
}

richfitz/rfiglet documentation built on Feb. 12, 2021, 1:41 a.m.