htmlFontDependency {fontquiver} | R Documentation |
Include font as CSS dependency
htmlFontDependency(...)
... |
Fonts or collections of fonts. See
|
# 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;
# }