google_fonts: Meta-information for the Google Fonts

Description Usage Arguments Author(s) Examples

View source: R/google_fonts.R

Description

This function provides information of Google Fonts that can be used in the font_install() function. It will try to include all font faces available for a specified family name.

Usage

1

Arguments

name

Name of the font that will be searched in Google Fonts.

...

Other parameters passed to curl::curl_fetch_memory().

Author(s)

Yixuan Qiu <https://statr.me/>

Examples

1
2
3
4
5
6
7
8
opensans = google_fonts("Open Sans")
print(opensans)

## Not run: 
## Install the Open Sans font to the showtexdb package
font_install(opensans)

## End(Not run)

yixuan/showtextdb documentation built on June 10, 2020, 11:37 a.m.