View source: R/font_family_exists.R
| sys_fonts_reset | R Documentation |
The list of system fonts used by sys_fonts() and
font_family_exists() is read once per R session, as reading it is
slow when many fonts are installed. Call this function after
installing a font on the system during the session so that it is
found.
It also resets the font cache of 'systemfonts'
(systemfonts::reset_font_cache()).
sys_fonts_reset()
NULL, invisibly.
Other functions for font management:
addGFontHtmlDependency(),
fonts_cache_dir(),
gfontHtmlDependency(),
install_gfont_script(),
installed_gfonts(),
liberationmonoHtmlDependency(),
liberationsansHtmlDependency(),
liberationserifHtmlDependency(),
register_gfont(),
register_liberationmono(),
register_liberationsans(),
register_liberationserif()
sys_fonts_reset()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.