register_font_flama | R Documentation |
showtext
and systemfonts
packagesRegisters RUB Flama font to be used with the showtext
and systemfonts
packages
register_font_flama( family = get_font_df()[["family"]], regular = get_font_df()[["path"]], bold = get_font_df("RubFlama-Bold.ttf")[["path"]], italic = get_font_df("RubFlama-Italic.ttf")[["path"]], bolditalic = get_font_df("RubFlama-BoldItalic.ttf")[["path"]], systemfonts_suffix = "_systemfonts" )
family |
Character, font family, defaults to
|
regular |
Character, path of the font file for "regular" font style
defaults to |
bold |
Character, path of the font file for "bold" font style,
defaults to |
italic |
Character, path of the font file for "italic" font style,
|
bolditalic |
Character, path of the font file for "bold italic" font style,
defaults to |
systemfonts_suffix |
Suffix attached to the font family name in |
Side effects
register_font_flama()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.