font_variants {fontquiver} | R Documentation |
Font variants
Description
font_variants()
returns a tree of fonts organised as per
fontconfig's nomenclature. The first level contains variants of a
font and the second level contains font styles.
Usage
font_variants(fontset)
font_styles(fontset, variant)
Arguments
fontset |
A string giving the name of a set of fonts
(e.g. |
variant |
Font variant, as per Fontconfig's nomenclature. Use
|
Details
See also font_families()
and font_faces()
for similar collections organised according to R nomenclature of
fonts. Note that variants and styles are a super set of R families
and faces and may contain more fonts.
See Also
font_families()
, fonts()
Examples
font_variants("Bitstream Vera")
font_variants("Bitstream Vera")$Sans$Oblique
font_styles("Bitstream Vera", "Sans")
[Package fontquiver version 0.2.1 Index]