sp_load_font: Use showtext to load fonts

View source: R/utilities.R

sp_load_fontR Documentation

Use showtext to load fonts

Description

Use showtext to load fonts

Usage

sp_load_font(font_path)

Arguments

font_path

Specify font type. Give a path for one font type file like '/etc/fonts/Arial.ttf' or 'HeiArial.ttc'(if in current directory), Default system default.

Value

font_name or null

Examples


## Not run:
sp_load_font(font_path="arial.tff")

## End(Not run)


Tong-Chen/ImageGP documentation built on April 14, 2025, 12:54 p.m.