Skip to contents

Wrapper around penngradlings::font_info that pulls the path of the font if it exists.

Usage

font_path(family, style = "Regular")

Arguments

family

Font family.

style

Font style. Defaults to "Regular". If the font doesn't exist, invisibly returns NULL.

Value

String of the path to the font file.