get_fonts: Install some Google handwriting-style fonts

Description Usage Details Value Examples

Description

Use this function once to install some hand-written style fonts (from Google Fonts https://www.google.com/fonts) into R.

Usage

1

Details

For this function to run successfully, computer must be connected to the internet. At the time of writing, caricRture uses showtext to handle the fonts. That package doesn't work well with the RStudio graphics device - better to use quartz or X11 to write to a floating window if using RStudio. Each font has a two-letter abbreviation, which can be used as a family parameter in par. The abbreviations and associated fonts are:

am

Amatic SC

dk

Dekko

gr

Covered By Your Grace

hl

Handlee

pm

Permanent Marker

rs

Rock Salt

ws

Waiting for the Sunrise

Value

Nothing is returned

Examples

1
get_fonts() # Thats basically it - once run,  fonts will be installed

chrisbrunsdon/caricRture documentation built on May 13, 2019, 6:52 p.m.