font_exists: Check whether a font is registered

View source: R/font-helpers.R

font_existsR Documentation

Check whether a font is registered

Description

Wrapper around penngradlings::font_info that tests whether the output is NULL.

Usage

font_exists(family, style = "Regular")

Arguments

family

Font family.

style

Font style. Defaults to "Regular".

Value

Boolean

Examples

## Not run: 
font_exists(family = "Arial")

## End(Not run)

yjunechoe/penngradlings documentation built on Sept. 6, 2024, 8:13 p.m.