loadfonts | R Documentation |
This registers fonts so that they can be used with the pdf, postscript, or Windows bitmap output device. It must be run once in each R session.
loadfonts(device = c("all", "pdf", "postscript", "win"), quiet = FALSE)
device |
The output device. If |
quiet |
If |
A named list with up to three elements, one for each device for which
fonts were loaded. Each device element is a named list, with an element for
each family that was the function attempted to register with that device.
The value is NULL
if the function did not register the font family
due to problems or because the font family was already registered. If value
is the return value of windowsFonts
for "win"
,
postscriptFonts
for "postscript"
, and
pdfFonts
for "pdf"
.
embed_fonts
, #ifdef windows
windowsFont
, windowsFonts
,
#endif postscriptFonts
, pdfFonts
,
Type1Font
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.