get_fallback_font_df | R Documentation |
This functions returns the system dependent font for the alias "sans".
get_fallback_font_df( fonts = systemfonts::system_fonts(), fallback_alias = "sans" )
fonts |
Data frame obtained by |
fallback_alias |
Character, one of |
The aliases are mapped the following way:
"" and "sans" return Helvetica on Mac, Arial on Windows, and the default sans-serif font on Linux (DejaVu Sans on Ubuntu)
"serif" return Times on Mac, Times New Roman on Windows, and the default serif font on Linux (DejaVu Serif on Ubuntu)
"mono" return Courier on Mac, Courier New on Windows, and the default mono font on Linux (DejaVu Mono on Ubuntu)
"emoji" return Apple Color Emoji on Mac, Segoe UI Emoji on Windows, and the default emoji font on Linux (Noto Color on Ubuntu)
See https://github.com/r-lib/systemfonts for details
Data frame obtained by systemfonts::system_fonts
with one row
get_fallback_font_df()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.