font_exists {lares}R Documentation

Check if Font is Installed

Description

This function checks if a font is installed in your machine. To list all available fonts, set font = NULL.

Usage

font_exists(font = "Arial Narrow", font_dirs = NULL, quiet = FALSE, ...)

Arguments

font

Character. Which font to check. No need to add .TFF.

font_dirs

Character vector. Additional directories to check for fonts.

quiet

Boolean. Keep quiet? If not, show message

...

Additional parameters.

Value

Boolean result of the existing fonts check.

See Also

Other Tools: autoline(), bind_files(), bring_api(), chr2num(), db_download(), db_upload(), export_plot(), export_results(), files_functions(), formatColoured(), formatHTML(), get_credentials(), glued(), grepm(), h2o_selectmodel(), haveInternet(), image_metadata(), importxlsx(), ip_data(), json2vector(), list_cats(), listfiles(), mail_send(), markdown2df(), move_files(), msplit(), myip(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares(), warnifnot(), what_size()

Examples

font_exists(font = "Arial")
font_exists(font = "arial")
font_exists(font = "")
font_exists(font = NULL)

[Package lares version 5.2.8 Index]