File: splice_fonts.Rd

package info (click to toggle)
r-cran-fontquiver 0.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,460 kB
  • sloc: sh: 13; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 884 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{splice_fonts}
\alias{splice_fonts}
\title{Splice fonts and font collections}
\usage{
splice_fonts(...)
}
\arguments{
\item{...}{Fonts or collections of fonts. See
\code{\link{font_families}()} and \code{\link{font_variants}()}
for creating collections of fonts. You can also supply lists of
individual fonts as returned by \code{\link{fonts}()}.}
}
\description{
\code{splice_fonts()} Reduces its arguments to a flat list. It
accepts indinstinctly \code{font} objects, lists of \code{font}
objects (obtained with \code{\link{fonts}()}), or collections of
fonts produced by \code{\link{font_variants}()} or
\code{\link{font_families}()}. Duplicate fonts are removed from the
result.
}
\examples{
splice_fonts(font("Bitstream Vera", "Sans", "Oblique"), font_faces("Bitstream Vera", "mono"))
}