View source: R/calibri_install.R
calibri_install
tests to see if Calibri is imported and registered. If Calibri isn't imported and registered, then calibri_install
imports and registers Calibri with library(extrafont).
1 |
Note: Calibri must be installed on your computer for calibri_install
to work. Calibri is the Reason Foundation's main font and is packaged with Microsoft Office products. - If you have Microsoft Office Installed on the Mac: copy the font file in Applications folder > Microsoft PowerPoint > Contents > Resources > Fonts > Calibri
paste to the desktop and double click to open in FontBook and select: Install Font
Test to see if Calibri is imported and registered with calibri_test()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.