font_family_exists: Check if font family exists.

View source: R/fonts.R

font_family_existsR Documentation

Check if font family exists.

Description

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")
font_family_exists("Arial")
font_family_exists("Courier")

ggiraph documentation built on March 31, 2023, 9:53 p.m.