Skip to contents

Registers the OFL Inter weights shipped in inst/fonts/ with systemfonts so the same family = "Inter" renders in the live ragg Shiny device, in 600-dpi PNG exports (ragg::agg_png) and in vector PDF exports (grDevices::cairo_pdf). Safe to call repeatedly. If the fonts or systemfonts are unavailable it does nothing and figures fall back to the default device font (see zhn_theme()); it never errors.

Usage

zhn_register_fonts()

Value

Invisibly, TRUE if Inter was registered, otherwise FALSE.