| installed_gfonts | R Documentation |
List installed 'Google Fonts' that can be found in the user cache directory.
installed_gfonts()
families names as a character vector
Other functions for font management:
addGFontHtmlDependency(),
fonts_cache_dir(),
gfontHtmlDependency(),
install_gfont_script(),
liberationsansHtmlDependency(),
register_gfont(),
register_liberationsans()
## Not run:
if (check_gfonts()) {
dummy_setup()
register_gfont(family = "Roboto")
installed_gfonts()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.