Learn R Programming

ggiraph (version 0.8.2)

match_family: Find best family match with systemfonts

Description

match_family() returns the best font family match.

Usage

match_family(font = "sans", bold = TRUE, italic = TRUE, debug = NULL)

Arguments

font

family or face to match.

bold

Wheter to match a font featuring a bold face.

italic

Wheter to match a font featuring an italic face.

debug

deprecated

See Also

Other functions for font management: font_family_exists(), validated_fonts()

Examples

Run this code
match_family("sans")
match_family("serif")

Run the code above in your browser using DataLab