Description Usage Arguments Details
View source: R/bbd_font_install.R
bbd_font_install
tests to see if default fonts imported and registered. If Raleway are not imported and registered, then bbd_font_install
imports and registers Raleway with library(extrafont).
1 | bbd_font_install(device = c("pdf", "win", "postscript"), force = FALSE)
|
device |
Font device. Options are 'pdf', 'win', and 'postscript.' Defaults to 'pdf.' For more on your system's font device, see https://github.com/wch/extrafont |
force |
Should the system force installation, even if Raleway is already present? You might select this option if you have since downloaded additional versions/faces of Raleway. Defaults to FALSE. |
Note: Raleway must be installed on your computer for bbd_font_install
to work.
Test to see if Raleway are imported and registered with bbd_font_test()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.