splice_fonts() Reduces its arguments to a flat list. It accepts indinstinctly font objects, lists of font objects (obtained with fonts()), or collections of fonts produced by font_variants() or font_families(). Duplicate fonts are removed from the result.

splice_fonts(...)

Arguments

...

Fonts or collections of fonts. See font_families() and font_variants() for creating collections of fonts. You can also supply lists of individual fonts as returned by fonts().

Examples

splice_fonts(font("Bitstream Vera", "Sans", "Oblique"), font_faces("Bitstream Vera", "mono"))
#> $`Bitstream Vera 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"
#> 
#> $`Bitstream Vera Sans Mono 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"
#> 
#> $`Bitstream Vera Sans Mono 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"
#> 
#> $`Bitstream Vera Sans Mono 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"
#> 
#> $`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"
#>