Register the IBM Plex Sans font files contained in the package with the OS font system. Wrapper around `systemfonts::register_font()` Useful in situations where you cannot install fonts into the system font location, e.g. on CI systems.

register_plexsans(family = "IBM Plex Sans", features = NULL, warn = TRUE)

Arguments

family

What you want the resulting font family to be called in the registry. Defaults to "IBM Plex Sans"

features

Unused for now

warn

Whether to warn when a font family of the same name already exists. Defaults to TRUE.

Value

TRUE if a font was successfully registered, FALSE otherwise. Called for side effects.

Examples

register_plexsans("ibmpsc")