Register the bundled Inter font for live display and exports
Source:R/export.R
zhn_register_fonts.RdRegisters 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.
See also
Other figures:
zhn_km_pairwise(),
zhn_pal,
zhn_plot_cases_by_year(),
zhn_plot_diagnoses(),
zhn_plot_km(),
zhn_save_plot(),
zhn_theme()