R: Check if font family exists.

font_family_exists {ggiraph} | R 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")

[Package ggiraph version 0.7.9 Index]