fontset_variants: Fontset variants and styles

Description Usage Arguments Examples

View source: R/fontset.R

Description

These functions return the variants and the styles available for a given fontset.

Usage

1
2
3
fontset_variants(fontset)

fontset_styles(fontset, variant)

Arguments

fontset

A string giving the name of a set of fonts (e.g. "Liberation" or"Bitstream Vera"). Use fontset_list() to obtain the list of fontsets registered in your session.

variant

Font variant, as per Fontconfig's nomenclature. Use fontset_variants() to find out which variants are available for a fontset.

Examples

1
2
fontset_variants("Liberation")
fontset_styles("Bitstream Vera", "Sans Mono")

lionel-/fontquiver documentation built on May 21, 2019, 6:40 a.m.