htmlFontDependency: Include font as CSS dependency

Description Usage Arguments Examples

Description

Include font as CSS dependency

Usage

1

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

1
2
3
4
5
6
7
# 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;
# }

fontquiver documentation built on May 1, 2019, 9:52 p.m.