Learn R Programming

cardargus (version 0.2.0)

get_font_css: Get Google Font CSS for embedding in SVG

Description

Get Google Font CSS for embedding in SVG

Usage

get_font_css(font_name = "Jost", weights = c(400, 500, 600, 700))

Value

Character string with CSS @font-face rules

Arguments

font_name

Name of the Google Font

weights

Vector of font weights to include

Examples

Run this code
get_font_css("Jost")

Run the code above in your browser using DataLab