Skip to contents

Register a font variant with OpenType feature specifications

Usage

font_pluck(family, features, .name)

Arguments

family

A font family. The Regular member of the family is used as the base.

features

Character vector of 4-letter OpenType feature tags. See complete list of OpenType features. Unavailable font features are ignored.

.name

(Optional) Name of the new font family. Appends registered feature tags to the new family name by default.

Examples

# \dontrun{
font_pluck(family = "Alegreya", c("lnum", "ordn"))
#> v Registered "Alegreya lnum-ordn".
#> Check systemfonts::registry_fonts() for more details.
# }