Create a zfont that can be used to add text to an illustration
1 2 | zfont_font(rdog = NULL, id,
font = system.file("fonts/Roboto-Regular.ttf", package = "rdog"))
|
rdog |
rdog object to add the font to. |
id |
id of the font |
font |
file path to the ttf file that will be used |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.