gdtools (version 0.1.3)

font_family_exists: 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

Examples

Run this code
## Not run: 
# font_family_exists("sans")
# font_family_exists("Arial")
# font_family_exists("Courier")
# ## End(Not run)

Run the code above in your browser using DataLab