lato_import()
tests to see if Lato is imported and registered. If
Lato, isn't imported and registered, then lato_import()
imports and
registers Lato with
library(extrafont).
1 |
Note: Lato must be installed on your computer for lato_import()
to
work. Lato is the Urban Institute's main font. To install, visit
Google fonts and click
"Download family". Unzip and open each of the .ttf files and click install.
Test to see if Lato is imported and registered with lato_test()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.