This function locates the font file (and index) best matching a name and
optional style (italic/bold). A font file will be returned even if a match
isn't found, but it is not necessarily similar to the requested family and
it should not be relied on for font substitution. The aliases
"mono" match to the system default sans-serif, serif, and
mono fonts respectively (
"" is equivalent to
The name of the font family
logicals indicating the font style
A list containing the path locating the font file and the 0-based index of the font in the file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.