Learn R Programming

fontquiver (version 0.2.1)

fontset_variants: Fontset variants and styles

Description

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

Usage

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

Run this code
fontset_variants("Liberation")
fontset_styles("Bitstream Vera", "Sans Mono")

Run the code above in your browser using DataLab