R: Manage SVG fonts

getSVGFonts {gridSVG} | R 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

[Package gridSVG version 1.6-0 Index]