Learn R Programming

gridSVG (version 1.5-0)

getSVGFonts: 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()).

Value

A list (for 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).