Learn R Programming

lares (version 5.2.13)

font_exists: 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, ...)

Value

Boolean result of the existing fonts check.

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.

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

Run this code
font_exists(font = "Arial")
font_exists(font = "arial")
font_exists(font = "")
font_exists(font = NULL)

Run the code above in your browser using DataLab