font_variants.Rdfont_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.
font_variants(fontset)
font_styles(fontset, variant)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.
Font variant, as per Fontconfig's nomenclature. Use
fontset_variants() to find out which variants are
available for a fontset.
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.
font_families(), fonts()
font_variants("Bitstream Vera")
#> $Sans
#> $Roman
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/Vera.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/Vera.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Roman"
#>
#> $variant
#> [1] "sans"
#>
#> $style
#> [1] "roman"
#>
#> $weight
#> [1] 80
#>
#> $family
#> [1] "sans"
#>
#> $face
#> [1] "plain"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> $Oblique
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraIt.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraIt.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Oblique"
#>
#> $variant
#> [1] "sans"
#>
#> $style
#> [1] "oblique"
#>
#> $weight
#> [1] 80
#>
#> $family
#> [1] "sans"
#>
#> $face
#> [1] "italic"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> $Bold
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraBd.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraBd.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Bold"
#>
#> $variant
#> [1] "sans"
#>
#> $style
#> [1] "bold"
#>
#> $weight
#> [1] 200
#>
#> $family
#> [1] "sans"
#>
#> $face
#> [1] "bold"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> $`Bold Oblique`
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraBI.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraBI.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Bold Oblique"
#>
#> $variant
#> [1] "sans"
#>
#> $style
#> [1] "bold-oblique"
#>
#> $weight
#> [1] 200
#>
#> $family
#> [1] "sans"
#>
#> $face
#> [1] "bolditalic"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> attr(,"class")
#> [1] "font_styles"
#>
#> $`Sans Mono`
#> $Roman
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraMono.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraMono.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans Mono"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Mono Roman"
#>
#> $variant
#> [1] "sans-mono"
#>
#> $style
#> [1] "roman"
#>
#> $weight
#> [1] 80
#>
#> $family
#> [1] "mono"
#>
#> $face
#> [1] "plain"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> $Oblique
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraMoIt.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraMoIt.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans Mono"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Mono Oblique"
#>
#> $variant
#> [1] "sans-mono"
#>
#> $style
#> [1] "oblique"
#>
#> $weight
#> [1] 80
#>
#> $family
#> [1] "mono"
#>
#> $face
#> [1] "italic"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> $Bold
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraMoBd.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraMoBd.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans Mono"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Mono Bold"
#>
#> $variant
#> [1] "sans-mono"
#>
#> $style
#> [1] "bold"
#>
#> $weight
#> [1] 200
#>
#> $family
#> [1] "mono"
#>
#> $face
#> [1] "bold"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> $`Bold Oblique`
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraMoBI.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraMoBI.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans Mono"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Mono Bold Oblique"
#>
#> $variant
#> [1] "sans-mono"
#>
#> $style
#> [1] "bold-oblique"
#>
#> $weight
#> [1] 200
#>
#> $family
#> [1] "mono"
#>
#> $face
#> [1] "bolditalic"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> attr(,"class")
#> [1] "font_styles"
#>
#> $Serif
#> $Roman
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraSe.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraSe.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Serif"
#>
#> $fullname
#> [1] "Bitstream Vera Serif Roman"
#>
#> $variant
#> [1] "serif"
#>
#> $style
#> [1] "roman"
#>
#> $weight
#> [1] 80
#>
#> $family
#> [1] "serif"
#>
#> $face
#> [1] "plain"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> $Bold
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraSeBd.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraSeBd.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Serif"
#>
#> $fullname
#> [1] "Bitstream Vera Serif Bold"
#>
#> $variant
#> [1] "serif"
#>
#> $style
#> [1] "bold"
#>
#> $weight
#> [1] 200
#>
#> $family
#> [1] "serif"
#>
#> $face
#> [1] "bold"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> attr(,"class")
#> [1] "font_styles"
#>
#> attr(,"class")
#> [1] "font_variants"
font_variants("Bitstream Vera")$Sans$Oblique
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraIt.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraIt.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Oblique"
#>
#> $variant
#> [1] "sans"
#>
#> $style
#> [1] "oblique"
#>
#> $weight
#> [1] 80
#>
#> $family
#> [1] "sans"
#>
#> $face
#> [1] "italic"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
font_styles("Bitstream Vera", "Sans")
#> $Roman
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/Vera.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/Vera.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Roman"
#>
#> $variant
#> [1] "sans"
#>
#> $style
#> [1] "roman"
#>
#> $weight
#> [1] 80
#>
#> $family
#> [1] "sans"
#>
#> $face
#> [1] "plain"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> $Oblique
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraIt.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraIt.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Oblique"
#>
#> $variant
#> [1] "sans"
#>
#> $style
#> [1] "oblique"
#>
#> $weight
#> [1] 80
#>
#> $family
#> [1] "sans"
#>
#> $face
#> [1] "italic"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> $Bold
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraBd.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraBd.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Bold"
#>
#> $variant
#> [1] "sans"
#>
#> $style
#> [1] "bold"
#>
#> $weight
#> [1] 200
#>
#> $family
#> [1] "sans"
#>
#> $face
#> [1] "bold"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> $`Bold Oblique`
#> $ttf
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraBI.ttf"
#>
#> $woff
#> [1] "/data/user-homes/elizabethb/projects/prism-pkgdocs-build/installed-pkgs/priority-3/fontquiver_0.2.1_lib/fontBitstreamVera/fonts/bitstream-vera-fonts/VeraBI.woff"
#>
#> $fontset
#> [1] "Bitstream Vera"
#>
#> $name
#> [1] "Bitstream Vera Sans"
#>
#> $fullname
#> [1] "Bitstream Vera Sans Bold Oblique"
#>
#> $variant
#> [1] "sans"
#>
#> $style
#> [1] "bold-oblique"
#>
#> $weight
#> [1] 200
#>
#> $family
#> [1] "sans"
#>
#> $face
#> [1] "bolditalic"
#>
#> $package
#> [1] "fontBitstreamVera"
#>
#> $version
#> [1] "1.10"
#>
#> attr(,"class")
#> [1] "font"
#>
#> attr(,"class")
#> [1] "font_styles"