powered by
Create a font specification for a Google Font, to be used with font_set().
font_set()
font_google(family, subset = c("latin", "latin-ext"))
An object of class font_spec.
font_spec
family name of a 'Google Fonts', for example, "Open Sans", "Roboto", "Fira Code" or "Fira Sans Condensed".
font subset, a character vector, it defaults to only "latin" and "latin-ext".
Other font set functions: font_liberation(), font_set(), font_set_auto(), font_set_liberation()
font_liberation()
font_set_auto()
font_set_liberation()
font_google("Roboto")
Run the code above in your browser using DataLab