Skip to contents

Check if a font family exists in system fonts.

Usage

font_family_exists(font_family = "sans")

Arguments

font_family

font family name (case sensitive)

Value

A logical value

See also

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

Examples

font_family_exists("sans")
#> [1] FALSE
font_family_exists("Arial")
#> [1] FALSE
font_family_exists("Courier")
#> [1] FALSE