powered by
match_family() returns the best font family match. It is deprecated and will be removed in a future release, use systemfonts::match_fonts() instead.
match_family()
systemfonts::match_fonts()
match_family(font = "sans", bold = TRUE, italic = TRUE)
family or face to match.
Whether to match a font featuring a bold face.
Whether to match a font featuring an italic face.
suppressWarnings(match_family("sans")) suppressWarnings(match_family("serif"))
Run the code above in your browser using DataLab