Function to embed fonts (wrapper around extrafont::embed_fonts)
1 | oe_embed_fonts(file, format, outfile = file, options = "")
|
file |
Name of input file. |
format |
File format. (see ?embedFonts) |
outfile |
Name of the output file (with fonts embedded). (Default is same as input file) |
options |
Other arguments passed to embedFonts. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.