choose_font | R Documentation |
For a sequence of font family names, return the first one installed on the system. This makes it easy for code to specify a preferred font-family, but fall back to other font families if that is not installed on the system. This function acts much like the CSS font-family property.
choose_font(fonts, quiet = TRUE)
fonts |
|
quiet |
|
character
. First font in fonts
that is installed
on the system or ""
if none of those are installed.
choose_font(c("GillSans", "Verdana", "sans"), quiet = TRUE) choose_font(c("BemeboStd", "Garamond", "serif"), quiet = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.