R/fonts.R
choose_first_installed_font.Rd
As a side-effect, a warning will be thrown if none of the choices are installed.
choose_first_installed_font(choices, verbose = FALSE)
character, vector of font family names
logical, whether to display chosen font
the first installed font from choices
, or
failing that, "sans"
if (interactive()) {
print(choose_first_installed_font(c("Blah blah", "Arial", "Another made-up font")))
}