font_files | R Documentation |
The two versions of this function are equivalent, but the "underscore" naming is preferred.
This function lists font files in the search path that can be
loaded by font_add()
.
Currently supported formats include TrueType fonts(*.ttf, *.ttc) and OpenType fonts(*.otf).
font_files()
font.files()
A data frame containing the following information of the font files:
path |
The directory that the font file is located in. |
file |
File name of the font. |
family |
Family name. |
face |
Font face. |
version |
Version of the font. |
ps_name |
PostScript font name. |
Yixuan Qiu <https://statr.me/>
font_paths()
, font_add()
## Not run:
font_files()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.