font_pluck: Register a font variant with OpenType feature specifications

View source: R/font-helpers.R

font_pluckR Documentation

Register a font variant with OpenType feature specifications

Description

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

## Not run: 
font_pluck(family = "Alegreya", c("lnum", "ordn"))

## End(Not run)


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