getSVGFonts: Manage SVG fonts

Description Usage Arguments Details Value Author(s)

View source: R/devsvg.R

Description

These functions control the SVG font stacks that are used when exporting text to SVG.

Usage

1
2
getSVGFonts()
setSVGFonts(fontStacks)

Arguments

fontStacks

A list of font stacks (typically the modified result from getSVGFonts()).

Details

getSVGFonts() returns a list of three font stacks called serif, sans, and mono. The user can modify the values in each stack and then reset the stacks by calling setSVGFonts() (a default value will always be forced at the end of each font stack).

Value

A list (for getSVGFonts()).

Author(s)

Simon Potter


gridSVG documentation built on April 28, 2020, 9:05 a.m.