register_plexsans_condensed: Register IBM font with system

View source: R/fonts-ragg.R

register_plexsans_condensedR Documentation

Register IBM font with system

Description

Register the IBM Plex Sans Condensed 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.

Usage

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

Arguments

family

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

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_condensed("ibmps")

petrbouchal/ptrr documentation built on Oct. 10, 2024, 7:21 a.m.