htmlFontDependency {fontquiver}R Documentation

Include font as CSS dependency

Description

Include font as CSS dependency

Usage

htmlFontDependency(...)

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

# 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;
# }

[Package fontquiver version 0.2.1 Index]