Learn R Programming

gdtools (version 0.6.0)

sys_fonts: List fonts for 'systemfonts'.

Description

List system and registry fonts into a data.frame containing columns such as path, family, style, weight and italic.

Listing the system fonts is slow when many fonts are installed, so the list is read once per R session; fonts registered with 'systemfonts' (e.g. with register_liberationsans() or register_gfont()) are always included. Call sys_fonts_reset() after installing a font on the system during the session.

Usage

sys_fonts()

Arguments

Value

A data.frame of font information.

Examples

Run this code
sys_fonts()

Run the code above in your browser using DataLab