Learn R Programming

ggiraph (version 0.9.6)

validated_fonts: List of validated default fonts

Description

Validates and possibly modifies the fonts to be used as default value in a graphic according to the fonts available on the machine. It processes elements named "sans", "serif", "mono" and "symbol".

Default font resolution is delegated to gdtools::font_set_liberation(), which uses Liberation fonts (bundled by 'fontquiver', SIL Open Font License) for reproducible offline output.

Usage

validated_fonts(fonts = list())

Value

a named list of validated font family names

Arguments

fonts

Named list of font names to be aliased with fonts installed on your system. If unspecified, the defaults from gdtools::font_set_liberation() are used.

See Also

girafe(), dsvg()

Other functions for font management: match_family()

Examples

Run this code
validated_fonts()

Run the code above in your browser using DataLab