Learn R Programming

ggsketch (version 2.0.0)

ggsketch_check_fonts: Check for optional handwriting fonts

Description

Diagnoses whether a handwriting-style font is available on this device. The sketch look in ggsketch comes from geometry, not fonts, so this is purely cosmetic (ADR-0005).

Usage

ggsketch_check_fonts(fonts = sketch_font_candidates())

Value

Invisibly returns a logical vector (font available?); prints a formatted report.

Arguments

fonts

Character vector of font families to check. Defaults to the same candidate list geom_sketch_text() resolves against - preferred handwriting faces first, then fonts preinstalled on Windows / macOS.

See Also

Other sketch-theme: CoordSketch, CoordSketchPolar, element_sketch_line(), ggsketch_save(), register_sketch_font(), scale_pressure_continuous(), scale_roughness_continuous(), scale_sketch, scale_tone_continuous(), sketch_palette(), theme_sketch()