| register_font_df | R Documentation |
sysfonts::font_add and systemfonts::register_fontRegistration with sysfonts::font_add exclusively works for showtext, while
systemfonts::register_font is required for the calculation of string widths, for instance.
The family name must be unique across the two registrations, so the systemfonts registration
uses a suffix behind the family name.
register_font_df( font_df = RUBer::get_font_df(), systemfonts_suffix = "_systemfonts" )
font_df |
Data frame with one row obtained by |
systemfonts_suffix |
Suffix attached to the font family name in |
Invisibly returns font family
register_font_df()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.