Skip to contents

This function is meant to setup for fonts used by theme_*() functions.

Usage

g6tr_get_fonts(
  use_brand = "g6tr",
  number_family = NULL,
  text_family = NULL,
  title_family = NULL
)

Arguments

use_brand

String. Sets up predefined font family values for particular brands. It can take value "g6tr" (Default), "populace" or "czi".

number_family

String. Font family name to be used for displaying numeric values on plots.

text_family

String. Font family name to be used for displaying text on plots.

title_family

String. Font family name to be used for displaying title of plot.

Value

List. Sets options: number_family, text_family and title_family.

Examples

if (FALSE) { # \dontrun{
# Set fonts matching populace theme
g6tr_get_fonts("populace")

# Set fonts matching g6tr theme, but text font from populace
g6tr_get_fonts("g6tr", text_family = "Raleway")
} # }