font_families_google {sysfonts}R Documentation

List Font Families Available in Google Fonts

Description

The two versions of this function are equivalent, but the "underscore" naming is preferred.

This function lists family names of the fonts that are currently available in Google Fonts. When running this function for the first time, it may take a few seconds to fetch the font information database. This function requires the jsonlite and curl packages.

Usage

font_families_google()

font.families.google()

Value

A character vector of available font family names in Google Fonts.

Author(s)

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

See Also

font_add_google()

Examples

## Not run: 
font_families_google()

## End(Not run)


[Package sysfonts version 0.7.2 Index]