File: htmlFontDependency.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 (27 lines) | stat: -rw-r--r-- 754 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
27
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/html-dependency.R
\name{htmlFontDependency}
\alias{htmlFontDependency}
\title{Include font as CSS dependency}
\usage{
htmlFontDependency(...)
}
\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{
Include font as CSS dependency
}
\examples{
# Create an htmlDependency object:
dep <- htmlFontDependency(font_families("Bitstream Vera"))

# Use the fonts in your dependent css or html files. For example:
# body {
#  font-family: 'Bitstream Vera Sans Mono', courier;
# }
}