getSVGFonts: Manage SVG fonts

View source: R/devsvg.R

getSVGFontsR Documentation

Manage SVG fonts

Description

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

Usage

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 March 31, 2023, 3:09 p.m.

Related to getSVGFonts in gridSVG...