Description Usage Details Value Examples
Use this function once to install some hand-written style fonts (from Google Fonts https://www.google.com/fonts) into R.
1 |
For this function to run successfully, computer must be connected to the internet.
At the time of writing, caricRture uses showtext to handle the fonts. That package doesn't
work well with the RStudio graphics device - better to use quartz
or X11
to write to a floating
window if using RStudio. Each font has a two-letter abbreviation, which can be used as a family
parameter
in par
. The abbreviations and associated fonts are:
Amatic SC
Dekko
Covered By Your Grace
Handlee
Permanent Marker
Rock Salt
Waiting for the Sunrise
Nothing is returned
1 | get_fonts() # Thats basically it - once run, fonts will be installed
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.